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

axis_discrete
void function(void* data, wl_pointer* wl_pointer, uint axis, int discrete) axis_discrete;

axis click event

axis_source
void function(void* data, wl_pointer* wl_pointer, uint axis_source) axis_source;

axis source event

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

axis stop 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

frame
void function(void* data, wl_pointer* wl_pointer) frame;

end of a pointer event sequence

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