diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2014-04-21 19:11:27 +0200 |
---|---|---|
committer | Stephen Chandler Paul <thatslyude@gmail.com> | 2014-06-17 17:17:14 -0400 |
commit | 204d1d7514fa2620edfcaa191b58620b35a8965d (patch) | |
tree | bd85986178a9f168362904e83634a42a454e0091 /test/litest-int.h | |
parent | 6d0fceb225c0b0335feb2edb37556540904e0cbe (diff) | |
download | libinput-204d1d7514fa2620edfcaa191b58620b35a8965d.tar.gz |
test: Add infrastructure for testing tablet events.
no vfuncs are used, only input_event arrays.
Signed-off-by: Carlos Garnacho <carlosg@gnome.org>
Signed-off-by: Stephen Chandler Paul <thatslyude@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'test/litest-int.h')
-rw-r--r-- | test/litest-int.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/litest-int.h b/test/litest-int.h index 19e6e68d..e64f8b85 100644 --- a/test/litest-int.h +++ b/test/litest-int.h @@ -88,6 +88,14 @@ struct litest_device_interface { struct input_event *touch_move_events; struct input_event *touch_up_events; + /** + * Tablet events, LITEST_AUTO_ASSIGN is allowed on event values for + * ABS_X, ABS_Y, ABS_DISTANCE and ABS_PRESSURE. + */ + struct input_event *tablet_proximity_in_events; + struct input_event *tablet_proximity_out_events; + struct input_event *tablet_motion_events; + int min[2]; int max[2]; }; |