- axis
void function(void* data, wl_pointer* wl_pointer, uint time, uint axis, wl_fixed_t value) axis;
- button
void function(void* data, wl_pointer* wl_pointer, uint serial, uint time, uint button, uint state) button;
- enter
void function(void* data, wl_pointer* wl_pointer, uint serial, wl_surface* surface, wl_fixed_t surface_x, wl_fixed_t surface_y) enter;
- leave
void function(void* data, wl_pointer* wl_pointer, uint serial, wl_surface* surface) leave;
- motion
void function(void* data, wl_pointer* wl_pointer, uint time, wl_fixed_t surface_x, wl_fixed_t surface_y) motion;
pointer input device
The wl_pointer interface represents one or more input devices, such as mice, which control the pointer location and pointer_focus of a seat.
The wl_pointer interface generates motion, enter and leave events for the surfaces that the pointer is located over, and button and axis events for button presses, button releases and scrolling.