Reorder mouse processor ops

Group the mouse events callbacks before the touch event callback.
This commit is contained in:
Romain Vimont
2021-12-29 23:20:35 +01:00
parent 96e0e89740
commit 3c15cbdaf8
2 changed files with 26 additions and 26 deletions

View File

@@ -23,10 +23,6 @@ struct sc_mouse_processor_ops {
(*process_mouse_motion)(struct sc_mouse_processor *mp,
const struct sc_mouse_motion_event *event);
void
(*process_touch)(struct sc_mouse_processor *mp,
const struct sc_touch_event *event);
void
(*process_mouse_click)(struct sc_mouse_processor *mp,
const struct sc_mouse_click_event *event);
@@ -34,6 +30,10 @@ struct sc_mouse_processor_ops {
void
(*process_mouse_scroll)(struct sc_mouse_processor *mp,
const struct sc_mouse_scroll_event *event);
void
(*process_touch)(struct sc_mouse_processor *mp,
const struct sc_touch_event *event);
};
#endif