Add a generic libinput_event_get_device() function
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 17 Jan 2014 07:59:30 +0000 (17:59 +1000)
committerJonas Ådahl <jadahl@gmail.com>
Tue, 21 Jan 2014 21:50:58 +0000 (22:50 +0100)
commit60d46e6bd7b0802874b079bb37c7835490c3b1d7
treef6ba4cba1f2aa827bd25a59d923f048cb9a47a6d
parentc29a8e8093ab6ef4b3dc7f9e70841c355539eecc
Add a generic libinput_event_get_device() function

After dropping seat evens, all events are now are associated with a device, so
provide a generic accessor function and drop the custom ones.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/libinput.c
src/libinput.h
test/path.c
test/udev.c