Peter Hutterer <[email protected]> writes:

> 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 <[email protected]>

Reviewed-by: Keith Packard <[email protected]>

(who was surprised that "if (mapping == i) i++;" already existed in the
code for no good reason until now).

-- 
-keith

Attachment: signature.asc
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to