Skip to content
Unverified Commit 1dfd2169 authored by Simon Ser's avatar Simon Ser
Browse files

protocol: disambiguate key codes in wl_keyboard.key



Explain that wl_keyboard.key yields platform-specific key codes.
Some compositors use Linux key codes (defined in the
linux/input-event-codes.h header file, e.g. KEY_ESC), however
clients should not assume that this is always the case. The only
reliable way for clients to interpret key codes is to feed them
into a keyboard mapping.

Signed-off-by: default avatarSimon Ser <contact@emersion.fr>
parent 57b7c7d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment