Skip to content
Commit a5c3c619 authored by Peter Hutterer's avatar Peter Hutterer Committed by Jens Granseuer
Browse files

mouse: skip button mappings only for core devices.



Since X server 1.4, devices are unlikely to be marked as IsXExtensionDevice.
More common is IsXExtensionKeyboard or IsXExtensionPointer. However, with
many pointer devices also having keys (e.g. most wireless combos) a check
for IsXExtensionPointer is unreliable.

In gsd-mouse-manager, skip the XInput button mapping only if the device is a
core device. Otherwise, test for buttons.

Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 36f4e7fd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment