API to query modifier set required to type a keysym
authorJaroslaw Kubik <jarek@froglogic.com>
Wed, 5 Feb 2020 16:42:06 +0000 (17:42 +0100)
committerRan Benita <ran234@gmail.com>
Fri, 20 Mar 2020 17:20:36 +0000 (19:20 +0200)
commitd92a248c48227d09f6fdcfafaf339a5ff586e042
treeebe2a8a30a6db5d6c4ebf10f786983515521eef3
parent0345aba082c83e9950f9dd8b7ea3bf91fe566a02
API to query modifier set required to type a keysym

The new API is useful to implement features like auto-type and
desktop automation. Since the inputs for these features is usually
specified in terms of the symbols that need to be typed, the
implementation needs to be able to invert the keycode->keysym
transformation and produce a sequence of keycodes that can be used
to type the requested character(s).
src/keymap.c
src/keymap.h
src/state.c
test/keymap.c
xkbcommon.map
xkbcommon/xkbcommon.h