Product SiteDocumentation Site

A.17.2.2. wl_keyboard::key_state - physical key state

Describes the physical state of a key which provoked the key event.
wl_keyboard::key_state values
released
Value: 0
key is not pressed
pressed
Value: 1
key is pressed