libevdev/libevdev
Peter Hutterer df5ca55609 Don't bother sanitizing disabled event codes
Filter them immediately instead of passing them on and relying on the actual
event handling code to filter them.

Reproducer: if EV_ABS is disabled on an Apple MagicMouse we still get events
passed into sanitize_event(). But the code handling EV_ABS events doesn't
update the state, so we end up complaining about double tracking IDs, even
though that is not actually correct.

https://bugzilla.redhat.com/show_bug.cgi?id=1361325

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
2016-08-17 17:43:32 +10:00
..
.gitignore Review/update .gitignore files 2013-11-19 09:34:23 +10:00
libevdev-int.h cosmetic: fix a couple of duplicate/missing empty lines 2015-03-04 08:41:33 +10:00
libevdev-names.c Add libevdev_property_from_name() 2014-08-20 08:43:15 +10:00
libevdev-uinput-int.h cosmetic: fix a couple of duplicate/missing empty lines 2015-03-04 08:41:33 +10:00
libevdev-uinput.c uinput: support the new UI_DEV_SETUP/UI_ABS_SETUP ioctls 2016-04-07 11:06:19 +10:00
libevdev-uinput.h doc: add the prefixing * to all @code doxygen sections 2014-11-18 09:05:16 +10:00
libevdev-util.h cosmetic: fix a couple of duplicate/missing empty lines 2015-03-04 08:41:33 +10:00
libevdev.c Don't bother sanitizing disabled event codes 2016-08-17 17:43:32 +10:00
libevdev.h Fix typo in doc string 2016-04-20 11:31:38 +10:00
libevdev.sym Add libevdev_property_from_name() 2014-08-20 08:43:15 +10:00
make-event-names.py Add parsing linux/input-event-codes.h, update to kernel v4.5 2016-03-30 15:45:58 +10:00
Makefile.am libevdev: Properly distribute uinput.h 2016-05-16 08:12:05 +10:00