test: print the string of the event type

Bit quicker to parse than the number

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test: print axis event information for debugging too

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test: fix two compiler warnings

device.c:596:2: warning: incompatible pointer to integer conversion
initializing 'intmax_t' (aka 'long') with an expression of type 'struct
libinput_device *' [-Wint-conversion]
        ck_assert_int_eq(libinput_event_get_device(event),

use ck_assert_ptr_eq() instead

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
touchpad: fix typos in error message

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
touchpad: print event type on state machine error

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