wl_pointer_listener

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.

Members

Variables

axis
void function(void* data, wl_pointer* wl_pointer, uint time, uint axis, wl_fixed_t value) axis;

axis event

button
void function(void* data, wl_pointer* wl_pointer, uint serial, uint time, uint button, uint state) button;

pointer button event

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;

enter event

leave
void function(void* data, wl_pointer* wl_pointer, uint serial, wl_surface* surface) leave;

leave event

motion
void function(void* data, wl_pointer* wl_pointer, uint time, wl_fixed_t surface_x, wl_fixed_t surface_y) motion;

pointer motion event

Meta