wlr-seat: implement cursor axis events

Axis events for the cursor are generated with the scroll wheel.
This commit is contained in:
Tony Crisci 2017-09-22 10:30:09 -04:00
parent 00cc20b0a8
commit e38248f34c
3 changed files with 27 additions and 4 deletions

View file

@ -109,4 +109,7 @@ void wlr_seat_pointer_send_motion(struct wlr_seat *wlr_seat, uint32_t time,
void wlr_seat_pointer_send_button(struct wlr_seat *wlr_seat, uint32_t time,
uint32_t button, uint32_t state);
void wlr_seat_pointer_send_axis(struct wlr_seat *wlr_seat, uint32_t time,
enum wlr_axis_orientation orientation, double value);
#endif