When enabling EV_REP, set the delay/period values
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 29 Jul 2013 01:46:01 +0000 (11:46 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 30 Jul 2013 22:36:51 +0000 (08:36 +1000)
commit40493c3ff26ba25a999b4aa3a8672cf33b036c6f
tree99075937d9b0aef5f60e9c6e6785973cebcc37d2
parentfc7c3b73a4dc4c6e1334ab8a2687e9ac7a5e8e31
When enabling EV_REP, set the delay/period values

Just enabling EV_REP sets them to zero, but when enabling them directly,
a value is required.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
libevdev/libevdev.c
libevdev/libevdev.h
test/test-libevdev-has-event.c