Support EV_REP values through libevdev_get_event_value
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 4 Dec 2013 10:21:09 +0000 (20:21 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Sun, 8 Dec 2013 23:49:15 +0000 (09:49 +1000)
commita2f842bb8a7b40f6858b977f5beb950dd6d6208d
treebd11917d57b213b60e4cab29a481fb5067fb0c62
parent0aae85122db5a65a05490322c5b8e5021a044fae
Support EV_REP values through libevdev_get_event_value

We shouldn't have a separate API for that, the whole point of libevdev is to
abstract the quirkyness of the ioctls into a common interface. So let's
export the two EV_REP values through libevdev_get_event_value.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
libevdev/libevdev.c
libevdev/libevdev.h
test/test-libevdev-events.c