mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-01 15:10:08 +01:00
udev: only change the fuzz on touchpads and touchscreens
If we don't handle a device, don't touch it. Especially joysticks that we
don't handle and thus should not touch either.
Related to !231
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 410b157e84)
This commit is contained in:
parent
7e70b0a1b4
commit
c68345f8b4
1 changed files with 3 additions and 1 deletions
|
|
@ -110,7 +110,9 @@ int main(int argc, char **argv)
|
|||
if (!device)
|
||||
goto out;
|
||||
|
||||
handle_absfuzz(device);
|
||||
if (udev_device_get_property_value(device, "ID_INPUT_TOUCHPAD") ||
|
||||
udev_device_get_property_value(device, "ID_INPUT_TOUCHSCREEN"))
|
||||
handle_absfuzz(device);
|
||||
|
||||
rc = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue