Edit

kc3-lang/libxkbcommon/test/data/compat/basic

Branch :

  • Show log

    Commit

  • Author : Ran Benita
    Date : 2014-10-16 17:48:00
    Hash : c6ee6371
    Message : test/data: sync to xkeyboard-config 2.13 (Run ./test/data/sync.sh). Signed-off-by: Ran Benita <ran234@gmail.com>

  • test/data/compat/basic
  • // Minimal set of symbol interpretations to provide
    // reasonable default behavior (Num lock, Shift lock,
    // Caps lock, and Mode switch) and set up the
    // automatic updating of common keyboard LEDs.
    
    default xkb_compatibility "basic" {
    
        virtual_modifiers  NumLock,AltGr;
    
        interpret.repeat= False;
        setMods.clearLocks= True;
        latchMods.clearLocks= True;
        latchMods.latchToLock= True;
    
        interpret Shift_Lock+AnyOf(Shift+Lock) {
    	action= LockMods(modifiers=Shift);
        };
    
        interpret Any+Lock {
    	action= LockMods(modifiers=Lock);
        };
    
        interpret Num_Lock+Any {
    	virtualModifier= NumLock;
    	action= LockMods(modifiers=NumLock);
        };
    
        interpret Mode_switch {
    	useModMapMods= level1;
    	virtualModifier= AltGr;
    	action= SetGroup(group=+1);
        };
    
        interpret Any + Any {
    	action= SetMods(modifiers=modMapMods);
        };
    
        group 2 = AltGr;
        group 3 = AltGr;
        group 4 = AltGr;
    
        include "ledcaps"
        include "lednum"
        indicator "Shift Lock" {
    	!allowExplicit;
    	whichModState= Locked;
    	modifiers= Shift;
        };
    };