summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRui Matos <tiagomatos@gmail.com>2014-03-25 16:35:39 +0100
committerKristian Høgsberg <krh@bitplanet.net>2014-04-01 16:47:04 -0700
commit2142c03a8bb1e9c380e1e28d657fe850302386a7 (patch)
tree6ab876be052066fcc9569c26427aec1a687ca0bb
parent256324773f9d890f25da54e0dec1a08a405156d9 (diff)
protocol: Document how clients are supposed to get the xkb keycode
This encodes what everyone is doing and avoids other implementers having to guess.
-rw-r--r--protocol/wayland.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index 3aa89af..db1b349 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -1503,7 +1503,8 @@
</description>
<entry name="no_keymap" value="0"
summary="no keymap; client must understand how to interpret the raw keycode"/>
- <entry name="xkb_v1" value="1" summary="libxkbcommon compatible"/>
+ <entry name="xkb_v1" value="1"
+ summary="libxkbcommon compatible; to determine the xkb keycode, clients must add 8 to the key event keycode"/>
</enum>
<event name="keymap">