test: don't set the abs value when initializing an uinput device
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 4 Jul 2013 23:00:24 +0000 (09:00 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 4 Jul 2013 23:11:34 +0000 (09:11 +1000)
commit53abcb64d5f4ef0d0a69d43d34eab8bcc7fab377
tree602133977336eb616c2589875d132d4f8253039f
parent7645b083f480a179c89cf7e3c6d603e60ad06d4c
test: don't set the abs value when initializing an uinput device

The helper function uses abs.value for the axis code (to save a parameter).
Reset that to 0 before we write to the device

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/test-common.c