protocol: disambiguate key codes in wl_keyboard.key
authorSimon Ser <contact@emersion.fr>
Mon, 3 Feb 2020 14:45:58 +0000 (15:45 +0100)
committerSimon Ser <contact@emersion.fr>
Tue, 16 Jun 2020 09:35:14 +0000 (11:35 +0200)
commit1dfd2169dad8c7a39506b52afbedd42b7a1d9dbe
treedac258b7de5f25e6c3627976522c9e31e8a7c1d8
parent57b7c7d9463f391a1cae6fa049b2f98a3de3d09e
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: Simon Ser <contact@emersion.fr>
protocol/wayland.xml