Branch
Hash :
a4c08526
Author :
Date :
2023-07-04T09:23:24
Improved tests related to keysyms - Add a keymap test with decimal and hexadecimal keysyms. - Reorganize code in `test/keysym.c` by parsing type: name, Unicode and hexadecimal. - Add more tests for edge cases. In particular: - test decimal format (currently not supported); - test the Unicode and hexadecimal ranges more thoroughly; - test with wrong case without the XKB_KEYSYM_CASE_INSENSITIVE flag; - test surrounding spaces. - Document the tests.
default alphanumeric_keys
xkb_symbols "numeric keysyms" {
name[Group1]= "My Awesome Layout";
key <AD01> { [ 536870909 ] };
key <AD02> { [ 0x1ffffffe ] };
key <AD03> { [ 0x1fffffff, 0xffffffff ] };
modMap Mod1 { 536870909 };
modMap Mod2 { 0x1ffffffe };
modMap Mod3 { 0x1fffffff };
modMap Mod4 { 0xffffffff };
};