Edit

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

Branch :

  • Show log

    Commit

  • Author : Daniel Stone
    Date : 2012-07-12 14:42:31
    Hash : 62deaeb5
    Message : Import dataset into test/data/ Use a self-contained dataset instead of relying on a globally-installed set. Data taken from xkeyboard-config 2.5.1. Signed-off-by: Daniel Stone <daniel@fooishbar.org>

  • test/data/compat/level5
  • // Fairly complete set of symbol interpretations 
    // to provide reasonable default behavior
    
    default partial xkb_compatibility "default"  {
        virtual_modifiers LevelFive;
    
        interpret.repeat= False;
        setMods.clearLocks= True;
        latchMods.clearLocks= True;
        latchMods.latchToLock= True;
    
        interpret ISO_Level5_Shift+Any {
    	useModMapMods= level1;
    	virtualModifier= LevelFive;
    	action= SetMods(modifiers=LevelFive);
        };
    
        interpret ISO_Level5_Shift {
    	action= SetMods(modifiers=LevelFive);
        };
    
        interpret ISO_Level5_Latch+Any {
    	virtualModifier= LevelFive;
    	action= LatchMods(modifiers=LevelFive);
        };
    
        interpret ISO_Level5_Latch {
    	action= LatchMods(modifiers=LevelFive);
        };
    
        interpret ISO_Level5_Lock+Any {
    	virtualModifier= LevelFive;
    	action= LockMods(modifiers=LevelFive);
        };
    
        interpret ISO_Level5_Lock {
    	action= LockMods(modifiers=LevelFive);
        };
    };
    partial xkb_compatibility "level5_lock"  {
    	// This defines a Level5-Lock using the NumLock real modifier in order to
    	// create arbitrary level-behaviour, which would not be possible with the
    	// virtual modifier.
    	// See also: types/level5 : EIGHT_LEVEL_LEVEL_FIVE_LOCK
    	// See also: symbols/level5(lock)
        virtual_modifiers NumLock;
        
        interpret ISO_Level5_Lock {
            action = LockMods(modifiers = NumLock);
        };
    };