protocol: Document how clients are supposed to get the xkb keycode
authorRui Matos <tiagomatos@gmail.com>
Tue, 25 Mar 2014 15:35:39 +0000 (16:35 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 1 Apr 2014 23:47:04 +0000 (16:47 -0700)
This encodes what everyone is doing and avoids other implementers
having to guess.

protocol/wayland.xml

index 3aa89af..db1b349 100644 (file)
       </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">