Product SiteDocumentation Site

A.17. wl_keyboard - keyboard input device

A.17.1. Events provided by wl_keyboard

A.17.1.1. wl_keyboard::keymap - keyboard mapping

This event provides a file descriptor to the client which can be memory-mapped to provide a keyboard mapping description.
wl_keyboard::keymap arguments
format
Type: uint
fd
Type: fd
size
Type: uint

A.17.1.2. wl_keyboard::enter

wl_keyboard::enter arguments
serial
Type: uint
surface
Type: object
keys
Type: array

A.17.1.3. wl_keyboard::leave

wl_keyboard::leave arguments
serial
Type: uint
surface
Type: object

A.17.1.4. wl_keyboard::key - key event

A key was pressed or released.
wl_keyboard::key arguments
serial
Type: uint
time
Type: uint
key
Type: uint
state
Type: uint

A.17.1.5. wl_keyboard::modifiers - modifier and group state

Notifies clients that the modifier and/or group state has changed, and it should update its local state.
wl_keyboard::modifiers arguments
serial
Type: uint
mods_depressed
Type: uint
mods_latched
Type: uint
mods_locked
Type: uint
group
Type: uint