GNOME Bugzilla – Bug 732111
Left-handed orientation doesn't rotate tablet mouse
Last modified: 2014-07-02 13:45:36 UTC
When using the left-handed orientation, the mouse used on the tablet doesn't rotate 180 degrees as it should.
$ xinput list --long 18 Wacom Intuos4 6x9 cursor id=18 [slave pointer (2)] Reporting 8 classes: Class originated from: 18. Type: XIButtonClass Buttons supported: 9 Button labels: None None None None None None None None None Button state: Class originated from: 18. Type: XIKeyClass Keycodes supported: 248 Class originated from: 18. Type: XIValuatorClass Detail for Valuator 0: Label: Abs X Range: 0.000000 - 44704.000000 Resolution: 200000 units/m Mode: relative Class originated from: 18. Type: XIValuatorClass Detail for Valuator 1: Label: Abs Y Range: 0.000000 - 27940.000000 Resolution: 200000 units/m Mode: relative Class originated from: 18. Type: XIValuatorClass Detail for Valuator 2: Label: Abs Pressure Range: 0.000000 - 2048.000000 Resolution: 1 units/m Mode: relative Class originated from: 18. Type: XIValuatorClass Detail for Valuator 3: Label: Abs Rotary Z Range: -900.000000 - 899.000000 Resolution: 1 units/m Mode: relative Class originated from: 18. Type: XIValuatorClass Detail for Valuator 4: Label: Abs Throttle Range: -1023.000000 - 1023.000000 Resolution: 1 units/m Mode: relative Class originated from: 18. Type: XIValuatorClass Detail for Valuator 5: Label: None Range: 0.000000 - 1.000000 Resolution: 1 units/m Mode: relative
Created attachment 279117 [details] [review] common: Handle "cursor" tablet devices explicitly in GsdDeviceMapper Just set the GSD_INPUT_IS_CURSOR flag on those, so the mapper is aware if there are several of those around for mapping purposes.
Created attachment 279118 [details] [review] wacom: Make cursor devices managed by GsdDeviceMapper This allows for proper mapping and left/right handed modes on those too.
Review of attachment 279117 [details] [review]: Looks good.
Review of attachment 279118 [details] [review]: That works as well. Please commit to master and gnome-3-12.
Pushed to gnome-3-12 and master Attachment 279117 [details] pushed as 5a965d4 - common: Handle "cursor" tablet devices explicitly in GsdDeviceMapper Attachment 279118 [details] pushed as 7915f68 - wacom: Make cursor devices managed by GsdDeviceMapper