wl_keyboard_listener

keyboard input device

The wl_keyboard interface represents one or more keyboards associated with a seat.

Members

Variables

enter
void function(void* data, wl_keyboard* wl_keyboard, uint serial, wl_surface* surface, wl_array* keys) enter;

enter event

key
void function(void* data, wl_keyboard* wl_keyboard, uint serial, uint time, uint key, uint state) key;

key event

keymap
void function(void* data, wl_keyboard* wl_keyboard, uint format, int fd, uint size) keymap;

keyboard mapping

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

leave event

modifiers
void function(void* data, wl_keyboard* wl_keyboard, uint serial, uint mods_depressed, uint mods_latched, uint mods_locked, uint group) modifiers;

modifier and group state

repeat_info
void function(void* data, wl_keyboard* wl_keyboard, int rate, int delay) repeat_info;

repeat rate and delay

Meta