interactive-evdev: add option to print modmaps
authorPierre Le Marre <dev@wismill.eu>
Mon, 18 Sep 2023 10:17:11 +0000 (12:17 +0200)
committerWismill <dev@wismill.eu>
Mon, 18 Sep 2023 14:14:12 +0000 (16:14 +0200)
commit0e3e2d17302e99e68bdab3b5db0a1dcc835e5bee
tree1a7b8f3c380fe0b9437dbf39e06f414637bc071f
parentb5079dc96dbc899d1acfb38a9aeb999b31a223ca
interactive-evdev: add option to print modmaps

Add an option to print modmap and vmodmap of relevant keys, as well as
virtual modifiers mapping to real modifier. This is useful for debugging.
It uses private API, so we compile it separately in the fashion of
`xkbcli-compile-keymap/compile-keymap`.
meson.build
tools/interactive-evdev.c
tools/tools-common.c
tools/tools-common.h