1 | Index: mythtv/themes/default/keyboard/nb_ui.xml |
---|
2 | =================================================================== |
---|
3 | --- mythtv/themes/default/keyboard/nb_ui.xml (revisjon 0) |
---|
4 | +++ mythtv/themes/default/keyboard/nb_ui.xml (revisjon 0) |
---|
5 | @@ -0,0 +1,382 @@ |
---|
6 | +<mythuitheme> |
---|
7 | + |
---|
8 | + <window name="keyboard"> |
---|
9 | + |
---|
10 | + <font name="normal" face="Arial"> |
---|
11 | + <color>#ededed</color> |
---|
12 | + <size>14</size> |
---|
13 | + <bold>yes</bold> |
---|
14 | + </font> |
---|
15 | + |
---|
16 | + <font name="enhance" base="normal"> |
---|
17 | + <color>#ffffff</color> |
---|
18 | + <size>18</size> |
---|
19 | + </font> |
---|
20 | + |
---|
21 | + <font name="larger" base="normal"> |
---|
22 | + <size>20</size> |
---|
23 | + </font> |
---|
24 | + |
---|
25 | + <container name="keyboard_container"> |
---|
26 | + <area>0,0,537,193</area> |
---|
27 | + |
---|
28 | + <keyboard name="keyboard" draworder="2"> |
---|
29 | + <area>0,0,537,193</area> |
---|
30 | + <context>-1</context> |
---|
31 | + |
---|
32 | + <!-- these are the default key images to use if non |
---|
33 | + are specified in the key definition --> |
---|
34 | + <image function="normal" filename="keyboard/key_normal.png"></image> |
---|
35 | + <image function="focused" filename="keyboard/key_focused.png"></image> |
---|
36 | + <image function="down" filename="keyboard/key_down.png"></image> |
---|
37 | + <image function="downfocused" filename="keyboard/key_downfocused.png"></image> |
---|
38 | + |
---|
39 | + <!-- these are the default fonts to use if non |
---|
40 | + are specified in the key definition --> |
---|
41 | + <fcnfont name="normal" function="normal"></fcnfont> |
---|
42 | + <fcnfont name="enhance" function="focused"></fcnfont> |
---|
43 | + <fcnfont name="normal" function="down"></fcnfont> |
---|
44 | + <fcnfont name="normal" function="downfocused"></fcnfont> |
---|
45 | + |
---|
46 | + <!-- key definitions |
---|
47 | + type - char add shown char to edit |
---|
48 | + - shift toggle shift state |
---|
49 | + - done close popup keyboard |
---|
50 | + - moveleft move cursor left |
---|
51 | + - moveright move cursor right |
---|
52 | + - lock lock shift on |
---|
53 | + - del delete char to right |
---|
54 | + - back delete char to left |
---|
55 | + - alt show alternate layout |
---|
56 | + |
---|
57 | + char - the char to show on the key in the four modes |
---|
58 | + can be any char or a hex char code like 0xXXXX |
---|
59 | + |
---|
60 | + move - key to move to in the up/down/left/right directions |
---|
61 | + --> |
---|
62 | + |
---|
63 | + <!-- row 1 --> |
---|
64 | + <key name="key_1" type="char" draworder="1"> |
---|
65 | + <position>42,5</position> |
---|
66 | + <char normal="1" shift="!" alt="" altshift=""></char> |
---|
67 | + <move left="key_back" right="key_2" up="key_shift" down="key_w"></move> |
---|
68 | + </key> |
---|
69 | + <key name="key_2" type="char" draworder="1"> |
---|
70 | + <position>79,5</position> |
---|
71 | + <char normal="2" shift="0x0022" alt="@" altshift=""></char> |
---|
72 | + <move left="key_1" right="key_3" up="key_shift" down="key_e"></move> |
---|
73 | + </key> |
---|
74 | + <key name="key_3" type="char" draworder="1"> |
---|
75 | + <position>116,5</position> |
---|
76 | + <char normal="3" shift="#" alt="£" altshift=""></char> |
---|
77 | + <move left="key_2" right="key_4" up="key_lock" down="key_r"></move> |
---|
78 | + </key> |
---|
79 | + <key name="key_4" type="char" draworder="1"> |
---|
80 | + <position>153,5</position> |
---|
81 | + <char normal="4" shift="€" alt="$" altshift=""></char> |
---|
82 | + <move left="key_3" right="key_5" up="key_lock" down="key_t"></move> |
---|
83 | + </key> |
---|
84 | + <key name="key_5" type="char" draworder="1"> |
---|
85 | + <position>190,5</position> |
---|
86 | + <char normal="5" shift="%" alt="" altshift=""></char> |
---|
87 | + <move left="key_4" right="key_6" up="key_space" down="key_y"></move> |
---|
88 | + </key> |
---|
89 | + <key name="key_6" type="char" draworder="1"> |
---|
90 | + <position>227,5</position> |
---|
91 | + <char normal="6" shift="0x0026" alt="" altshift=""></char> |
---|
92 | + <move left="key_5" right="key_7" up="key_space" down="key_u"></move> |
---|
93 | + </key> |
---|
94 | + <key name="key_7" type="char" draworder="1"> |
---|
95 | + <position>264,5</position> |
---|
96 | + <char normal="7" shift="/" alt="{" altshift=""></char> |
---|
97 | + <move left="key_6" right="key_8" up="key_space" down="key_i"></move> |
---|
98 | + </key> |
---|
99 | + <key name="key_8" type="char" draworder="1"> |
---|
100 | + <position>301,5</position> |
---|
101 | + <char normal="8" shift="(" alt="[" altshift=""></char> |
---|
102 | + <move left="key_7" right="key_9" up="key_space" down="key_o"></move> |
---|
103 | + </key> |
---|
104 | + <key name="key_9" type="char" draworder="1"> |
---|
105 | + <position>338,5</position> |
---|
106 | + <char normal="9" shift=")" alt="]" altshift=""></char> |
---|
107 | + <move left="key_8" right="key_0" up="key_left" down="key_p"></move> |
---|
108 | + </key> |
---|
109 | + <key name="key_0" type="char" draworder="1"> |
---|
110 | + <position>375,5</position> |
---|
111 | + <char normal="0" shift="=" alt="}" altshift=""></char> |
---|
112 | + <move left="key_9" right="key_back" up="key_right" down="key_Ã¥"></move> |
---|
113 | + </key> |
---|
114 | + <key name="key_back" type="back" draworder="1"> |
---|
115 | + <fcnfont name="larger" function="normal"></fcnfont> |
---|
116 | + <fcnfont name="larger" function="focused"></fcnfont> |
---|
117 | + <fcnfont name="larger" function="down"></fcnfont> |
---|
118 | + <fcnfont name="larger" function="downfocused"></fcnfont> |
---|
119 | + <position>460,5</position> |
---|
120 | + <char normal="â" shift="â" alt="â" altshift="â"></char> |
---|
121 | + <move left="key_0" right="key_1" up="key_alt" down="key_del"></move> |
---|
122 | + <image function="normal" filename="keyboard/key_normal_back.png"></image> |
---|
123 | + <image function="focused" filename="keyboard/key_focused_back.png"></image> |
---|
124 | + <image function="down" filename="keyboard/key_down_back.png"></image> |
---|
125 | + <image function="downfocused" filename="keyboard/key_downfocused_back.png"></image> |
---|
126 | + </key> |
---|
127 | + |
---|
128 | + <!-- row 2 --> |
---|
129 | + <key name="key_q" type="char" draworder="1"> |
---|
130 | + <position>16,42</position> |
---|
131 | + <char normal="q" shift="Q" alt="§" altshift=""></char> |
---|
132 | + <move left="key_del" right="key_w" up="key_1" down="key_a"></move> |
---|
133 | + </key> |
---|
134 | + <key name="key_w" type="char" draworder="1"> |
---|
135 | + <position>53,42</position> |
---|
136 | + <char normal="w" shift="W" alt="œ" altshift=""></char> |
---|
137 | + <move left="key_q" right="key_e" up="key_1" down="key_s"></move> |
---|
138 | + </key> |
---|
139 | + <key name="key_e" type="char" draworder="1"> |
---|
140 | + <position>90,42</position> |
---|
141 | + <char normal="e" shift="E" alt="â¬" altshift=""></char> |
---|
142 | + <move left="key_w" right="key_r" up="key_2" down="key_d"></move> |
---|
143 | + </key> |
---|
144 | + <key name="key_r" type="char" draworder="1"> |
---|
145 | + <position>127,42</position> |
---|
146 | + <char normal="r" shift="R" alt="®" altshift=""></char> |
---|
147 | + <move left="key_e" right="key_t" up="key_3" down="key_f"></move> |
---|
148 | + </key> |
---|
149 | + <key name="key_t" type="char" draworder="1"> |
---|
150 | + <position>164,42</position> |
---|
151 | + <char normal="t" shift="T" alt="+" altshift=""></char> |
---|
152 | + <move left="key_r" right="key_y" up="key_4" down="key_g"></move> |
---|
153 | + </key> |
---|
154 | + <key name="key_y" type="char" draworder="1"> |
---|
155 | + <position>201,42</position> |
---|
156 | + <char normal="y" shift="Y" alt="?" altshift=""></char> |
---|
157 | + <move left="key_t" right="key_u" up="key_5" down="key_h"></move> |
---|
158 | + </key> |
---|
159 | + <key name="key_u" type="char" draworder="1"> |
---|
160 | + <position>238,42</position> |
---|
161 | + <char normal="u" shift="U" alt="~" altshift=""></char> |
---|
162 | + <move left="key_y" right="key_i" up="key_6" down="key_j"></move> |
---|
163 | + </key> |
---|
164 | + <key name="key_i" type="char" draworder="1"> |
---|
165 | + <position>275,42</position> |
---|
166 | + <char normal="i" shift="I" alt="\" altshift=""></char> |
---|
167 | + <move left="key_u" right="key_o" up="key_7" down="key_k"></move> |
---|
168 | + </key> |
---|
169 | + <key name="key_o" type="char" draworder="1"> |
---|
170 | + <position>312,42</position> |
---|
171 | + <char normal="o" shift="O" alt="^" altshift=""></char> |
---|
172 | + <move left="key_i" right="key_p" up="key_8" down="key_l"></move> |
---|
173 | + </key> |
---|
174 | + <key name="key_p" type="char" draworder="1"> |
---|
175 | + <position>349,42</position> |
---|
176 | + <char normal="p" shift="P" alt="*" altshift=""></char> |
---|
177 | + <move left="key_o" right="key_å" up="key_9" down="key_Ê"></move> |
---|
178 | + </key> |
---|
179 | + <key name="key_Ã¥" type="char" draworder="1"> |
---|
180 | + <position>386,42</position> |
---|
181 | + <char normal="Ã¥" shift="Ã
" alt="'" altshift=""></char> |
---|
182 | + <move left="key_p" right="key_del" up="key_0" down="key_Þ"></move> |
---|
183 | + </key> |
---|
184 | + <key name="key_del" type="del" draworder="1"> |
---|
185 | + <fcnfont name="normal" function="focused"></fcnfont> |
---|
186 | + <position>486,42</position> |
---|
187 | + <char normal="Del" shift="Del" alt="Del" altshift="Del"></char> |
---|
188 | + <move left="key_Ã¥" right="key_q" up="key_back" down="key_done"></move> |
---|
189 | + <image function="normal" filename="keyboard/key_normal_del.png"></image> |
---|
190 | + <image function="focused" filename="keyboard/key_focused_del.png"></image> |
---|
191 | + <image function="down" filename="keyboard/key_down_del.png"></image> |
---|
192 | + <image function="downfocused" filename="keyboard/key_downfocused_del.png"></image> |
---|
193 | + </key> |
---|
194 | + |
---|
195 | + <!-- row 3 --> |
---|
196 | + <key name="key_a" type="char" draworder="1"> |
---|
197 | + <position>28,79</position> |
---|
198 | + <char normal="a" shift="A" alt="" altshift=""></char> |
---|
199 | + <move left="key_done" right="key_s" up="key_q" down="key_z"></move> |
---|
200 | + </key> |
---|
201 | + <key name="key_s" type="char" draworder="1"> |
---|
202 | + <position>65,79</position> |
---|
203 | + <char normal="s" shift="S" alt="" altshift=""></char> |
---|
204 | + <move left="key_a" right="key_d" up="key_w" down="key_x"></move> |
---|
205 | + </key> |
---|
206 | + <key name="key_d" type="char" draworder="1"> |
---|
207 | + <position>102,79</position> |
---|
208 | + <char normal="d" shift="D" alt="" altshift=""></char> |
---|
209 | + <move left="key_s" right="key_f" up="key_e" down="key_c"></move> |
---|
210 | + </key> |
---|
211 | + <key name="key_f" type="char" draworder="1"> |
---|
212 | + <position>139,79</position> |
---|
213 | + <char normal="f" shift="F" alt="" altshift=""></char> |
---|
214 | + <move left="key_d" right="key_g" up="key_r" down="key_v"></move> |
---|
215 | + </key> |
---|
216 | + <key name="key_g" type="char" draworder="1"> |
---|
217 | + <position>176,79</position> |
---|
218 | + <char normal="g" shift="G" alt="" altshift=""></char> |
---|
219 | + <move left="key_f" right="key_h" up="key_t" down="key_b"></move> |
---|
220 | + </key> |
---|
221 | + <key name="key_h" type="char" draworder="1"> |
---|
222 | + <position>213,79</position> |
---|
223 | + <char normal="h" shift="H" alt="" altshift=""></char> |
---|
224 | + <move left="key_g" right="key_j" up="key_y" down="key_n"></move> |
---|
225 | + </key> |
---|
226 | + <key name="key_j" type="char" draworder="1"> |
---|
227 | + <position>250,79</position> |
---|
228 | + <char normal="j" shift="J" alt="" altshift=""></char> |
---|
229 | + <move left="key_h" right="key_k" up="key_u" down="key_m"></move> |
---|
230 | + </key> |
---|
231 | + <key name="key_k" type="char" draworder="1"> |
---|
232 | + <position>287,79</position> |
---|
233 | + <char normal="k" shift="K" alt="Ã" altshift=""></char> |
---|
234 | + <move left="key_j" right="key_l" up="key_i" down="key_,"></move> |
---|
235 | + </key> |
---|
236 | + <key name="key_l" type="char" draworder="1"> |
---|
237 | + <position>324,79</position> |
---|
238 | + <char normal="l" shift="L" alt="Å" altshift=""></char> |
---|
239 | + <move left="key_k" right="key_Ê" up="key_o" down="key_."></move> |
---|
240 | + </key> |
---|
241 | + <key name="key_Ê" type="char" draworder="1"> |
---|
242 | + <position>361,79</position> |
---|
243 | + <char normal="Ê" shift="Ã" alt="" altshift=""></char> |
---|
244 | + <move left="key_l" right="key_Þ" up="key_p" down="key_-"></move> |
---|
245 | + </key> |
---|
246 | + <key name="key_Þ" type="char" draworder="1"> |
---|
247 | + <position>398,79</position> |
---|
248 | + <char normal="Þ" shift="Ã" alt="" altshift=""></char> |
---|
249 | + <move left="key_Ê" right="key_done" up="key_å" down="key_-"></move> |
---|
250 | + </key> |
---|
251 | + <key name="key_done" type="done" draworder="1"> |
---|
252 | + <fcnfont name="normal" function="focused"></fcnfont> |
---|
253 | + <position>435,79</position> |
---|
254 | + <char normal="Enter" shift="Enter" alt="Enter" altshift="Enter"></char> |
---|
255 | + <move left="key_Þ" right="key_a" up="key_del" down="key_alt"></move> |
---|
256 | + <image function="normal" filename="keyboard/key_normal_done.png"></image> |
---|
257 | + <image function="focused" filename="keyboard/key_focused_done.png"></image> |
---|
258 | + <image function="down" filename="keyboard/key_down_done.png"></image> |
---|
259 | + <image function="downfocused" filename="keyboard/key_downfocused_done.png"></image> |
---|
260 | + </key> |
---|
261 | + |
---|
262 | + <!-- row 4 --> |
---|
263 | + <key name="key_z" type="char" draworder="1"> |
---|
264 | + <position>42,116</position> |
---|
265 | + <char normal="z" shift="Z" alt="0x003c" altshift=""></char> |
---|
266 | + <move left="key_-" right="key_x" up="key_a" down="key_shift"></move> |
---|
267 | + </key> |
---|
268 | + <key name="key_x" type="char" draworder="1"> |
---|
269 | + <position>79,116</position> |
---|
270 | + <char normal="x" shift="X" alt="0x003e" altshift=""></char> |
---|
271 | + <move left="key_z" right="key_c" up="key_s" down="key_lock"></move> |
---|
272 | + </key> |
---|
273 | + <key name="key_c" type="char" draworder="1"> |
---|
274 | + <position>116,116</position> |
---|
275 | + <char normal="c" shift="C" alt="|" altshift=""></char> |
---|
276 | + <move left="key_x" right="key_v" up="key_d" down="key_lock"></move> |
---|
277 | + </key> |
---|
278 | + <key name="key_v" type="char" draworder="1"> |
---|
279 | + <position>153,116</position> |
---|
280 | + <char normal="v" shift="V" alt="" altshift=""></char> |
---|
281 | + <move left="key_c" right="key_b" up="key_f" down="key_lock"></move> |
---|
282 | + </key> |
---|
283 | + <key name="key_b" type="char" draworder="1"> |
---|
284 | + <position>190,116</position> |
---|
285 | + <char normal="b" shift="B" alt="" altshift=""></char> |
---|
286 | + <move left="key_v" right="key_n" up="key_g" down="key_space"></move> |
---|
287 | + </key> |
---|
288 | + <key name="key_n" type="char" draworder="1"> |
---|
289 | + <position>227,116</position> |
---|
290 | + <char normal="n" shift="N" alt="" altshift=""></char> |
---|
291 | + <move left="key_b" right="key_m" up="key_h" down="key_space"></move> |
---|
292 | + </key> |
---|
293 | + <key name="key_m" type="char" draworder="1"> |
---|
294 | + <position>264,116</position> |
---|
295 | + <char normal="m" shift="M" alt="" altshift=""></char> |
---|
296 | + <move left="key_n" right="key_," up="key_j" down="key_space"></move> |
---|
297 | + </key> |
---|
298 | + <key name="key_," type="char" draworder="1"> |
---|
299 | + <position>301,116</position> |
---|
300 | + <char normal="," shift=";" alt="" altshift=""></char> |
---|
301 | + <move left="key_m" right="key_." up="key_k" down="key_space"></move> |
---|
302 | + </key> |
---|
303 | + <key name="key_." type="char" draworder="1"> |
---|
304 | + <position>338,116</position> |
---|
305 | + <char normal="." shift=":" alt="" altshift=""></char> |
---|
306 | + <move left="key_," right="key_-" up="key_l" down="key_left"></move> |
---|
307 | + </key> |
---|
308 | + <key name="key_-" type="char" draworder="1"> |
---|
309 | + <position>375,116</position> |
---|
310 | + <char normal="-" shift="_" alt="" altshift=""></char> |
---|
311 | + <move left="key_." right="key_z" up="key_Þ" down="key_right"></move> |
---|
312 | + </key> |
---|
313 | + |
---|
314 | + <!-- row 5 --> |
---|
315 | + <key name="key_shift" type="shift" draworder="1"> |
---|
316 | + <fcnfont name="normal" function="focused"></fcnfont> |
---|
317 | + <position>5,153</position> |
---|
318 | + <char normal="Shift" shift="Shift" alt="Shift" altshift="Shift"></char> |
---|
319 | + <move left="key_alt" right="key_lock" up="key_z" down="key_1"></move> |
---|
320 | + <image function="normal" filename="keyboard/key_normal_shift.png"></image> |
---|
321 | + <image function="focused" filename="keyboard/key_focused_shift.png"></image> |
---|
322 | + <image function="down" filename="keyboard/key_down_shift.png"></image> |
---|
323 | + <image function="downfocused" filename="keyboard/key_downfocused_shift.png"></image> |
---|
324 | + </key> |
---|
325 | + <key name="key_lock" type="lock" draworder="1"> |
---|
326 | + <fcnfont name="normal" function="focused"></fcnfont> |
---|
327 | + <position>85,153</position> |
---|
328 | + <char normal="LÃ¥s" shift="LÃ¥s" alt="LÃ¥s" altshift="LÃ¥s"></char> |
---|
329 | + <move left="key_shift" right="key_space" up="key_c" down="key_3"></move> |
---|
330 | + <image function="normal" filename="keyboard/key_normal_shift.png"></image> |
---|
331 | + <image function="focused" filename="keyboard/key_focused_shift.png"></image> |
---|
332 | + <image function="down" filename="keyboard/key_down_shift.png"></image> |
---|
333 | + <image function="downfocused" filename="keyboard/key_downfocused_shift.png"></image> |
---|
334 | + </key> |
---|
335 | + <key name="key_space" type="char" draworder="1"> |
---|
336 | + <position>205,153</position> |
---|
337 | + <char normal=" " shift=" " alt=" " altshift=" "></char> |
---|
338 | + <move left="key_lock" right="key_left" up="key_n" down="key_6"></move> |
---|
339 | + <image function="normal" filename="keyboard/key_normal_space.png"></image> |
---|
340 | + <image function="focused" filename="keyboard/key_focused_space.png"></image> |
---|
341 | + <image function="down" filename="keyboard/key_down_space.png"></image> |
---|
342 | + <image function="downfocused" filename="keyboard/key_downfocused_space.png"></image> |
---|
343 | + </key> |
---|
344 | + <key name="key_left" type="moveleft" draworder="1"> |
---|
345 | + <fcnfont name="larger" function="normal"></fcnfont> |
---|
346 | + <fcnfont name="larger" function="focused"></fcnfont> |
---|
347 | + <fcnfont name="larger" function="down"></fcnfont> |
---|
348 | + <fcnfont name="larger" function="downfocused"></fcnfont> |
---|
349 | + <position>350,153</position> |
---|
350 | + <char normal="â" shift="â" alt="â" altshift="â"></char> |
---|
351 | + <move left="key_space" right="key_right" up="key_." down="key_9"></move> |
---|
352 | + <image function="normal" filename="keyboard/key_normal_move.png"></image> |
---|
353 | + <image function="focused" filename="keyboard/key_focused_move.png"></image> |
---|
354 | + <image function="down" filename="keyboard/key_down_move.png"></image> |
---|
355 | + <image function="downfocused" filename="keyboard/key_downfocused_move.png"></image> |
---|
356 | + </key> |
---|
357 | + <key name="key_right" type="moveright" draworder="1"> |
---|
358 | + <fcnfont name="larger" function="normal"></fcnfont> |
---|
359 | + <fcnfont name="larger" function="focused"></fcnfont> |
---|
360 | + <fcnfont name="larger" function="down"></fcnfont> |
---|
361 | + <fcnfont name="larger" function="downfocused"></fcnfont> |
---|
362 | + <position>405,153</position> |
---|
363 | + <char normal="â" shift="â" alt="â" altshift="â"></char> |
---|
364 | + <move left="key_left" right="key_alt" up="key_-" down="key_0"></move> |
---|
365 | + <image function="normal" filename="keyboard/key_normal_move.png"></image> |
---|
366 | + <image function="focused" filename="keyboard/key_focused_move.png"></image> |
---|
367 | + <image function="down" filename="keyboard/key_down_move.png"></image> |
---|
368 | + <image function="downfocused" filename="keyboard/key_downfocused_move.png"></image> |
---|
369 | + </key> |
---|
370 | + <key name="key_alt" type="alt" draworder="1"> |
---|
371 | + <fcnfont name="normal" function="focused"></fcnfont> |
---|
372 | + <position>460,153</position> |
---|
373 | + <char normal="Alt" shift="Alt" alt="Alt" altshift="Alt"></char> |
---|
374 | + <move left="key_right" right="key_shift" up="key_done" down="key_back"></move> |
---|
375 | + <image function="normal" filename="keyboard/key_normal_back.png"></image> |
---|
376 | + <image function="focused" filename="keyboard/key_focused_back.png"></image> |
---|
377 | + <image function="down" filename="keyboard/key_down_back.png"></image> |
---|
378 | + <image function="downfocused" filename="keyboard/key_downfocused_back.png"></image> |
---|
379 | + </key> |
---|
380 | + |
---|
381 | + </keyboard> |
---|
382 | + |
---|
383 | + </container> |
---|
384 | + |
---|
385 | + </window> |
---|
386 | + |
---|
387 | +</mythuitheme> |
---|
388 | Index: mythtv/themes/default/keyboard/nb.xml |
---|
389 | =================================================================== |
---|
390 | --- mythtv/themes/default/keyboard/nb.xml (revisjon 0) |
---|
391 | +++ mythtv/themes/default/keyboard/nb.xml (revisjon 0) |
---|
392 | @@ -0,0 +1,270 @@ |
---|
393 | +<keydefinitions> |
---|
394 | + |
---|
395 | + <!-- key definitions |
---|
396 | + name - should match one of the keys defined in keyboard.xml |
---|
397 | + |
---|
398 | + type - char add shown char to edit |
---|
399 | + - shift toggle shift state |
---|
400 | + - done close popup keyboard |
---|
401 | + - moveleft move cursor left |
---|
402 | + - moveright move cursor right |
---|
403 | + - lock lock shift on |
---|
404 | + - del delete char to right |
---|
405 | + - back delete char to left |
---|
406 | + - alt show alternate layout |
---|
407 | + |
---|
408 | + char - the char to show on the key in the four modes |
---|
409 | + can be any char or a hex char code like 0x1234 |
---|
410 | + |
---|
411 | + move - key to move to in the up/down/left/right directions |
---|
412 | + --> |
---|
413 | + |
---|
414 | + <!-- top row --> |
---|
415 | + <key name="key_1" type="char"> |
---|
416 | + <char normal="1" shift="!" alt="" altshift=""></char> |
---|
417 | + <move left="key_`" right="key_2" up="key_lshift" down="key_q"></move> |
---|
418 | + </key> |
---|
419 | + <key name="key_2" type="char"> |
---|
420 | + <char normal="2" shift="0x0022" alt="@" altshift=""></char> |
---|
421 | + <move left="key_1" right="key_3" up="key_lshift" down="key_w"></move> |
---|
422 | + </key> |
---|
423 | + <key name="key_3" type="char"> |
---|
424 | + <char normal="3" shift="#" alt="£" altshift=""></char> |
---|
425 | + <move left="key_2" right="key_4" up="key_lock" down="key_e"></move> |
---|
426 | + </key> |
---|
427 | + <key name="key_4" type="char"> |
---|
428 | + <char normal="4" shift="€" alt="$" altshift=""></char> |
---|
429 | + <move left="key_3" right="key_5" up="key_lock" down="key_r"></move> |
---|
430 | + </key> |
---|
431 | + <key name="key_5" type="char"> |
---|
432 | + <char normal="5" shift="%" alt="" altshift=""></char> |
---|
433 | + <move left="key_4" right="key_6" up="key_lock" down="key_t"></move> |
---|
434 | + </key> |
---|
435 | + <key name="key_6" type="char"> |
---|
436 | + <char normal="6" shift="0x0026" alt="" altshift=""></char> |
---|
437 | + <move left="key_5" right="key_7" up="key_space" down="key_y"></move> |
---|
438 | + </key> |
---|
439 | + <key name="key_7" type="char"> |
---|
440 | + <char normal="7" shift="/" alt="{" altshift=""></char> |
---|
441 | + <move left="key_6" right="key_8" up="key_space" down="key_u"></move> |
---|
442 | + </key> |
---|
443 | + <key name="key_8" type="char"> |
---|
444 | + <char normal="8" shift="(" alt="[" altshift=""></char> |
---|
445 | + <move left="key_7" right="key_9" up="key_alt" down="key_i"></move> |
---|
446 | + </key> |
---|
447 | + <key name="key_9" type="char"> |
---|
448 | + <char normal="9" shift="(" alt="9" altshift="("></char> |
---|
449 | + <move left="key_8" right="key_0" up="key_alt" down="key_o"></move> |
---|
450 | + </key> |
---|
451 | + <key name="key_0" type="char"> |
---|
452 | + <char normal="0" shift="=" alt="}" altshift=""></char> |
---|
453 | + <move left="key_9" right="key_-" up="key_moveleft" down="key_p"></move> |
---|
454 | + </key> |
---|
455 | + <key name="key_-" type="char"> |
---|
456 | + <char normal="-" shift="_" alt="-" altshift="_"></char> |
---|
457 | + <move left="key_0" right="key_=" up="key_moveright" down="key_["></move> |
---|
458 | + </key> |
---|
459 | + <key name="key_=" type="char"> |
---|
460 | + <char normal="=" shift="+" alt="=" altshift="+"></char> |
---|
461 | + <move left="key_-" right="key_#" up="key_moveright" down="key_]"></move> |
---|
462 | + </key> |
---|
463 | + <key name="key_#" type="char"> |
---|
464 | + <char normal="#" shift="~" alt="#" altshift="~"></char> |
---|
465 | + <move left="key_=" right="key_`" up="key_rshift" down="key_back"></move> |
---|
466 | + </key> |
---|
467 | + <key name="key_`" type="char"> |
---|
468 | + <char normal="`" shift="0x00ac" alt="`" altshift="0x00ac"></char> |
---|
469 | + <move left="key_#" right="key_1" up="key_rshift" down="key_back"></move> |
---|
470 | + </key> |
---|
471 | + |
---|
472 | + <!-- row 2 --> |
---|
473 | + <key name="key_q" type="char"> |
---|
474 | + <char normal="q" shift="Q" alt="§" altshift=""></char> |
---|
475 | + <move left="key_back" right="key_w" up="key_1" down="key_a"></move> |
---|
476 | + </key> |
---|
477 | + <key name="key_w" type="char"> |
---|
478 | + <char normal="w" shift="W" alt="œ" altshift=""></char> |
---|
479 | + <move left="key_q" right="key_e" up="key_2" down="key_s"></move> |
---|
480 | + </key> |
---|
481 | + <key name="key_e" type="char"> |
---|
482 | + <char normal="e" shift="E" alt="â¬" altshift=""></char> |
---|
483 | + <move left="key_w" right="key_r" up="key_3" down="key_d"></move> |
---|
484 | + </key> |
---|
485 | + <key name="key_r" type="char"> |
---|
486 | + <char normal="r" shift="R" alt="®" altshift=""></char> |
---|
487 | + <move left="key_e" right="key_t" up="key_4" down="key_f"></move> |
---|
488 | + </key> |
---|
489 | + <key name="key_t" type="char"> |
---|
490 | + <char normal="t" shift="T" alt="+" altshift=""></char> |
---|
491 | + <move left="key_r" right="key_y" up="key_5" down="key_g"></move> |
---|
492 | + </key> |
---|
493 | + <key name="key_y" type="char"> |
---|
494 | + <char normal="y" shift="Y" alt="?" altshift=""></char> |
---|
495 | + <move left="key_t" right="key_u" up="key_6" down="key_h"></move> |
---|
496 | + </key> |
---|
497 | + <key name="key_u" type="char"> |
---|
498 | + <char normal="u" shift="U" alt="~" altshift=""></char> |
---|
499 | + <move left="key_y" right="key_i" up="key_7" down="key_j"></move> |
---|
500 | + </key> |
---|
501 | + <key name="key_i" type="char"> |
---|
502 | + <char normal="i" shift="I" alt="\" altshift=""></char> |
---|
503 | + <move left="key_u" right="key_o" up="key_8" down="key_k"></move> |
---|
504 | + </key> |
---|
505 | + <key name="key_o" type="char"> |
---|
506 | + <char normal="o" shift="O" alt="^" altshift=""></char> |
---|
507 | + <move left="key_i" right="key_p" up="key_9" down="key_l"></move> |
---|
508 | + </key> |
---|
509 | + <key name="key_p" type="char"> |
---|
510 | + <char normal="p" shift="P" alt="*" altshift=""></char> |
---|
511 | + <move left="key_o" right="key_[" up="key_0" down="key_;"></move> |
---|
512 | + </key> |
---|
513 | + <key name="key_[" type="char"> |
---|
514 | + <char normal="Ã¥" shift="Ã
" alt="'" altshift=""></char> |
---|
515 | + <move left="key_p" right="key_]" up="key_-" down="key_'"></move> |
---|
516 | + </key> |
---|
517 | + <key name="key_]" type="char"> |
---|
518 | + <char normal="]" shift="}" alt="]" altshift="}"></char> |
---|
519 | + <move left="key_[" right="key_back" up="key_=" down="key_'"></move> |
---|
520 | + </key> |
---|
521 | + |
---|
522 | + <!-- row 3 --> |
---|
523 | + <key name="key_a" type="char"> |
---|
524 | + <char normal="a" shift="A" alt="" altshift=""></char> |
---|
525 | + <move left="key_done" right="key_s" up="key_q" down="key_z"></move> |
---|
526 | + </key> |
---|
527 | + <key name="key_s" type="char"> |
---|
528 | + <char normal="s" shift="S" alt="" altshift=""></char> |
---|
529 | + <move left="key_a" right="key_d" up="key_w" down="key_x"></move> |
---|
530 | + </key> |
---|
531 | + <key name="key_d" type="char"> |
---|
532 | + <char normal="d" shift="D" alt="" altshift=""></char> |
---|
533 | + <move left="key_s" right="key_f" up="key_e" down="key_c"></move> |
---|
534 | + </key> |
---|
535 | + <key name="key_f" type="char"> |
---|
536 | + <char normal="f" shift="F" alt="" altshift=""></char> |
---|
537 | + <move left="key_d" right="key_g" up="key_r" down="key_v"></move> |
---|
538 | + </key> |
---|
539 | + <key name="key_g" type="char"> |
---|
540 | + <char normal="g" shift="G" alt="" altshift=""></char> |
---|
541 | + <move left="key_f" right="key_h" up="key_t" down="key_b"></move> |
---|
542 | + </key> |
---|
543 | + <key name="key_h" type="char"> |
---|
544 | + <char normal="h" shift="H" alt="" altshift=""></char> |
---|
545 | + <move left="key_g" right="key_j" up="key_y" down="key_n"></move> |
---|
546 | + </key> |
---|
547 | + <key name="key_j" type="char"> |
---|
548 | + <char normal="j" shift="J" alt="" altshift=""></char> |
---|
549 | + <move left="key_h" right="key_k" up="key_u" down="key_m"></move> |
---|
550 | + </key> |
---|
551 | + <key name="key_k" type="char"> |
---|
552 | + <char normal="k" shift="K" alt="Ã" altshift=""></char> |
---|
553 | + <move left="key_j" right="key_l" up="key_i" down="key_,"></move> |
---|
554 | + </key> |
---|
555 | + <key name="key_l" type="char"> |
---|
556 | + <char normal="l" shift="L" alt="Å" altshift=""></char> |
---|
557 | + <move left="key_k" right="key_;" up="key_o" down="key_."></move> |
---|
558 | + </key> |
---|
559 | + <key name="key_;" type="char"> |
---|
560 | + <char normal="Ê" shift="Ã" alt="" altshift=""></char> |
---|
561 | + <move left="key_l" right="key_'" up="key_p" down="key_/"></move> |
---|
562 | + </key> |
---|
563 | + <key name="key_'" type="char"> |
---|
564 | + <char normal="Þ" shift="Ã" alt="" altshift=""></char> |
---|
565 | + <move left="key_;" right="key_done" up="key_[" down="key_comp"></move> |
---|
566 | + </key> |
---|
567 | + |
---|
568 | + <!-- row 4 --> |
---|
569 | + <key name="key_\" type="char"> |
---|
570 | + <char normal="\" shift="|" alt="\" altshift="|"></char> |
---|
571 | + <move left="key_del" right="key_z" up="key_a" down="key_lshift"></move> |
---|
572 | + </key> |
---|
573 | + <key name="key_z" type="char"> |
---|
574 | + <char normal="z" shift="Z" alt="0x003c" altshift=""></char> |
---|
575 | + <move left="key_\" right="key_x" up="key_a" down="key_lshift"></move> |
---|
576 | + </key> |
---|
577 | + <key name="key_x" type="char"> |
---|
578 | + <char normal="x" shift="X" alt="0x003e" altshift=""></char> |
---|
579 | + <move left="key_z" right="key_c" up="key_s" down="key_lock"></move> |
---|
580 | + </key> |
---|
581 | + <key name="key_c" type="char"> |
---|
582 | + <char normal="c" shift="C" alt="|" altshift=""></char> |
---|
583 | + <move left="key_x" right="key_v" up="key_d" down="key_lock"></move> |
---|
584 | + </key> |
---|
585 | + <key name="key_v" type="char"> |
---|
586 | + <char normal="v" shift="V" alt="" altshift=""></char> |
---|
587 | + <move left="key_c" right="key_b" up="key_f" down="key_lock"></move> |
---|
588 | + </key> |
---|
589 | + <key name="key_b" type="char"> |
---|
590 | + <char normal="b" shift="B" alt="" altshift=""></char> |
---|
591 | + <move left="key_v" right="key_n" up="key_g" down="key_space"></move> |
---|
592 | + </key> |
---|
593 | + <key name="key_n" type="char"> |
---|
594 | + <char normal="n" shift="N" alt="" altshift=""></char> |
---|
595 | + <move left="key_b" right="key_m" up="key_h" down="key_space"></move> |
---|
596 | + </key> |
---|
597 | + <key name="key_m" type="char"> |
---|
598 | + <char normal="m" shift="M" alt="" altshift=""></char> |
---|
599 | + <move left="key_n" right="key_," up="key_j" down="key_alt"></move> |
---|
600 | + </key> |
---|
601 | + <key name="key_," type="char"> |
---|
602 | + <char normal="," shift=";" alt="" altshift=""></char> |
---|
603 | + <move left="key_m" right="key_." up="key_k" down="key_alt"></move> |
---|
604 | + </key> |
---|
605 | + <key name="key_." type="char"> |
---|
606 | + <char normal="." shift=":" alt="" altshift=""></char> |
---|
607 | + <move left="key_," right="key_/" up="key_l" down="key_moveleft"></move> |
---|
608 | + </key> |
---|
609 | + <key name="key_/" type="char"> |
---|
610 | + <char normal="-" shift="_" alt="" altshift=""></char> |
---|
611 | + <move left="key_." right="key_comp" up="key_;" down="key_moveleft"></move> |
---|
612 | + </key> |
---|
613 | + |
---|
614 | + <!-- row 5 --> |
---|
615 | + <key name="key_space" type="char"> |
---|
616 | + <char normal=" " shift=" " alt=" " altshift=" "></char> |
---|
617 | + <move left="key_lock" right="key_alt" up="key_n" down="key_7"></move> |
---|
618 | + </key> |
---|
619 | + |
---|
620 | + <!-- special keys --> |
---|
621 | + <key name="key_lshift" type="shift"> |
---|
622 | + <char normal="" shift="" alt="" altshift=""></char> |
---|
623 | + <move left="key_rshift" right="key_lock" up="key_\" down="key_1"></move> |
---|
624 | + </key> |
---|
625 | + <key name="key_lock" type="lock"> |
---|
626 | + <char normal="LÃ¥s" shift="LÃ¥s" alt="LÃ¥s" altshift="LÃ¥s"></char> |
---|
627 | + <move left="key_lshift" right="key_space" up="key_x" down="key_4"></move> |
---|
628 | + </key> |
---|
629 | + <key name="key_moveleft" type="moveleft"> |
---|
630 | + <char normal="" shift="" alt="" altshift=""></char> |
---|
631 | + <move left="key_alt" right="key_moveright" up="key_/" down="key_0"></move> |
---|
632 | + </key> |
---|
633 | + <key name="key_moveright" type="moveright"> |
---|
634 | + <char normal="" shift="" alt="" altshift=""></char> |
---|
635 | + <move left="key_moveleft" right="key_rshift" up="key_comp" down="key_="></move> |
---|
636 | + </key> |
---|
637 | + <key name="key_rshift" type="shift"> |
---|
638 | + <char normal="" shift="" alt="" altshift=""></char> |
---|
639 | + <move left="key_moveright" right="key_lshift" up="key_del" down="key_`"></move> |
---|
640 | + </key> |
---|
641 | + <key name="key_back" type="back"> |
---|
642 | + <char normal="Back" shift="Back" alt="Back" altshift="Back"></char> |
---|
643 | + <move left="key_]" right="key_q" up="key_`" down="key_done"></move> |
---|
644 | + </key> |
---|
645 | + <key name="key_comp" type="comp"> |
---|
646 | + <char normal="Comp" shift="Comp" alt="Comp" altshift="Comp"></char> |
---|
647 | + <move left="key_/" right="key_del" up="key_'" down="key_moveright"></move> |
---|
648 | + </key> |
---|
649 | + <key name="key_del" type="del"> |
---|
650 | + <char normal="Del" shift="Del" alt="Del" altshift="Del"></char> |
---|
651 | + <move left="key_comp" right="key_\" up="key_done" down="key_rshift"></move> |
---|
652 | + </key> |
---|
653 | + <key name="key_done" type="done"> |
---|
654 | + <char normal="" shift="" alt="" altshift=""></char> |
---|
655 | + <move left="key_'" right="key_a" up="key_back" down="key_del"></move> |
---|
656 | + </key> |
---|
657 | + <key name="key_alt" type="alt"> |
---|
658 | + <char normal="Alt" shift="Alt" alt="Alt" altshift="Alt"></char> |
---|
659 | + <move left="key_space" right="key_moveleft" up="key_," down="key_9"></move> |
---|
660 | + </key> |
---|
661 | + |
---|
662 | +</keydefinitions> |
---|