mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-28 12:30:01 +02:00
xkb: tentative to add a keypad
Unfortunately, rctl is not handy for this...
This commit is contained in:
parent
be34776ee6
commit
15b38f7efc
2 changed files with 23 additions and 0 deletions
|
@ -15,3 +15,25 @@ xkb_symbols "x1gen2" {
|
||||||
key <TLDE> { [ Insert, Insert ] };
|
key <TLDE> { [ Insert, Insert ] };
|
||||||
key <ESC> { [ grave, asciitilde, dead_grave, dead_tilde ] };
|
key <ESC> { [ grave, asciitilde, dead_grave, dead_tilde ] };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
partial modifier_keys alphanumeric_keys
|
||||||
|
xkb_symbols "keypad" {
|
||||||
|
key <AD07> { [ NoSymbol, NoSymbol, 7 ] };
|
||||||
|
key <AD08> { [ NoSymbol, NoSymbol, 8 ] };
|
||||||
|
key <AD09> { [ NoSymbol, NoSymbol, 9 ] };
|
||||||
|
|
||||||
|
key <AC07> { [ NoSymbol, NoSymbol, 4 ] };
|
||||||
|
key <AC08> { [ NoSymbol, NoSymbol, 5 ] };
|
||||||
|
key <AC09> { [ NoSymbol, NoSymbol, 6 ] };
|
||||||
|
key <AC10> { [ NoSymbol, NoSymbol, 0 ] };
|
||||||
|
|
||||||
|
key <AB07> { [ NoSymbol, NoSymbol, 1 ] };
|
||||||
|
key <AB08> { [ NoSymbol, NoSymbol, 2 ] };
|
||||||
|
key <AB09> { [ NoSymbol, NoSymbol, 3 ] };
|
||||||
|
|
||||||
|
key <RCTL> {
|
||||||
|
type[Group1]="ONE_LEVEL",
|
||||||
|
symbols[Group1] = [ ISO_Level3_Shift ]
|
||||||
|
};
|
||||||
|
include "level3(modifier_mapping)"
|
||||||
|
};
|
||||||
|
|
|
@ -16,6 +16,7 @@ xkb_keymap {
|
||||||
xkb_compat { include "complete" };
|
xkb_compat { include "complete" };
|
||||||
xkb_symbols { include "pc+us+inet(evdev)"
|
xkb_symbols { include "pc+us+inet(evdev)"
|
||||||
include "compose(ralt)+ctrl(nocaps)"
|
include "compose(ralt)+ctrl(nocaps)"
|
||||||
|
include "vbe(keypad)"
|
||||||
include "vbe(x1gen2)" };
|
include "vbe(x1gen2)" };
|
||||||
xkb_geometry { include "pc(pc105)" };
|
xkb_geometry { include "pc(pc105)" };
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue