Add XKB_KEYSYM_MIN and XKB_KEYSYM_MAX
authorPierre Le Marre <dev@wismill.eu>
Tue, 4 Jul 2023 07:23:23 +0000 (09:23 +0200)
committerWismill <dev@wismill.eu>
Fri, 14 Jul 2023 07:22:24 +0000 (09:22 +0200)
commite811743ff2f28085be74a28b57dfe684a320936e
treec32715751137b2a64e1020ccf44b1d76fd04ea56
parent0d01a933bba047c7e4a3312fd2c8c6accc563823
Add XKB_KEYSYM_MIN and XKB_KEYSYM_MAX

Keysyms are 32-bit integers with the 3 most significant bits always set
to zero. See: Appendix A “KEYSYM Encoding” of the X Window System
Protocol at https://www.x.org/releases/current/doc/xproto/x11protocol.html#keysym_encoding.

Add a new constants XKB_KEYSYM_MIN and XKB_KEYSYM_MAX to make the
interval of valid keysyms more obvious in the code.
include/xkbcommon/xkbcommon.h
src/keysym.c
src/keysym.h