Commit graph

9 commits

Author SHA1 Message Date
Peter Hutterer
76a03e5326 test: add uinput prop bits and the test for it
Turns out I was looking at an old header file, UI_SET_PROPBIT
has existed for quite a while.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-07-11 09:09:14 +10:00
Peter Hutterer
a05b1880e1 test: write resolution for uinput devices after creating the device
EVIOCSABS allows us to set the device's abs axes to the desired resolution.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-07-05 09:11:31 +10:00
Peter Hutterer
15df738068 test: copy absinfo over to the uinput_user_dev before creation
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-07-01 09:31:38 +10:00
Peter Hutterer
0954af8ec8 test: rename two loop variables to be more meaningful
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-07-01 09:26:29 +10:00
Peter Hutterer
ad656b1dc9 test: move a block out of the inner loop
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-07-01 09:25:19 +10:00
Peter Hutterer
f9532700bc test: provide uinput convenience function for varargs
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-06-29 18:10:21 +10:00
Peter Hutterer
6374dcf532 test: fix valgrind complaint about uninitialized bytes
uinput ignores the timestamp, but add it anyway to stop valgrind
worrying about it.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-06-28 13:13:15 +10:00
Peter Hutterer
27991828a6 test: don't check for a max on EV_SYN events
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-06-27 11:02:39 +10:00
Peter Hutterer
645d5d3a64 test: add infrastructure for uinput device tests
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-06-26 17:47:24 +10:00