protocol: add no_keymap format to keymap formats
authorRob Bradford <rob@linux.intel.com>
Mon, 24 Jun 2013 15:50:41 +0000 (16:50 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 28 Jun 2013 23:51:12 +0000 (19:51 -0400)
This format is used to specify that the key button events received are not in
relation to any key map and that the codes should be interpreted directly.

v2: Use zero for the no keymap enum value and enhance the documentation
for the enum entry.

protocol/wayland.xml

index 3d4ec9b..1442b6a 100644 (file)
        This specifies the format of the keymap provided to the
        client with the wl_keyboard.keymap event.
       </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"/>
     </enum>