Commit 410b157e authored by Peter Hutterer's avatar Peter Hutterer

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's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent bf427762
Pipeline #41126 passed with stages
in 3 minutes and 24 seconds
......@@ -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;
......
Markdown is supported
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