Product SiteDocumentation Site

A.16.3. Enums provided by wl_pointer

A.16.3.1. wl_pointer::button_state - physical button state

Describes the physical state of a button which provoked the button event.
wl_pointer::button_state values
released
Value: 0
button is not pressed
pressed
Value: 1
button is pressed