• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1default partial alphanumeric_keys
2xkb_symbols "basic" {
3
4    include "us"
5
6    name[Group1]= "English (Ghana)";
7
8    key <AE04> { [          4, 0x010020B5,     dollar,       cent ] };
9    include "level3(ralt_switch)"
10};
11
12partial alphanumeric_keys
13xkb_symbols "akan" {
14    include "gh(basic)"
15
16    name[Group1]= "Akan";
17
18    key <AD01> { [ 0x0100025B, 0x01000190,          q,          Q ] };
19    key <AB02> { [ 0x01000254, 0x01000186,          x,          X ] };
20};
21
22partial alphanumeric_keys
23xkb_symbols "ga" {
24    include "gh(basic)"
25
26    name[Group1]= "Ga";
27
28    key <AD01> { [ 0x0100025B, 0x01000190,          q,          Q ] };
29    key <AB02> { [ 0x01000254, 0x01000186,          x,          X ] };
30    key <AB03> { [ 0x0100014B, 0x0100014A,          c,          C ] };
31};
32
33partial alphanumeric_keys
34xkb_symbols "ewe" {
35    include "gh(basic)"
36
37    name[Group1]= "Ewe";
38
39    key <AD01> { [ 0x0100025B, 0x01000190,          q,          Q ] };
40    key <AB03> { [ 0x0100014B, 0x0100014A,          c,          C ] };
41    key <AD11> { [ 0x01000254, 0x01000186,  braceleft,  braceleft ] };
42    key <AD12> { [ 0x0100028B, 0x010001B2, braceright, braceright ] };
43    key <BKSL> { [ 0x01000256, 0x01000189,  backslash,  backslash ] };
44    key <AC07> { [ 0x01000192, 0x01000191,          j,          J ] };
45    key <AC05> { [          g,          G, 0x01000263, 0x01000194 ] };
46
47};
48
49partial alphanumeric_keys
50xkb_symbols "fula" {
51    include "gh(basic)"
52
53    name[Group1]= "Fula";
54
55    key <AD01> { [ 0x01000071, 0x01000051,          q,          Q ] };
56    key <AD02> { [ udiaeresis, Udiaeresis,          w,          W ] };
57    key <AD03> { [          e,          E,   EuroSign,	     cent ] };
58    key <AD11> { [ 0x010001B4, 0x010001B3,bracketleft,  braceleft ] };
59    key <AD12> { [     gcaron,     Gcaron,bracketright, braceright] };
60    key <AC03> { [ 0x01000257, 0x0100018A,         d,           D ] };
61    key <AC10> { [ 0x01000131, 0x01000130, semicolon,       colon ] };
62    key <AC11> { [ 0x010001DD, 0x0100018E,apostrophe,    quotedbl ] };
63    key <AB01> { [ 0x01000272, 0x0100019D,         z,           Z ] };
64    key <AB07> { [     ntilde,     Ntilde,         m,           M ] };
65    key <AB09> { [   ccedilla,   Ccedilla,    period,     greater ] };
66    key <AB10> { [   scedilla,   Scedilla,     slash,    question ] };
67
68};
69
70partial alphanumeric_keys
71xkb_symbols "hausa" {
72    include "gh(fula)"
73
74    name[Group1]= "Hausa (Ghana)";
75};
76
77partial alphanumeric_keys
78xkb_symbols "generic" {
79    include "gh(basic)"
80
81    name[Group1]= "English (Ghana, multilingual)";
82
83    key <AD03> { [          e,	        E, 0x0100025b, 0x01000190 ] };
84    key <AB03> { [          c,          C, 0x01000254, 0x01000186 ] };
85    key <AC03> { [          d,          D, 0x01000256, 0x01000189 ] };
86    key <AC04> { [          f,          F, 0x01000192, 0x01000191 ] };
87    key <AC05> { [          g,          G, 0x01000263, 0x01000194 ] };
88    key <AB06> { [          n,          N, 0x0100014b, 0x0100014a ] };
89    key <AB01> { [          z,          Z, 0x010001B6, 0x010001B5 ] };
90    key <AB04> { [          v,          V, 0x0100028B, 0x010001B2 ] };
91	key <AE04> { [          4,     dollar, 0x010020B5,       cent ] };
92    include "level3(ralt_switch)"
93
94};
95
96partial alphanumeric_keys
97xkb_symbols "avn" {
98    include "gh(basic)"
99
100    name[Group1]= "Avatime";
101
102    key <TLDE> { [      grave,     asciitilde,   0x01000300,  0x01000303 ] }; // combining grave; combining tilde
103    key <AE04> { [          4,         dollar,         cent,  0x010020B5 ] }; // ¢, ₵
104    key <AE11> { [      minus,     underscore,   0x01000304,  0x01000304 ] }; // combining macron
105    key <AD01> { [ 0x0100028B,      0x010001B2                           ] }; // ʋ, Ʋ
106    key <AD07> { [          u,              U,   0x0100028A,  0x010001B1 ] }; // ʊ, Ʊ
107    key <AD08> { [          i,              I,   0x01000269,  0x01000196 ] }; // ɩ, Ɩ
108    key <AD11> { [ 0x0100025B,      0x01000190, bracketleft,  braceleft  ] }; // ɛ, Ɛ
109    key <AC03> { [          d,              D,   0x01000256,  0x01000189 ] }; // ɖ, Ɖ
110    key <AC04> { [          f,              F,   0x01000192,  0x01000191 ] }; // ƒ, Ƒ
111    key <AC07> { [ 0x0100014B,      0x0100014A                           ] }; // ŋ, Ŋ
112    key <AC11> { [ apostrophe,       quotedbl,   0x01000301,  0x01000301 ] }; // combining acute
113    key <AB03> { [ 0x01000254,      0x01000186                           ] }; // ɔ, Ɔ
114
115    include "level3(ralt_switch)"
116
117};
118
119// This keyboard layout fully imitates the 'Ghana Unicode' layout which is used in GILLBT on Windows with Keyman.
120// However, in this layout a 3rd level key (R ALT) is used rather than dead keys.
121// Also it has three additional features:
122// 1) combining macron above: <R ALT> + <SHIFT> + <->
123// 2) cent: <R ALT> + <4> or <R ALT> + <SHIFT> + <4>
124// 3) ʊ/Ʊ: <R ALT> + <u>/<U>
125
126partial alphanumeric_keys
127xkb_symbols "gillbt" {
128    include "gh(basic)"
129
130    name[Group1]= "English (Ghana, GILLBT)";
131
132    key <TLDE> { [ grave,      asciitilde,  0x01000300,   0x01000303  ] }; // combining grave; combining tilde
133    key <AE04> { [ 4,          dollar,      cent,         0x010020B5  ] }; // ¢, ₵
134    key <AE06> { [ 6,          asciicircum, 0x01000302,   0x01000302  ] }; // combining circumflex accent
135    key <AE11> { [ minus,      underscore,  0x01000331,   0x01000304  ] }; // combining macron below; combining macron above
136    key <AE12> { [ 0x0100014B, 0x0100014A,  equal,        plus        ] }; // ŋ, Ŋ
137    key <AD01> { [ 0x0100028B, 0x010001B2,  q,            Q           ] }; // ʋ, Ʋ
138    key <AD03> { [ e,          E,           0x010001DD,   0x0100018E  ] }; // ǝ, Ǝ
139    key <AD07> { [ u,          U,           0x0100028A,   0x010001B1  ] }; // ʊ, Ʊ
140    key <AD11> { [ 0x0100025B, 0x01000190,  bracketleft,  braceleft   ] }; // ɛ, Ɛ
141    key <AD12> { [ 0x01000254, 0x01000186,  bracketright, braceright  ] }; // ɔ, Ɔ
142    key <AC03> { [ d,          D,           0x01000256,   0x01000189  ] }; // ɖ, Ɖ
143    key <AC04> { [ f,          F,           0x01000192,   0x01000191  ] }; // ƒ, Ƒ
144    key <AC05> { [ g,          G,           0x01000263,   0x01000194  ] }; // ɣ, Ɣ
145    key <AC11> { [ apostrophe, quotedbl,    0x01000301,   0x01000301  ] }; // combining acute
146    key <AB01> { [ z,          Z,           0x01000292,   0x010001B7  ] }; // ʒ, Ʒ
147    key <AB02> { [ 0x01000269, 0x01000196,  x,            X           ] }; // ɩ, Ɩ
148    key <AB03> { [ c,          C,           0x010000E7,   0x010000C7  ] }; // ç, Ç
149
150    include "level3(ralt_switch)"
151};
152