summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@telfort.nl>2022-01-07 16:34:31 +0100
committerBenno Schulenberg <bensberg@telfort.nl>2022-04-13 14:21:56 +0200
commit8ec4aec6e6c26f9feab649a7977171c09dac6cb1 (patch)
treeefa827449f48c9ead788c25f8acc63dfa2a5b35c
parent64693e3b53fa9186074b683c20815abfece519a9 (diff)
symbols/by: reduce whitespace and rewrap comments, for better legibility
-rw-r--r--symbols/by71
1 files changed, 36 insertions, 35 deletions
diff --git a/symbols/by b/symbols/by
index edfced73..53f36e6f 100644
--- a/symbols/by
+++ b/symbols/by
@@ -1,16 +1,18 @@
// Belarusian standard keyboard, by Alexander Mikhailian <mikhailian@altern.org>.
-// Reworked to use winkeys by default and russian keymap as base by Paul Lubetsky <vegeek@gmail.com>
-// Added Belarusian-Russian and Russian-Belarusian variants, by Pavel Senchanka <pavel.senchanka@gmail.com>
-// See freedesktop.org bug #23604
+// Reworked to use Russian keymap as base and winkeys by default,
+// by Paul Lubetsky <vegeek@gmail.com>, see https://bugs.freedesktop.org/23604.
+
+// Added Belarusian-Russian and Russian-Belarusian variants,
+// by Pavel Senchanka <pavel.senchanka@gmail.com>
default partial alphanumeric_keys
xkb_symbols "basic" {
include "ru(winkeys)"
name[Group1]= "Belarusian";
- key <AD09> { [ Byelorussian_shortu, Byelorussian_SHORTU ] };
- key <AD12> { [ apostrophe, apostrophe ] };
- key <AB05> { [ Ukrainian_i, Ukrainian_I ] };
+ key <AD09> {[ Byelorussian_shortu, Byelorussian_SHORTU ]};
+ key <AD12> {[ apostrophe, apostrophe ]};
+ key <AB05> {[ Ukrainian_i, Ukrainian_I ]};
};
partial alphanumeric_keys
@@ -18,14 +20,14 @@ xkb_symbols "legacy" {
include "by(basic)"
name[Group1]= "Belarusian (legacy)";
- key <AE03> { [ 3, numbersign ] };
- key <AE04> { [ 4, asterisk ] };
- key <AE05> { [ 5, colon ] };
- key <AE06> { [ 6, comma ] };
- key <AE07> { [ 7, period ] };
- key <AE08> { [ 8, semicolon ] };
- key <AB10> { [ slash, question ] };
- key <BKSL> { [ backslash, bar ] };
+ key <AE03> {[ 3, numbersign ]};
+ key <AE04> {[ 4, asterisk ]};
+ key <AE05> {[ 5, colon ]};
+ key <AE06> {[ 6, comma ]};
+ key <AE07> {[ 7, period ]};
+ key <AE08> {[ 8, semicolon ]};
+ key <AB10> {[ slash, question ]};
+ key <BKSL> {[ backslash, bar ]};
};
partial alphanumeric_keys
@@ -33,15 +35,15 @@ xkb_symbols "latin" {
include "latin"
name[Group1]= "Belarusian (Latin)";
- key <AD02> { [ w, W, scaron, Scaron ] };
- key <AD07> { [ u, U, ubreve, Ubreve ] };
- key <AC02> { [ s, S, sacute, Sacute ] };
- key <AC09> { [ l, L, lstroke, Lstroke ] };
- key <AB01> { [ z, Z, zacute, Zacute ] };
- key <AB02> { [ x, X, zcaron, Zcaron ] };
- key <AB03> { [ c, C, cacute, Cacute ] };
- key <AB04> { [ v, V, ccaron, Ccaron ] };
- key <AB06> { [ n, N, nacute, Nacute ] };
+ key <AD02> {[ w, W, scaron, Scaron ]};
+ key <AD07> {[ u, U, ubreve, Ubreve ]};
+ key <AC02> {[ s, S, sacute, Sacute ]};
+ key <AC09> {[ l, L, lstroke, Lstroke ]};
+ key <AB01> {[ z, Z, zacute, Zacute ]};
+ key <AB02> {[ x, X, zcaron, Zcaron ]};
+ key <AB03> {[ c, C, cacute, Cacute ]};
+ key <AB04> {[ v, V, ccaron, Ccaron ]};
+ key <AB06> {[ n, N, nacute, Nacute ]};
include "level3(ralt_switch)"
};
@@ -52,29 +54,28 @@ xkb_symbols "ru" {
include "ru(winkeys)"
name[Group1]= "Russian (Belarus)";
- key <AB05> { [ Cyrillic_i, Cyrillic_I, Ukrainian_i, Ukrainian_I ] };
- key <AD09> { [ Cyrillic_shcha, Cyrillic_SHCHA, Byelorussian_shortu, Byelorussian_SHORTU ] };
- key <AD12> { [ Cyrillic_hardsign, Cyrillic_HARDSIGN, U2019, apostrophe ] };
+ key <AB05> {[ Cyrillic_i, Cyrillic_I, Ukrainian_i, Ukrainian_I ]};
+ key <AD09> {[ Cyrillic_shcha, Cyrillic_SHCHA, Byelorussian_shortu, Byelorussian_SHORTU ]};
+ key <AD12> {[ Cyrillic_hardsign, Cyrillic_HARDSIGN, U2019, apostrophe ]};
include "level3(ralt_switch)"
};
-// Belarusian layout extended with other East Slavic language symbols
-// (Russian, Ukrainian).
+// Belarusian layout extended with other East Slavic symbols (Russian, Ukrainian).
partial alphanumeric_keys
xkb_symbols "intl" {
include "by(basic)"
name[Group1]= "Belarusian (intl.)";
// Russian
- key <AB05> { [ Ukrainian_i, Ukrainian_I, Cyrillic_i, Cyrillic_I ] };
- key <AD09> { [ Byelorussian_shortu, Byelorussian_SHORTU, Cyrillic_shcha, Cyrillic_SHCHA ] };
- key <AD12> { [ U2019, apostrophe, Cyrillic_hardsign, Cyrillic_HARDSIGN ] };
+ key <AB05> {[ Ukrainian_i, Ukrainian_I, Cyrillic_i, Cyrillic_I ]};
+ key <AD09> {[ Byelorussian_shortu, Byelorussian_SHORTU, Cyrillic_shcha, Cyrillic_SHCHA ]};
+ key <AD12> {[ U2019, apostrophe, Cyrillic_hardsign, Cyrillic_HARDSIGN ]};
- // Ukrainian (Yi is usually on <AD12>, but is it taken in our case).
- key <AC11> { [ Cyrillic_e, Cyrillic_E, Ukrainian_ie, Ukrainian_IE ] };
- key <AD11> { [ Cyrillic_ha, Cyrillic_HA, Ukrainian_yi, Ukrainian_YI ] };
- key <BKSL> { [ backslash, bar, Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN ] };
+ // Ukrainian (Yi is usually on <AD12>, but it is already taken in our case).
+ key <AC11> {[ Cyrillic_e, Cyrillic_E, Ukrainian_ie, Ukrainian_IE ]};
+ key <AD11> {[ Cyrillic_ha, Cyrillic_HA, Ukrainian_yi, Ukrainian_YI ]};
+ key <BKSL> {[ backslash, bar, Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN ]};
include "level3(ralt_switch)"
};