Re: [PATCH libinput] evdev: check the first parent of the event node for ID_INPUT tags

2015-02-17 Thread Benjamin Tissoires
On Thu, Feb 12, 2015 at 8:51 PM, Peter Hutterer peter.hutte...@who-t.net wrote: Bluetooth tablet devices' rules can't tag the event node directly, they can only tag the first parent (the /sys/class/input/input1234 node). Check that parent for tags too, lest we miss something important.

[PATCH libinput] evdev: check the first parent of the event node for ID_INPUT tags

2015-02-12 Thread Peter Hutterer
Bluetooth tablet devices' rules can't tag the event node directly, they can only tag the first parent (the /sys/class/input/input1234 node). Check that parent for tags too, lest we miss something important. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/evdev.c | 19