mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
Add axis events to pointer example
This commit is contained in:
parent
8f284ec0b2
commit
7dfc2c28f1
3 changed files with 37 additions and 2 deletions
|
|
@ -51,6 +51,10 @@ struct compositor_state {
|
|||
double d_x, double d_y);
|
||||
void (*pointer_button_cb)(struct pointer_state *s,
|
||||
uint32_t button, enum wlr_button_state state);
|
||||
void (*pointer_axis_cb)(struct pointer_state *s,
|
||||
enum wlr_axis_source source,
|
||||
enum wlr_axis_orientation orientation,
|
||||
double delta);
|
||||
|
||||
struct wl_display *display;
|
||||
struct wl_event_loop *event_loop;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue