summaryrefslogtreecommitdiff
path: root/types/numpad
diff options
context:
space:
mode:
Diffstat (limited to 'types/numpad')
-rw-r--r--types/numpad7
1 files changed, 3 insertions, 4 deletions
diff --git a/types/numpad b/types/numpad
index 8903b16..458a64f 100644
--- a/types/numpad
+++ b/types/numpad
@@ -1,6 +1,6 @@
default partial xkb_types "pc" {
type "KEYPAD" {
- modifiers = Shift+NumLock;
+ modifiers = Shift + NumLock;
map[None] = Level1;
map[NumLock] = Level2;
map[Shift+NumLock] = Level1;
@@ -22,7 +22,7 @@ partial xkb_types "mac" {
partial xkb_types "microsoft" {
type "KEYPAD" {
- modifiers = Shift+NumLock;
+ modifiers = Shift + NumLock;
map[None] = Level1;
preserve[Shift] = Shift;
map[NumLock] = Level2;
@@ -39,7 +39,7 @@ partial xkb_types "microsoft" {
// FOUR_LEVEL_MIXED_KEYPAD, so that's the one we are going to override.
partial xkb_types "shift3" {
type "FOUR_LEVEL_MIXED_KEYPAD" {
- modifiers = Shift+NumLock+Control+Alt;
+ modifiers = Shift + NumLock + Control + Alt;
// NumLock Off => navigate using cursor keys
map[None] = Level1;
@@ -57,7 +57,6 @@ partial xkb_types "shift3" {
// Ctrl + Alt, regardless of NumLock and Shift => command keys
map[Control+Alt] = Level4;
- // reverse map from levels to modifiers
level_name[Level1] = "Base";
level_name[Level2] = "NumLock";
level_name[Level3] = "Shift+NumLock";