path: add libinput_path_create_context instead of libinput_create_from_path
[platform/upstream/libinput.git] / test / litest.h
index bace4b7..e3f599f 100644 (file)
@@ -39,6 +39,8 @@ enum litest_device_type {
        LITEST_BCM5974,
        LITEST_KEYBOARD,
        LITEST_TRACKPOINT,
+       LITEST_MOUSE,
+       LITEST_WACOM_TOUCH,
 };
 
 enum litest_device_feature {
@@ -49,12 +51,15 @@ enum litest_device_feature {
        LITEST_BUTTON = 1 << 2,
        LITEST_KEYS = 1 << 3,
        LITEST_POINTER = 1 << 4,
+       LITEST_WHEEL = 1 << 5,
+       LITEST_TOUCH = 1 << 6,
 };
 
 struct litest_device {
        struct libevdev *evdev;
        struct libevdev_uinput *uinput;
        struct libinput *libinput;
+       struct libinput_device *libinput_device;
        struct litest_device_interface *interface;
 };
 
@@ -90,5 +95,6 @@ void litest_touch_move_to(struct litest_device *d,
 void litest_button_click(struct litest_device *d,
                         unsigned int button,
                         bool is_press);
+void litest_drain_events(struct libinput *li);
 
 #endif /* LITEST_H */