LITEST_BCM5974,
LITEST_KEYBOARD,
LITEST_TRACKPOINT,
+ LITEST_MOUSE,
+ LITEST_WACOM_TOUCH,
};
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;
};
void litest_button_click(struct litest_device *d,
unsigned int button,
bool is_press);
+void litest_drain_events(struct libinput *li);
#endif /* LITEST_H */