summaryrefslogtreecommitdiff
path: root/types
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@justemail.net>2014-01-04 22:27:00 +0100
committerSergey Udaltsov <sergey.udaltsov@gmail.com>2014-01-15 00:53:18 +0000
commit5807c6cea78526ae2d5d6d82ec98ecad52369374 (patch)
treed2b6f5dc80ba7b761817b9163942506239b2755a /types
parent8006254c3c6a485892f8ff9a45bcc748297b9bed (diff)
types/*: Partly harmonizing some whitespace and tabbing.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'types')
-rw-r--r--types/basic10
-rw-r--r--types/caps8
-rw-r--r--types/extra24
-rw-r--r--types/level528
-rw-r--r--types/mousekeys6
-rw-r--r--types/nokia2
6 files changed, 39 insertions, 39 deletions
diff --git a/types/basic b/types/basic
index 95e85bc2..341931fe 100644
--- a/types/basic
+++ b/types/basic
@@ -19,11 +19,11 @@ default xkb_types "basic" {
};
type "ALPHABETIC" {
- modifiers = Shift+Lock;
- map[Shift] = Level2;
- map[Lock] = Level2;
- level_name[Level1] = "Base";
- level_name[Level2] = "Caps";
+ modifiers = Shift+Lock;
+ map[Shift] = Level2;
+ map[Lock] = Level2;
+ level_name[Level1] = "Base";
+ level_name[Level2] = "Caps";
};
};
diff --git a/types/caps b/types/caps
index 11dd779f..baff8c4f 100644
--- a/types/caps
+++ b/types/caps
@@ -17,7 +17,7 @@ partial xkb_types "internal" {
map[LevelThree] = Level3;
map[Shift+LevelThree] = Level4;
map[Lock+LevelThree] = Level3;
- map[Lock+Shift+LevelThree] = Level3;
+ map[Lock+Shift+LevelThree] = Level3;
preserve[Lock+LevelThree] = Lock;
level_name[Level1] = "Base";
level_name[Level2] = "Shift";
@@ -33,7 +33,7 @@ partial xkb_types "internal" {
map[LevelThree] = Level3;
map[Shift+LevelThree] = Level4;
map[Lock+LevelThree] = Level3;
- map[Lock+Shift+LevelThree] = Level4;
+ map[Lock+Shift+LevelThree] = Level4;
preserve[Lock+LevelThree] = Lock;
preserve[Lock+Shift+LevelThree] = Lock;
level_name[Level1] = "Base";
@@ -113,7 +113,7 @@ partial xkb_types "shift" {
map[LevelThree] = Level3;
map[Shift+LevelThree] = Level4;
map[Lock+LevelThree] = Level3;
- map[Lock+Shift+LevelThree] = Level4;
+ map[Lock+Shift+LevelThree] = Level4;
preserve[Lock+LevelThree] = Lock;
preserve[Lock+Shift+LevelThree] = Lock;
level_name[Level1] = "Base";
@@ -160,7 +160,7 @@ partial xkb_types "shift_nocancel" {
map[LevelThree] = Level3;
map[Shift+LevelThree] = Level4;
map[Lock+LevelThree] = Level3;
- map[Lock+Shift+LevelThree] = Level4;
+ map[Lock+Shift+LevelThree] = Level4;
preserve[Lock+LevelThree] = Lock;
preserve[Lock+Shift+LevelThree] = Lock;
level_name[Level1] = "Base";
diff --git a/types/extra b/types/extra
index 5e5fa24e..e7529f40 100644
--- a/types/extra
+++ b/types/extra
@@ -6,15 +6,15 @@ partial default xkb_types "default" {
virtual_modifiers LevelThree;
type "FOUR_LEVEL" {
- modifiers = Shift+LevelThree;
+ modifiers = Shift+LevelThree;
map[None] = Level1;
map[Shift] = Level2;
map[LevelThree] = Level3;
map[Shift+LevelThree] = Level4;
level_name[Level1] = "Base";
level_name[Level2] = "Shift";
- level_name[Level3] = "Alt Base";
- level_name[Level4] = "Shift Alt";
+ level_name[Level3] = "Alt Base";
+ level_name[Level4] = "Shift Alt";
};
type "FOUR_LEVEL_ALPHABETIC" {
@@ -40,7 +40,7 @@ partial default xkb_types "default" {
map[LevelThree] = Level3;
map[Shift+LevelThree] = Level4;
map[Lock+LevelThree] = Level3;
- map[Lock+Shift+LevelThree] = Level4;
+ map[Lock+Shift+LevelThree] = Level4;
preserve[Lock+LevelThree] = Lock;
preserve[Lock+Shift+LevelThree] = Lock;
level_name[Level1] = "Base";
@@ -59,9 +59,9 @@ partial default xkb_types "default" {
map[NumLock] = Level2;
map[Shift] = Level2;
map[LevelThree] = Level3;
- map[NumLock+LevelThree] = Level3;
+ map[NumLock+LevelThree] = Level3;
map[Shift+LevelThree] = Level4;
- map[Shift+NumLock+LevelThree] = Level4;
+ map[Shift+NumLock+LevelThree] = Level4;
level_name[Level1] = "Base";
level_name[Level2] = "Number";
level_name[Level3] = "Alt Base";
@@ -73,17 +73,17 @@ partial default xkb_types "default" {
modifiers = Shift+LevelThree+Control+Alt;
map[None] = Level1;
map[LevelThree] = Level2;
- map[Shift+LevelThree] = Level3;
- map[Control+Alt] = Level4;
+ map[Shift+LevelThree] = Level3;
+ map[Control+Alt] = Level4;
level_name[Level1] = "Base";
level_name[Level2] = "Alt Base";
level_name[Level3] = "Shift Alt";
- level_name[Level4] = "Ctrl+Alt";
+ level_name[Level4] = "Ctrl+Alt";
};
// A special type for keys used in the Serbian Latin Unicode keymap.
-// It makes it possible to use all three forms of latin letters
-// present in Unicode that are made up of two separate letters
+// It makes it possible to use all three forms of latin letters
+// present in Unicode that are made up of two separate letters
// (forms like LJ, Lj, and lj; NJ, Nj, and nj; etcetera).
type "SEPARATE_CAPS_AND_SHIFT_ALPHABETIC" {
@@ -154,5 +154,5 @@ partial xkb_types "keypad" {
level_name[Level2] = "Number";
level_name[Level3] = "Alt Base";
level_name[Level4] = "Alt Number";
- };
+ };
};
diff --git a/types/level5 b/types/level5
index 19676f99..1796f502 100644
--- a/types/level5
+++ b/types/level5
@@ -6,7 +6,7 @@ partial default xkb_types "default" {
virtual_modifiers LevelThree,ScrollLock,LevelFive;
type "EIGHT_LEVEL" {
- modifiers = Shift+LevelThree+LevelFive;
+ modifiers = Shift+LevelThree+LevelFive;
map[None] = Level1;
map[Shift] = Level2;
map[LevelThree] = Level3;
@@ -17,8 +17,8 @@ partial default xkb_types "default" {
map[Shift+LevelThree+LevelFive] = Level8;
level_name[Level1] = "Base";
level_name[Level2] = "Shift";
- level_name[Level3] = "Alt Base";
- level_name[Level4] = "Shift Alt";
+ level_name[Level3] = "Alt Base";
+ level_name[Level4] = "Shift Alt";
level_name[Level5] = "X";
level_name[Level6] = "X Shift";
level_name[Level7] = "X Alt Base";
@@ -33,7 +33,7 @@ partial default xkb_types "default" {
map[LevelThree] = Level3;
map[Shift+LevelThree] = Level4;
map[Lock+LevelThree] = Level4;
- map[Lock+Shift+LevelThree] = Level3;
+ map[Lock+Shift+LevelThree] = Level3;
map[LevelFive] = Level5;
map[Shift+LevelFive] = Level6;
@@ -41,7 +41,7 @@ partial default xkb_types "default" {
map[LevelThree+LevelFive] = Level7;
map[Shift+LevelThree+LevelFive] = Level8;
map[Lock+LevelThree+LevelFive] = Level8;
- map[Lock+Shift+LevelThree+LevelFive] = Level7;
+ map[Lock+Shift+LevelThree+LevelFive] = Level7;
level_name[Level1] = "Base";
level_name[Level2] = "Shift";
@@ -54,9 +54,9 @@ partial default xkb_types "default" {
};
// type "EIGHT_LEVEL_LEVEL_FIVE_LOCK" {
-// // Level5-Lock is implemented by using NumLock, because a real modifier
-// // is required.
-//
+// // Level5-Lock is implemented by using NumLock, because a real modifier
+// // is required.
+//
// modifiers = Shift + Lock + LevelThree + NumLock + LevelFive;
//
// map[None] = Level1;
@@ -116,11 +116,11 @@ partial default xkb_types "default" {
// };
//
// type "EIGHT_LEVEL_ALPHABETIC_LEVEL_FIVE_LOCK" {
-// // Level5-Lock is implemented by using NumLock, because a real modifier
-// // is required.
-//
+// // Level5-Lock is implemented by using NumLock, because a real modifier
+// // is required.
+//
// modifiers = Shift + Lock + LevelThree + NumLock + LevelFive;
-//
+//
// map[None] = Level1;
// map[Shift] = Level2;
// map[LevelThree] = Level3;
@@ -183,7 +183,7 @@ partial default xkb_types "default" {
map[LevelThree] = Level3;
map[Shift+LevelThree] = Level4;
map[Lock+LevelThree] = Level3;
- map[Lock+Shift+LevelThree] = Level4;
+ map[Lock+Shift+LevelThree] = Level4;
map[LevelFive] = Level5;
map[Shift+LevelFive] = Level6;
@@ -192,7 +192,7 @@ partial default xkb_types "default" {
map[LevelThree+LevelFive] = Level7;
map[Shift+LevelThree+LevelFive] = Level8;
map[Lock+LevelThree+LevelFive] = Level7;
- map[Lock+Shift+LevelThree+LevelFive] = Level8;
+ map[Lock+Shift+LevelThree+LevelFive] = Level8;
preserve[Lock+LevelThree] = Lock;
preserve[Lock+Shift+LevelThree] = Lock;
diff --git a/types/mousekeys b/types/mousekeys
index 88d88a21..901848aa 100644
--- a/types/mousekeys
+++ b/types/mousekeys
@@ -2,9 +2,9 @@ partial default xkb_types "default" {
virtual_modifiers Alt;
type "SHIFT+ALT" {
- modifiers = Shift+Alt;
- map[Shift+Alt] = Level2;
- level_name[Level1] = "Base";
+ modifiers = Shift+Alt;
+ map[Shift+Alt] = Level2;
+ level_name[Level1] = "Base";
level_name[Level2] = "Shift+Alt";
};
};
diff --git a/types/nokia b/types/nokia
index c877ecf4..300fe416 100644
--- a/types/nokia
+++ b/types/nokia
@@ -1,6 +1,6 @@
partial default xkb_types "default" {
- // Some types that are used by Nokia devices and keyboards.
+ // A type that is used by Nokia devices and keyboards.
virtual_modifiers LevelThree;