• Show log

    Commit

  • Hash : 5bd273a7
    Author : Ran Benita
    Date : 2012-11-27T10:42:15

    vmod: bring back support for direct vmod -> real mod mapping
    
    This brings back the functionality that was removed in
    b9c87eb710ba4a86455601ca8c5a516b25e20366. Though it is not used in
    xkeyboard-config, from our current perspective it can be quite useful to
    be able to set the mappings directly, thus sidestepping the ugly and
    legacy-ridden modifier_map statement.
    
    Here's an example of how to get rid of modifier_map statements (though
    that would break core-X11 applications, since they must have the
    mappings through keysyms):
        virtual_modifiers NumLock = Mod2;
        virtual_modifiers Alt = Mod1;
        // Would be nice to map these to Alt, but that would be
        // incompatible with xkbcomp and somewhat complicated
        virtual_modifiers LAlt = Mod1;
        virtual_modifiers RAlt = Mod1;
        virtual_modifiers LevelThree = Mod5;
        virtual_modifiers RControl = Control;
        virtual_modifiers LControl = Control;
        virtual_modifiers Super = Mod4;
        virtual_modifiers Meta = Mod1;
        virtual_modifiers Hyper = Mod4;
        virtual_modifiers AltGr = Mod5;
        virtual_modifiers LShift = Shift;
        virtual_modifiers RShift = Shift;
    
    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

    keymap handling library for toolkits and window systems

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg_l thodg
    Tags