Edit

kc3-lang/libxkbcommon/test/data/keymaps/include-level3-explicit-default.xkb

Branch :

  • Show log

    Commit

  • Author : Pierre Le Marre
    Date : 2025-06-09 19:26:13
    Hash : 0f89ad97
    Message : dump: Always use numeric group indexes The upcoming raise of the maximum groups count will require to use numeric group indexes instead of the syntax `GroupN` if groups > 8. Let’s not bother with handling two cases (group count ≤ 8 or > 8) and always serialize group indexes as numeric values.

  • test/data/keymaps/include-level3-explicit-default.xkb
  • xkb_keymap {
    xkb_keycodes {
    	minimum = 8;
    	maximum = 255;
    	<LVL3>               = 92;
    	<RALT>               = 108;
    };
    
    xkb_types "basic" {
    	virtual_modifiers NumLock;
    
    	type "ONE_LEVEL" {
    		modifiers= none;
    		level_name[1]= "Any";
    	};
    	type "TWO_LEVEL" {
    		modifiers= Shift;
    		map[Shift]= 2;
    		level_name[1]= "Base";
    		level_name[2]= "Shift";
    	};
    	type "ALPHABETIC" {
    		modifiers= Shift+Lock;
    		map[Shift]= 2;
    		map[Lock]= 2;
    		level_name[1]= "Base";
    		level_name[2]= "Caps";
    	};
    };
    
    xkb_compatibility {
    	virtual_modifiers NumLock;
    
    	interpret.useModMapMods= AnyLevel;
    	interpret.repeat= False;
    	interpret VoidSymbol+AnyOfOrNone(none) {
    		repeat= True;
    	};
    };
    
    xkb_symbols "level3" {
    	key <LVL3>               {
    		type= "ONE_LEVEL",
    		symbols[1]= [ ISO_Level3_Shift ]
    	};
    	key <RALT>               {	[ ISO_Level3_Shift, ISO_Level3_Lock ] };
    	modifier_map Mod5 { <LVL3> };
    };
    
    };