• Show log

    Commit

  • Hash : b973d71e
    Author : Ran Benita
    Date : 2014-03-21T23:00:17

    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>
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/libxkbcommon.git
    Git SSH git@git.kmx.io:kc3-lang/libxkbcommon.git
    Public access ? public
    Description
    Users
    thodg_w kc3_lang_org thodg_l thodg_m www_kmx_io thodg
    Tags