xkb: indent..
This commit is contained in:
parent
59dcdbae8a
commit
398d09f286
1 changed files with 29 additions and 29 deletions
|
@ -6,55 +6,55 @@ xkb_symbols "basic" {
|
|||
name[Group1] = "English (US, nullified)";
|
||||
|
||||
// Sticky Alt and AltGr
|
||||
key <RALT> {
|
||||
type[Group1]= "ONE_LEVEL",
|
||||
symbols[Group1]= [ ISO_Level3_Shift ],
|
||||
actions[Group1]= [ LatchMods(modifiers=AltGr) ]
|
||||
};
|
||||
key <LALT> {
|
||||
type[Group1]= "ONE_LEVEL",
|
||||
symbols[Group1]= [ Alt_L ],
|
||||
actions[Group1]= [ LatchMods(modifiers=Mod1) ]
|
||||
};
|
||||
|
||||
// Shift keys
|
||||
// Both are sticky, when any of them are pressed twice, they act as Shift Lock.
|
||||
// TODO: make it lock on Caps Lock instead of Shift (for e.x. typing numbers angrily "YOU OWE ME 10 BUCKS!")
|
||||
key <LFSH> {
|
||||
type[Group1] = "ONE_LEVEL",
|
||||
symbols[Group1] = [ Shift_L ],
|
||||
actions[Group1] = [ LatchMods(modifiers=Shift,latchToLock,clearLocks) ]
|
||||
// This doesn't work correctly
|
||||
//actions[Group1] = [ LatchMods(modifiers=Shift), LockMods(modifiers = Lock) ]
|
||||
key <RALT> {
|
||||
type[Group1]= "ONE_LEVEL",
|
||||
symbols[Group1]= [ ISO_Level3_Shift ],
|
||||
actions[Group1]= [ LatchMods(modifiers=AltGr) ]
|
||||
};
|
||||
key <RTSH> {
|
||||
type[Group1] = "ONE_LEVEL",
|
||||
symbols[Group1] = [ Shift_R ],
|
||||
actions[Group1] = [ LatchMods(modifiers=Shift,latchToLock,clearLocks) ]
|
||||
key <LALT> {
|
||||
type[Group1]= "ONE_LEVEL",
|
||||
symbols[Group1]= [ Alt_L ],
|
||||
actions[Group1]= [ LatchMods(modifiers=Mod1) ]
|
||||
};
|
||||
|
||||
// Shift keys
|
||||
// Both are sticky, when any of them are pressed twice, they act as Shift Lock.
|
||||
// TODO: make it lock on Caps Lock instead of Shift (for e.x. typing numbers angrily "YOU OWE ME 10 BUCKS!")
|
||||
key <LFSH> {
|
||||
type[Group1] = "ONE_LEVEL",
|
||||
symbols[Group1] = [ Shift_L ],
|
||||
actions[Group1] = [ LatchMods(modifiers=Shift,latchToLock,clearLocks) ]
|
||||
// This doesn't work correctly
|
||||
//actions[Group1] = [ LatchMods(modifiers=Shift), LockMods(modifiers = Lock) ]
|
||||
//actions[Group1] = [ LatchMods(modifiers=Shift), LockMods(modifiers = Lock) ]
|
||||
};
|
||||
key <RTSH> {
|
||||
type[Group1] = "ONE_LEVEL",
|
||||
symbols[Group1] = [ Shift_R ],
|
||||
actions[Group1] = [ LatchMods(modifiers=Shift,latchToLock,clearLocks) ]
|
||||
// This doesn't work correctly
|
||||
//actions[Group1] = [ LatchMods(modifiers=Shift), LockMods(modifiers = Lock) ]
|
||||
|
||||
};
|
||||
|
||||
// Sticky Ctrls
|
||||
key <LCTL> {
|
||||
key <LCTL> {
|
||||
type[Group1]="ONE_LEVEL",
|
||||
symbols[Group1]=[ Control_L ],
|
||||
actions[Group1]=[LatchMods(modifiers=Control)]
|
||||
};
|
||||
key <RCTL> {
|
||||
key <RCTL> {
|
||||
type[Group1]="ONE_LEVEL",
|
||||
symbols[Group1]=[ Control_R ],
|
||||
actions[Group1]=[LatchMods(modifiers=Control)]
|
||||
};
|
||||
|
||||
// Sticky Wins
|
||||
key <LWIN> {
|
||||
key <LWIN> {
|
||||
type[Group1]="ONE_LEVEL",
|
||||
symbols[Group1]=[ Super_L ],
|
||||
actions[Group1]=[LatchMods(modifiers=Mod4)]
|
||||
};
|
||||
key <RWIN> {
|
||||
key <RWIN> {
|
||||
type[Group1]="ONE_LEVEL",
|
||||
symbols[Group1]=[ Super_R ],
|
||||
actions[Group1]=[LatchMods(modifiers=Mod4)]
|
||||
|
|
Loading…
Reference in a new issue