input: add relative cursor move emulation

This commit is contained in:
Jens Peters 2024-07-03 21:14:43 +02:00 committed by Johan Malm
parent c9018da4c4
commit ba9de228e0
2 changed files with 21 additions and 11 deletions

View file

@ -146,6 +146,9 @@ bool cursor_finish_button_release(struct seat *seat);
void cursor_init(struct seat *seat);
void cursor_reload(struct seat *seat);
void cursor_emulate_move(struct seat *seat,
struct wlr_input_device *device,
double dx, double dy, uint32_t time_msec);
void cursor_emulate_move_absolute(struct seat *seat,
struct wlr_input_device *device,
double x, double y, uint32_t time_msec);