Lines Matching defs:litest_device_interface
86 struct litest_device_interface { struct
87 bool (*touch_down)(struct litest_device *d, unsigned int slot, double x, double y);
88 bool (*touch_move)(struct litest_device *d, unsigned int slot, double x, double y);
89 bool (*touch_up)(struct litest_device *d, unsigned int slot);
95 int (*get_axis_default)(struct litest_device *d, unsigned int code, int32_t *value);
105 struct input_event *touch_down_events;
106 struct input_event *touch_move_events;
107 struct input_event *touch_up_events;
113 struct input_event *tablet_proximity_in_events;
114 struct input_event *tablet_proximity_out_events;
115 struct input_event *tablet_motion_events;
117 bool (*tablet_proximity_in)(struct litest_device *d,
121 bool (*tablet_proximity_out)(struct litest_device *d, unsigned int tool_type);
122 bool (*tablet_tip_down)(struct litest_device *d,
125 bool (*tablet_tip_up)(struct litest_device *d,
128 bool (*tablet_motion)(struct litest_device *d,
136 struct input_event *pad_ring_start_events;
137 struct input_event *pad_ring_change_events;
138 struct input_event *pad_ring_end_events;
144 struct input_event *pad_strip_start_events;
145 struct input_event *pad_strip_change_events;
146 struct input_event *pad_strip_end_events;
148 int min[2]; /* x/y axis minimum */
149 int max[2]; /* x/y axis maximum */
151 unsigned int tool_type;