summaryrefslogtreecommitdiff
path: root/src/ks_tables.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2021-02-17 09:06:57 +1000
committerRan Benita <ran@unusedvar.com>2021-02-22 13:43:16 +0200
commit3852106a8ea328de35a692ac9cbecfca5b1b867e (patch)
treed0dd2bce18e6cc0b016c954326f5b3befdbb33f0 /src/ks_tables.h
parent5c1f4f0da08be3c446a5c2a3525f575c9a4849db (diff)
downloadxorg-lib-libxkbcommon-3852106a8ea328de35a692ac9cbecfca5b1b867e.tar.gz
scripts: update makeheader script for the _EVDEVK keysym defines
As of xorgproto commit 5dbb5b76597f [1], the 0x10081XXX keycode range is defined for direct evdev kernel keycode mapping. For example, KEY_MACRO1 (0x290) is mapped to 0x10081290. The format of the #define lines for these keys is stable to allow for parsing: #define XF86XK_FooBar _EVDEVK(0x123) /* optional comment */ Update our script so we detect these new lines. Our keysym generation is a two-step process: makeheader and then makekeys. Replacing the key with its full value in the makeheader script means we don't have to update makekeys to handle the _EVDEVK macro and our header file is fully resolved. [1] https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/23 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/ks_tables.h')
0 files changed, 0 insertions, 0 deletions