libxkbcommon/xkbcommon
Ran Benita b973d71e82 state: add xkb_state_key_get_{utf8,utf32}() API functions
These functions generally have the same effect as
xkb_state_key_get_syms() + xkb_keysym_to_utf{8,32}().

So why add them?

- They provide a slightly nicer interface, especially if the string is
  the only interest.

- It makes the handling of multiple-keysyms-to-utf8 transparent. For the
  designated use-case of multiple-keysyms (unicode combining
  characters), this is a must. We also validate the UTF-8, which the
  user might not otherwise do.

- We will need to apply some transformation on the resulting string
  which depend on the xkb_state. This is not possible with the
  xkb_keysym_* functions.

With these functions, the existing xkb_keysym_to_utf{8,32}() are not
expected to be used by a typical user; they are "raw" functions.

Signed-off-by: Ran Benita <ran234@gmail.com>
2014-03-22 17:17:16 +02:00
..
xkbcommon-compat.h api: deprecate XKB_MAP_COMPILE_PLACEHOLDER, and use KEYMAP instead of MAP 2014-02-08 16:40:20 +02:00
xkbcommon-keysyms.h keysyms: add German T3 layout keysyms from xproto 2014-01-01 10:40:09 +02:00
xkbcommon-names.h Add a constant for NumLock 2014-01-11 17:29:02 +02:00
xkbcommon-x11.h x11: add missing #ifdef __cplusplus to header 2014-02-04 22:18:12 +02:00
xkbcommon.h state: add xkb_state_key_get_{utf8,utf32}() API functions 2014-03-22 17:17:16 +02:00