libxkbcommon/xkbcommon
Mike Blumenkrantz 0ce17ef3ea keymap: add xkb_keymap_key_by_name(), xkb_keymap_key_get_name(), tests
xkb_keymap_key_by_name() allows finding a keycode from a given keyname and
is useful for generating keyboard events to use in regression tests
during CI

xkb_keymap_key_get_name() is the inverse of xkb_keymap_key_by_name()

Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
[ran: some stylistic tweaks + another test case]
Signed-off-by: Ran Benita <ran234@gmail.com>
2016-01-20 23:17:10 +02:00
..
xkbcommon-compat.h api: deprecate XKB_MAP_COMPILE_PLACEHOLDER, and use KEYMAP instead of MAP 2014-02-08 16:40:20 +02:00
xkbcommon-compose.h doc: some editorial changes to compose documentation 2015-02-19 17:03:06 +02:00
xkbcommon-keysyms.h keysyms: add German T3 layout keysyms from xproto 2014-01-01 10:40:09 +02:00
xkbcommon-names.h Add a constant for NumLock 2014-01-11 17:29:02 +02:00
xkbcommon-x11.h x11, doc: add note about Key{Press,Release}->state field 2014-09-22 11:54:04 +03:00
xkbcommon.h keymap: add xkb_keymap_key_by_name(), xkb_keymap_key_get_name(), tests 2016-01-20 23:17:10 +02:00