From 1b7d667ab95be5c598ddfbf534cd3c35c328b46c Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 4 Apr 2023 17:55:18 +0200 Subject: symbols/ng: shorten Unicode codes, add comments, improve alignment --- symbols/ng | 140 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 71 insertions(+), 69 deletions(-) (limited to 'symbols') diff --git a/symbols/ng b/symbols/ng index ccdd332..d8996aa 100644 --- a/symbols/ng +++ b/symbols/ng @@ -6,7 +6,9 @@ xkb_symbols "basic" { include "us" name[Group1]= "English (Nigeria)"; - key { [ 4, 0x010020A6, dollar, cent ] }; + + key {[ 4, U20A6, dollar, cent ]}; // ₦ + include "level3(ralt_switch)" }; @@ -16,9 +18,9 @@ xkb_symbols "yoruba" { name[Group1]= "Yoruba"; - key { [ 0x01001EB9, 0x01001EB8, q, Q ] }; - key { [ 0x01001ECD, 0x01001ECC, x, X ] }; - key { [ 0x01001E63, 0x01001E62, v, V ] }; + key {[ U1EB9, U1EB8, q, Q ]}; // ẹ Ẹ + key {[ U1ECD, U1ECC, x, X ]}; // ọ Ọ + key {[ U1E63, U1E62, v, V ]}; // ṣ Ṣ }; partial alphanumeric_keys @@ -27,10 +29,10 @@ xkb_symbols "igbo" { name[Group1]= "Igbo"; - key { [ 0x01001ECB, 0x01001ECA, q, Q ] }; - key { [ 0x01001E45, 0x01001E44, x, X ] }; - key { [ 0x01001EE5, 0x01001EE4, semicolon, colon ] }; - key { [ 0x01001ECD, 0x01001ECC, bracketleft, braceleft ] }; + key {[ U1ECB, U1ECA, q, Q ]}; // ị Ị + key {[ U1E45, U1E44, x, X ]}; // ṅ Ṅ + key {[ U1EE5, U1EE4, semicolon, colon ]}; // ụ Ụ + key {[ U1ECD, U1ECC, bracketleft, braceleft ]}; // ọ Ọ }; partial alphanumeric_keys @@ -39,18 +41,18 @@ xkb_symbols "hausa" { name[Group1]= "Hausa (Nigeria)"; - key { [ q, Q, q, Q ] }; - key { [ udiaeresis, Udiaeresis, w, W ] }; - key { [ e, E, EuroSign, cent ] }; - key { [ 0x010001B4, 0x010001B3,bracketleft, braceleft ] }; - key { [ gcaron, Gcaron,bracketright, braceright] }; - key { [ 0x01000257, 0x0100018A, d, D ] }; - key { [ 0x01000131, 0x01000130, semicolon, colon ] }; - key { [ 0x010001DD, 0x0100018E,apostrophe, quotedbl ] }; - key { [ 0x01000272, 0x0100019D, z, Z ] }; - key { [ ntilde, Ntilde, m, M ] }; - key { [ ccedilla, Ccedilla, period, greater ] }; - key { [ scedilla, Scedilla, slash, question ] }; + key {[ q, Q, q, Q ]}; + key {[ udiaeresis, Udiaeresis, w, W ]}; + key {[ e, E, EuroSign, cent ]}; + key {[ U01B4, U01B3, bracketleft, braceleft ]}; // ƴ Ƴ + key {[ gcaron, Gcaron,bracketright, braceright ]}; + key {[ U0257, U018A, d, D ]}; // ɗ Ɗ + key {[ U0131, U0130, semicolon, colon ]}; // ı İ + key {[ U01DD, U018E, apostrophe, quotedbl ]}; // ǝ Ǝ + key {[ U0272, U019D, z, Z ]}; // ɲ Ɲ + key {[ ntilde, Ntilde, m, M ]}; + key {[ ccedilla, Ccedilla, period, greater ]}; + key {[ scedilla, Scedilla, slash, question ]}; }; partial alphanumeric_keys @@ -61,55 +63,55 @@ xkb_symbols "olpc" { // OLPC West Africa keyboard layout // See: http://wiki.laptop.org/go/Image:Nigeria-B3.png - key { [ grave, asciitilde, exclamdown, exclamdown ] }; - key { [ 1, exclam, sterling, sterling ] }; - key { [ 2, at, EuroSign, EuroSign ] }; - key { [ 3, numbersign, dollar, dollar ] }; - key { [ 4, 0x10020A6, 0x1000301, 0x1000301 ] }; // Naira, combining acute - key { [ 5, percent, 0x1000300, 0x1000300 ] }; // combining grave - key { [ 6,asciicircum, 0x100030A, 0x100030A ] }; // combining ring above - key { [ 7, ampersand, 0x1000302, 0x1000302 ] }; // combining circumflex above - key { [ 8, asterisk, 0x1000324, 0x1000324 ] }; // combining caron above - key { [ 9, parenleft, 0x1000307, 0x1000307 ] }; // combining dot above - key { [ 0, parenright, 0x1000308, 0x1000308 ] }; // combining diaeresis above - key { [ minus, underscore, 0x1000304, 0x1000304 ] }; // combining macron above - key { [ equal, plus, 0x1000303, 0x1000303 ] }; // combining tilde above - - key { [ w, W, 0x1001EB9, 0x1001EB8 ] }; // E with dot below - key { [ e, E, 0x10001DD, 0x100018E ] }; // reversed E - key { [ r, R, 0x10001B4, 0x10001B3 ] }; // Y with hook - key { [ t, T, 0x1000327, 0x1000327 ] }; // combining cedilla - key { [ y, Y, 0x1000325, 0x1000325 ] }; // combining ring below - key { [ u, U, 0x100032D, 0x100032D ] }; // combining circumflex below - key { [ i, I, 0x100032C, 0x100032C ] }; // combining caron below - key { [ o, O, 0x1000323, 0x1000323 ] }; // combining dot below - key { [ p, P, 0x1000304, 0x1000304 ] }; // combining diaeresis below - key { [ bracketleft, braceleft, 0x1000331, 0x1000331 ] }; // combining macron below - key { [bracketright, braceright, 0x1000330, 0x1000330 ] }; // combining tilde below - - key { [ a, A, Greek_iota, Greek_IOTA ] }; - key { [ s, S, 0x1001E63, 0x1001E62 ] }; // S with dot below - key { [ d, D, 0x1000257, 0x100018A ] }; // D with hook - key { [ f, F, 0x1001E0D, 0x1001E0C ] }; // D with dot below - key { [ g, G, 0x1000272, 0x100019D ] }; // N with left hook - key { [ h, H, 0x1001EE5, 0x1001EE4 ] }; // U with dot below - key { [ j, J, 0x1001ECB, 0x1001ECA ] }; // I with dot below - key { [ k, K, 0x1000199, 0x1000198 ] }; // K with hook - key { [ l, L, 0x1001E37, 0x1001E36 ] }; // L with dot below - key { [ semicolon, colon, masculine, ordfeminine ] }; - key { [ apostrophe, quotedbl, currency, currency ] }; - key { [ backslash, bar, section, section ] }; - - key { [ c, C, 0x1000254, 0x1000186 ] }; // open O - key { [ v, V, 0x100028B, 0x10001B2 ] }; // V with hook - key { [ b, B, 0x1000253, 0x1000181 ] }; // B with hook - key { [ n, N, eng, ENG ] }; - key { [ m, M, 0x1001E45, 0x1001E44 ] }; // N with dot above - key { [ comma, less, guillemotleft, guillemotleft ] }; - key { [ period, greater, guillemotright, guillemotright ] }; - key { [ slash, question, questiondown, questiondown ] }; - - key { [ multiply, division, ISO_Next_Group, ISO_Prev_Group ] }; + key {[ grave, asciitilde, exclamdown, exclamdown ]}; + key {[ 1, exclam, sterling, sterling ]}; + key {[ 2, at, EuroSign, EuroSign ]}; + key {[ 3, numbersign, dollar, dollar ]}; + key {[ 4, U20A6, U0301, U0301 ]}; // Naira, combining acute + key {[ 5, percent, U0300, U0300 ]}; // combining grave + key {[ 6,asciicircum, U030A, U030A ]}; // combining ring above + key {[ 7, ampersand, U0302, U0302 ]}; // combining circumflex above + key {[ 8, asterisk, U0324, U0324 ]}; // combining caron above + key {[ 9, parenleft, U0307, U0307 ]}; // combining dot above + key {[ 0, parenright, U0308, U0308 ]}; // combining diaeresis above + key {[ minus, underscore, U0304, U0304 ]}; // combining macron above + key {[ equal, plus, U0303, U0303 ]}; // combining tilde above + + key {[ w, W, U1EB9, U1EB8 ]}; // E with dot below + key {[ e, E, U01DD, U018E ]}; // reversed E + key {[ r, R, U01B4, U01B3 ]}; // Y with hook + key {[ t, T, U0327, U0327 ]}; // combining cedilla + key {[ y, Y, U0325, U0325 ]}; // combining ring below + key {[ u, U, U032D, U032D ]}; // combining circumflex below + key {[ i, I, U032C, U032C ]}; // combining caron below + key {[ o, O, U0323, U0323 ]}; // combining dot below + key {[ p, P, U0304, U0304 ]}; // combining diaeresis below + key {[ bracketleft, braceleft, U0331, U0331 ]}; // combining macron below + key {[bracketright, braceright, U0330, U0330 ]}; // combining tilde below + + key {[ a, A, Greek_iota, Greek_IOTA ]}; + key {[ s, S, U1E63, U1E62 ]}; // S with dot below + key {[ d, D, U0257, U018A ]}; // D with hook + key {[ f, F, U1E0D, U1E0C ]}; // D with dot below + key {[ g, G, U0272, U019D ]}; // N with left hook + key {[ h, H, U1EE5, U1EE4 ]}; // U with dot below + key {[ j, J, U1ECB, U1ECA ]}; // I with dot below + key {[ k, K, U0199, U0198 ]}; // K with hook + key {[ l, L, U1E37, U1E36 ]}; // L with dot below + key {[ semicolon, colon, masculine, ordfeminine ]}; + key {[apostrophe, quotedbl, currency, currency ]}; + key {[ backslash, bar, section, section ]}; + + key {[ c, C, U0254, U0186 ]}; // open O + key {[ v, V, U028B, U01B2 ]}; // V with hook + key {[ b, B, U0253, U0181 ]}; // B with hook + key {[ n, N, eng, ENG ]}; + key {[ m, M, U1E45, U1E44 ]}; // N with dot above + key {[ comma, less, guillemotleft, guillemotleft ]}; + key {[ period, greater, guillemotright, guillemotright ]}; + key {[ slash, question, questiondown, questiondown ]}; + + key {[ multiply, division, ISO_Next_Group, ISO_Prev_Group ]}; include "level3(ralt_switch)" }; -- cgit v1.2.1