libxkbcommon/test
Ran Benita 92e07726b2 test: add keycodes files which map directly to evdev codes
This is a proof-of-concept for the long key names. The keycodes in the
file evdev-xkbcommon are autogenerated from linux/input.h, and uses the
names given there; all of the previous names are aliased to the new
names, so they continue to work with the symbols files, etc.

You can try it with 'sudo ./test/interactive -r evdev-xkbcommon -n 0'
The -n 0 means that we don't offset the evdev scan codes - just feed
them directly. The -r evdev-xkbcommon just means to use a new rules file
which makes us use the new keycodes file. (The only problem I can see is
with the MENU and LSGT names which has some conflicts).

Maybe some day xkeyboard-config could ship something similar, so that
the 8 offset is unneeded.

Signed-off-by: Ran Benita <ran234@gmail.com>
2012-09-27 21:41:54 +02:00
..
data test: add keycodes files which map directly to evdev codes 2012-09-27 21:41:54 +02:00
.gitignore test: add print-compiled-keymap tool 2012-09-19 16:56:26 +03:00
common.c Don't use xkbcommon-compat names in internal code 2012-09-24 09:08:53 +10:00
context.c Organize src/ and test/ headers 2012-09-16 15:20:18 +03:00
filecomp.c Don't use xkbcommon-compat names in internal code 2012-09-24 09:08:53 +10:00
interactive.c test/interactive: allow to set evdev offset 2012-09-27 21:12:08 +02:00
keyseq.c state: correctly wrap state->locked_group and ->group 2012-09-24 09:08:53 +10:00
keysym.c Organize src/ and test/ headers 2012-09-16 15:20:18 +03:00
log.c API: add _context prefix to log-related functions 2012-09-24 09:08:54 +10:00
print-compiled-keymap.c Add format argument to xkb_keymap_get_as_string 2012-09-24 09:13:32 +10:00
rmlvo-to-kccgst.c Organize src/ and test/ headers 2012-09-16 15:20:18 +03:00
rules-file.c API: add _context prefix to log-related functions 2012-09-24 09:08:54 +10:00
rulescomp.c API: add _context prefix to log-related functions 2012-09-24 09:08:54 +10:00
state.c Add xkb_state_key_get_one_sym 2012-09-27 23:27:49 +10:00
stringcomp.c Add format argument to xkb_keymap_get_as_string 2012-09-24 09:13:32 +10:00
test.h Don't use xkbcommon-compat names in internal code 2012-09-24 09:08:53 +10:00