evdev: check the first parent of the event node for ID_INPUT tags
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.hutterer@who-t.net> Tested-by:
Benjamin Tissoires <benjamin.tissoires@gmail.com>