Borrar xkb
This commit is contained in:
parent
e848b20a72
commit
aabbc971b5
1 changed files with 0 additions and 63 deletions
|
@ -1,63 +0,0 @@
|
|||
// /usr/share/X11/xkb/symbols/us
|
||||
// Thanks to https://unix.stackexchange.com/questions/591754/make-specific-key-sticky
|
||||
default partial alphanumeric_keys
|
||||
xkb_symbols "basic" {
|
||||
include "us(altgr-intl)"
|
||||
|
||||
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 <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> {
|
||||
type[Group1]="ONE_LEVEL",
|
||||
symbols[Group1]=[ Control_L ],
|
||||
actions[Group1]=[LatchMods(modifiers=Control)]
|
||||
};
|
||||
key <RCTL> {
|
||||
type[Group1]="ONE_LEVEL",
|
||||
symbols[Group1]=[ Control_R ],
|
||||
actions[Group1]=[LatchMods(modifiers=Control)]
|
||||
};
|
||||
|
||||
// Sticky Wins
|
||||
key <LWIN> {
|
||||
type[Group1]="ONE_LEVEL",
|
||||
symbols[Group1]=[ Super_L ],
|
||||
actions[Group1]=[LatchMods(modifiers=Mod4)]
|
||||
};
|
||||
key <RWIN> {
|
||||
type[Group1]="ONE_LEVEL",
|
||||
symbols[Group1]=[ Super_R ],
|
||||
actions[Group1]=[LatchMods(modifiers=Mod4)]
|
||||
};
|
||||
};
|
Loading…
Reference in a new issue