res: match on xorg device path

If other devices than evdev input devices are matched, we should ignore
these. So match on /dev/input/event* additionally to product names.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>