summaryrefslogtreecommitdiff
path: root/types/pc
diff options
context:
space:
mode:
Diffstat (limited to 'types/pc')
-rw-r--r--types/pc56
1 files changed, 27 insertions, 29 deletions
diff --git a/types/pc b/types/pc
index d0b6ea6..a97deae 100644
--- a/types/pc
+++ b/types/pc
@@ -4,15 +4,14 @@ default partial xkb_types "default" {
// for a full implementation of
// a PC-compatible keyboard.
- virtual_modifiers Alt;
- virtual_modifiers LevelThree;
+ virtual_modifiers Alt, LevelThree;
type "PC_SUPER_LEVEL2" {
- modifiers = Mod4;
- map[None] = Level1;
- map[Mod4] = Level2;
- level_name[Level1] = "Base";
- level_name[Level2] = "Super";
+ modifiers = Mod4;
+ map[None] = Level1;
+ map[Mod4] = Level2;
+ level_name[Level1] = "Base";
+ level_name[Level2] = "Super";
};
type "PC_CONTROL_LEVEL2" {
@@ -32,29 +31,29 @@ default partial xkb_types "default" {
};
type "CTRL+ALT" {
- modifiers = Shift + LevelThree + Control + Alt;
- map[None] = Level1;
- map[Shift] = Level2;
- map[LevelThree] = Level3;
- map[Shift+LevelThree] = Level4;
- map[Control+Alt] = Level5;
- preserve[Shift] = Shift;
- preserve[Shift+LevelThree] = Shift;
- level_name[Level1] = "Base";
- level_name[Level2] = "Shift";
- level_name[Level3] = "Alt Base";
- level_name[Level4] = "Shift Alt";
- level_name[Level5] = "Ctrl+Alt";
+ modifiers = Shift + LevelThree + Control + Alt;
+ map[None] = Level1;
+ map[Shift] = Level2;
+ map[LevelThree] = Level3;
+ map[Shift+LevelThree] = Level4;
+ map[Control+Alt] = Level5;
+ preserve[Shift] = Shift;
+ preserve[Shift+LevelThree] = Shift;
+ level_name[Level1] = "Base";
+ level_name[Level2] = "Shift";
+ level_name[Level3] = "Alt Base";
+ level_name[Level4] = "Shift Alt";
+ level_name[Level5] = "Ctrl+Alt";
};
- // Local eight level.
- // Needed when you want part of your layout eight-level but cannot use
- // LevelFive as modifier, as this will take over the right Ctrl by default
- // for the whole layout and is too invasive for the average four-level user.
- // Needed to fix bug #9529.
- // FIXME: Should really use RControl but it seems not to be enabled by
- // default and touching this requires a lot of testing.
- type "LOCAL_EIGHT_LEVEL" {
+ // Local eight level.
+ // Needed when you want part of your layout eight-level but cannot use
+ // LevelFive as modifier, as this will take over the right Ctrl by default
+ // for the whole layout and is too invasive for the average four-level user.
+ // Needed to fix bug #9529.
+ // FIXME: Should really use RControl but it seems not to be enabled by
+ // default and touching this requires a lot of testing.
+ type "LOCAL_EIGHT_LEVEL" {
modifiers = Shift + Lock + LevelThree + Control;
map[None] = Level1;
@@ -86,5 +85,4 @@ default partial xkb_types "default" {
level_name[Level7] = "Level3 Ctrl";
level_name[Level8] = "Shift Level3 Ctrl";
};
-
};