diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2015-11-10 14:35:51 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2015-11-13 06:50:28 +1000 |
commit | d7e61a7074b802b49f57549530b289bbaa0a4855 (patch) | |
tree | 74f8257e07ac346d160cb7edca4aca4f650d3336 /include | |
parent | 01e7ac48546d4534fa420ea1873214e738ea125d (diff) |
Only map x and y to axes 0 and 1
The Logitech G600 has one device with all axes north of ABS_MISC. The current
code assigns ABS_MISC as first axis to map to axis 0, i.e. x. On button press,
one node sends the BTN_LEFT but the other node sends an ABS_MISC with a 1 0
value. ABS_MISC is mapped to axis 0, this moves the pointer to (0, y) on
every button click.
Avoid this by simply mapping any axis other than x/y to at least axis 3, and
make sure we only override the MT 0/1 axes when we actually have MT axes.
https://bugs.freedesktop.org/show_bug.cgi?id=92856
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions