]> git.immae.eu Git - perso/Immae/Projets/Python/MusicSampler.git/blame - music_sampler/music_sampler.kv
Use labels stacking to build playlist
[perso/Immae/Projets/Python/MusicSampler.git] / music_sampler / music_sampler.kv
CommitLineData
8612c5f8 1#:import math math
63ba5a8d 2#:import h music_sampler
8612c5f8
IB
3
4<Key>:
5 pad_col_sep: 0 if not self.pad_cols else self.parent.pad_x
6 pad_cols: False
7
8 y: (self.parent.top-self.parent.y) - (self.row) * self.parent.key_size - (self.row - 1) * self.parent.key_sep
9 x: (self.col - 1) * self.parent.key_size + int(self.col - 1) * self.parent.key_sep + self.pad_col_sep
10 size_hint: None, None
8612c5f8
IB
11 enabled: True
12 line_width: 2
13 row: 1
14 col: 0
15 key_code: 0
16 key_sym: ""
17 key_width: 1
18 key_height: 1
19 width: self.key_width * (self.parent.key_size + self.parent.key_sep) - self.parent.key_sep
20 height: self.key_height * (self.parent.key_size + self.parent.key_sep) - self.parent.key_sep
21 canvas.before:
22 Color:
23 rgba: self.color
24 RoundedRectangle:
25 pos: self.x, self.y
26 size: self.size
27 canvas:
28 Color:
29 rgba: self.line_color
30 Line:
31 rounded_rectangle: self.x + self.line_width, self.y + self.line_width, self.width - 2 * self.line_width, self.height - 2 * self.line_width, 10
32 width: self.line_width
635dea02
IB
33 Color:
34 rgba: self.line_cross_color
35 Line:
36 points: self.x + self.line_width + 3, self.y + self.line_width + 3, self.x + self.width - 2 * self.line_width - 3, self.y + self.height - 2 * self.line_width - 3
37 width: self.line_width
38 Line:
39 points: self.x + self.line_width + 3, self.y + self.height - 2 * self.line_width - 3, self.x + self.width - 2 * self.line_width - 3, self.y + self.line_width + 3
40 width: self.line_width
8612c5f8
IB
41 Label:
42 id: key_label
35bde798
IB
43 font_name: "Ubuntu"
44 bold: True
8612c5f8
IB
45 font_size: math.ceil(2 * math.sqrt(self.parent.parent.key_size))
46 color: 0, 0, 0, 1
47 text: self.parent.key_sym
48 text_size: self.parent.width,self.font_size
49 shorten: True
50 shorten_from: "right"
51 split_str: ""
52 center_x: self.parent.x + self.texture_size[0] /2 + 5
53 center_y: self.parent.y + self.parent.height - self.texture_size[1] /2 - 5
54 Label:
55 id: key_description_title
35bde798 56 font_name: "Ubuntu"
8612c5f8
IB
57 font_size: math.ceil(2 * math.sqrt(self.parent.parent.key_size / 2))
58 color: 0, 0, 0, 1
59 text: self.parent.description_title
60 text_size: self.parent.width - 2*self.parent.line_width, self.font_size
61 halign: "right"
62 valign: "middle"
63 center_x: self.parent.x + self.texture_size[0] /2
64 center_y: self.parent.y + self.parent.height - self.texture_size[1] /2 - 5
65 Label:
66 id: key_description
35bde798 67 font_name: "Ubuntu"
8612c5f8
IB
68 font_size: math.ceil(2 * math.sqrt(self.parent.parent.key_size / 2))
69 color: 0, 0, 0, 1
70 text: "\n".join(self.parent.description)
71 text_size: 2 * self.parent.width,self.parent.height - key_label.font_size
72 halign: "left"
73 valign: "middle"
74 pos: self.parent.x + 2 * self.parent.line_width + 2, self.parent.y
75 size_hint: None, None
76 size: 2 * self.parent.width - 2 * self.parent.line_width, self.parent.height - key_label.font_size
77
78<Screen>:
4b2d79ca
IB
79 canvas:
80 Color:
81 rgba: 229/255, 228/255, 226/255, 1
82 Rectangle:
83 pos: 0, 0
84 size: self.width, self.height
85
8612c5f8
IB
86 key_size: int( (3 * self.width - 16) / 56)
87 key_sep: int( self.key_size / 24)
88 key_pad_sep: int( self.key_size / 7) + 1
89
90 border: (self.width - self.key_size * 18 - self.key_sep * 16 - self.key_pad_sep)/ 2
91
92 mapping_height: self.key_size * 6 + self.key_sep * 5
93 mapping_width: self.key_size * 18 + self.key_sep * 16 + self.key_pad_sep
94 mapping_x: self.border
95 mapping_y: self.top - self.mapping_height - self.border
65ec4d2a
IB
96
97 key_list_width: 4 * (mock_ubuntu_regular.width or 0)
98 key_list_height: self.height - self.mapping_height - 3 * self.border
99 key_list_x: (self.action_list_width or 0) + 2 * self.border
100 key_list_y: self.border
101
8612c5f8 102 action_list_height: self.height - self.mapping_height - 3 * self.border
65ec4d2a 103 action_list_width: 3 * self.width / 4 - self.key_list_width - self.border
8612c5f8
IB
104 action_list_x: self.border
105 action_list_y: self.border
65ec4d2a 106
8612c5f8 107 play_list_height: self.action_list_height
d734981b 108 play_list_width: self.width - self.key_list_width - self.action_list_width - 4* self.border
8612c5f8 109 play_list_y: self.border
65ec4d2a 110 play_list_x: self.action_list_width + self.key_list_width + 3 * self.border
8612c5f8 111
d734981b 112 max_height: max(mock_symbola.height, mock_ubuntu_regular.height, mock_ubuntu_bold.height)
8601cdd8
IB
113 min_height: min(mock_symbola.height, mock_ubuntu_regular.height, mock_ubuntu_bold.height)
114 symbola_line_height: self.min_height / max(mock_symbola.height,1)
115 ubuntu_regular_line_height: self.min_height / max(mock_ubuntu_regular.height,1)
116 ubuntu_bold_line_height: self.min_height / max(mock_ubuntu_bold.height,1)
d734981b 117
8601cdd8
IB
118 Label:
119 id: mock_symbola
35bde798 120 font_name: "Symbola"
8601cdd8
IB
121 font_size: math.ceil(2 * math.sqrt(self.parent.key_size or 10))
122 color: 0, 0, 0, 0
123 text: "A"
124 text_size: None, None
125 size_hint: None, None
126 size: self.texture_size
127 Label:
128 id: mock_ubuntu_regular
35bde798 129 font_name: "Ubuntu"
8601cdd8
IB
130 font_size: math.ceil(2 * math.sqrt(self.parent.key_size or 10))
131 color: 0, 0, 0, 0
132 text: "A"
133 text_size: None, None
134 size_hint: None, None
135 size: self.texture_size
136 Label:
137 id: mock_ubuntu_bold
35bde798
IB
138 font_name: "Ubuntu"
139 bold: True
8601cdd8
IB
140 font_size: math.ceil(2 * math.sqrt(self.parent.key_size or 10))
141 color: 0, 0, 0, 0
142 text: "A"
143 text_size: None, None
144 size_hint: None, None
145 size: self.texture_size
146
8612c5f8
IB
147 Mapping:
148 id: Mapping
149 pos: self.parent.mapping_x, self.parent.mapping_y
150 size: self.parent.mapping_width, self.parent.mapping_height
151
152 key_size: self.parent.key_size
153 key_sep: self.parent.key_sep
154 key_pad_sep: self.parent.key_pad_sep
155 pad_x: self.key_size * 15 + 14 * self.key_sep + self.key_pad_sep
156 ActionList:
157 id: ActionList
158 pos: self.parent.action_list_x, self.parent.action_list_y
159 size: self.parent.action_list_width, self.parent.action_list_height
65ec4d2a
IB
160 KeyList:
161 id: KeyList
162 pos: self.parent.key_list_x, self.parent.key_list_y
163 size: self.parent.key_list_width, self.parent.key_list_height
8612c5f8
IB
164 PlayList:
165 id: PlayList
166 pos: self.parent.play_list_x, self.parent.play_list_y
167 size: self.parent.play_list_width, self.parent.play_list_height
168
65ec4d2a
IB
169<KeyList>:
170 size_hint: None, None
171 canvas:
172 Color:
173 rgba: 250./255, 250./255, 250./255, 1
174 Rectangle:
175 pos: 0, 0
176 size: self.width, self.height
177 Label:
178 id: key_list_first
35bde798
IB
179 font_name: "Ubuntu"
180 bold: True
65ec4d2a
IB
181 font_size: math.ceil(2 * math.sqrt(self.parent.parent.key_size or 10))
182 color: 0, 0, 0, 1
183 text: self.parent.first_key
184 text_size: None, None
185 valign: "top"
98ff4305 186 halign: "center"
65ec4d2a
IB
187 size_hint: None, None
188 size: self.parent.width, self.texture_size[1]
189 pos: 0, self.parent.height - self.height
190 Label:
191 id: key_list_second
35bde798 192 font_name: "Ubuntu"
65ec4d2a
IB
193 font_size: math.ceil(2 * math.sqrt(self.parent.parent.key_size or 10))
194 color: 0, 0, 0, 1
195 text: self.parent.second_key
196 text_size: None, None
197 valign: "top"
98ff4305 198 halign: "center"
65ec4d2a
IB
199 size_hint: None, None
200 size: self.parent.width, self.texture_size[1]
201 pos: 0, self.parent.height - key_list_first.height - self.height
202 Label:
203 id: key_list_third
35bde798 204 font_name: "Ubuntu"
65ec4d2a
IB
205 font_size: math.ceil(2 * math.sqrt(self.parent.parent.key_size or 10))
206 color: 0, 0, 0, 0.75
207 text: self.parent.third_key
208 text_size: None, None
209 valign: "top"
98ff4305 210 halign: "center"
65ec4d2a
IB
211 size_hint: None, None
212 size: self.parent.width, self.texture_size[1]
213 pos: 0, self.parent.height - key_list_first.height - key_list_second.height - self.height
214 Label:
215 id: key_list_rest
35bde798 216 font_name: "Ubuntu"
65ec4d2a
IB
217 font_size: math.ceil(2 * math.sqrt(self.parent.parent.key_size or 10))
218 color: 0, 0, 0, 0.5
219 text: "\n".join(self.parent.keylist[3:])
220 text_size: None, None
221 valign: "top"
98ff4305 222 halign: "center"
65ec4d2a
IB
223 size_hint: None, None
224 size: self.parent.width, self.texture_size[1]
225 pos: 0, self.parent.height - key_list_first.height - key_list_second.height - key_list_third.height - self.height
226
8612c5f8
IB
227<ActionList>:
228 size_hint: None, None
229 canvas:
230 Color:
231 rgba: 250./255, 250./255, 250./255, 1
232 Rectangle:
233 pos: 0, 0
234 size: self.width, self.height
7910d58d 235
8612c5f8
IB
236 Label:
237 id: action_list_title
35bde798
IB
238 font_name: "Ubuntu"
239 bold: True
8612c5f8
IB
240 font_size: math.ceil(2 * math.sqrt(self.parent.parent.key_size or 10))
241 color: 0, 0, 0, 1
242 text: self.parent.action_title
243 text_size: None, self.parent.height
244 halign: "left"
245 valign: "top"
246 size_hint: None, None
247 size: self.texture_size[0], self.parent.height
248 Label:
249 id: action_list_icons
35bde798 250 font_name: "Symbola"
8612c5f8 251 font_size: math.ceil(2 * math.sqrt(self.parent.parent.key_size or 10))
8601cdd8 252 line_height: self.parent.parent.symbola_line_height or 1
8612c5f8
IB
253 color: 0, 0, 0, 1
254 text: "\n".join(map(lambda x: x[0], self.parent.action_list))
255 text_size: None, self.parent.height
256 halign: "left"
257 valign: "top"
258 size_hint: None, None
259 size: self.texture_size[0], self.parent.height - 3 * self.line_height * self.font_size
260 Label:
261 id: action_list_names
35bde798 262 font_name: "Ubuntu"
8612c5f8 263 font_size: math.ceil(2 * math.sqrt(self.parent.parent.key_size or 10))
8601cdd8 264 line_height: self.parent.parent.ubuntu_regular_line_height or 1
8612c5f8
IB
265 color: 0, 0, 0, 1
266 text: "\n".join(map(lambda x: x[1], self.parent.action_list))
267 text_size: None, self.parent.height
268 halign: "left"
269 valign: "top"
270 size_hint: None, None
271 pos: 15, self.y
272 size: self.texture_size[0], self.parent.height - 3 * self.line_height * self.font_size
273
274<PlayList>:
275 size_hint: None, None
d734981b 276 labels_height: self.parent.max_height or 1
8612c5f8
IB
277 canvas:
278 Color:
279 rgba: 250./255, 250./255, 250./255, 1
280 Rectangle:
281 pos: 0, 0
282 size: self.width, self.height
d734981b
IB
283 PlayListIcons:
284 orientation: 'lr-tb'
285 size_hint: 0.05, 1
286 pos_hints: { 'x': 0, 'top': 0 }
287 PlayListNames:
288 orientation: 'lr-tb'
289 pos_hint: { 'x': 0.05, 'bottom': 0 }
290 size_hint: 0.65, 1
291 PlayListTimes:
292 orientation: 'lr-tb'
293 pos_hint: { 'x': 0.7, 'bottom': 0 }
294 size_hint: 0.30, 1
8612c5f8 295
d734981b
IB
296<PlayListIcon>:
297 font_name: "Symbola"
298 color: 0, 0, 0, 1
299 text_size: None, None
300 halign: "left"
301 size_hint: 1, None
302 width: self.texture_size[0]
303
304<PlayListName>:
305 font_name: "Ubuntu"
306 color: 0, 0, 0, 1
307 text_size: None, None
308 halign: "left"
309 size_hint: None, None
310 width: self.texture_size[0]
311
312<PlayListTime>:
313 canvas.before:
314 Color:
315 rgba: 250./255, 250./255, 250./255, 1
316 Rectangle:
317 pos: self.pos
318 size: self.width, self.height
319 font_name: "Ubuntu"
320 color: 0, 0, 0, 1
321 text_size: None, None
322 halign: "left"
323 size_hint: None, None
324 width: self.texture_size[0]
325
8612c5f8
IB
326<Mapping>:
327 size_hint: None, None
328 key_size: 48
329 key_sep: 2
330 key_pad_sep: 7
331 pad_x: 755
332 canvas:
333 Color:
334 rgba: 250./255, 250./255, 250./255, 1
335 Rectangle:
336 pos: 0, 0
337 size: self.width, self.height
30d8796f
IB
338 Color:
339 rgba: self.ready_color
340 Ellipse:
341 pos: self.width - self.key_size / 2, self.height - self.key_size /2
342 size: self.key_size / 3, self.key_size / 3
1b4b78f5 343 Label:
35bde798 344 font_name: "Ubuntu"
1b4b78f5
IB
345 font_size: math.ceil(2 * math.sqrt(self.parent.key_size or 10))
346 color: 0, 0, 0, 1
347 text: "volume: {}%".format(self.parent.master_volume)
348 valign: "top"
349 size_hint: None, None
350 size: self.texture_size[0], self.texture_size[1]
351 x: self.parent.width - self.width - 2 * self.parent.key_size / 3
352 center_y: self.parent.height - self.height
8612c5f8
IB
353 Key:
354 id: Key_27
355 key_code: 27
356 key_sym: "ESC"
357 row: 1
358 col: 1
359 Key:
360 id: Key_282
361 key_code: 282
362 key_sym: "F1"
363 row: 1
364 col: 3
365 Key:
366 id: Key_283
367 key_code: 283
368 key_sym: "F2"
369 row: 1
370 col: 4
371 Key:
372 id: Key_284
373 key_code: 284
374 key_sym: "F3"
375 row: 1
376 col: 5
377 Key:
378 id: Key_285
379 key_code: 285
380 key_sym: "F4"
381 row: 1
382 col: 6
383
384 Key:
385 id: Key_286
386 key_code: 286
387 key_sym: "F5"
388 row: 1
389 col: 7.5
390 Key:
391 id: Key_287
392 key_code: 287
393 key_sym: "F6"
394 row: 1
395 col: 8.5
396 Key:
397 id: Key_288
398 key_code: 288
399 key_sym: "F7"
400 row: 1
401 col: 9.5
402 Key:
403 id: Key_289
404 key_code: 289
405 key_sym: "F8"
406 row: 1
407 col: 10.5
408
409 Key:
410 id: Key_290
411 key_code: 290
412 key_sym: "F9"
413 row: 1
414 col: 12
415 Key:
416 id: Key_291
417 key_code: 291
418 key_sym: "F10"
419 row: 1
420 col: 13
421 Key:
422 id: Key_292
423 key_code: 292
424 key_sym: "F11"
425 row: 1
426 col: 14
427 Key:
428 id: Key_293
429 key_code: 293
430 key_sym: "F12"
431 row: 1
432 col: 15
433
434 Key:
435 id: Key_178
436 key_code: 178
437 key_sym: "²"
438 row: 2
439 col: 1
440 Key:
441 id: Key_38
442 key_code: 38
443 key_sym: "&"
444 row: 2
445 col: 2
446 Key:
447 id: Key_233
448 key_code: 233
449 key_sym: "é"
450 row: 2
451 col: 3
452 Key:
453 id: Key_34
454 key_code: 34
455 key_sym: '"'
456 row: 2
457 col: 4
458 Key:
459 id: Key_39
460 key_code: 39
461 key_sym: "'"
462 row: 2
463 col: 5
464 Key:
465 id: Key_40
466 key_code: 40
467 key_sym: "("
468 row: 2
469 col: 6
470 Key:
471 id: Key_45
472 key_code: 45
473 key_sym: "-"
474 row: 2
475 col: 7
476 Key:
477 id: Key_232
478 key_code: 232
479 key_sym: "è"
480 row: 2
481 col: 8
482 Key:
483 id: Key_95
484 key_code: 95
485 key_sym: "_"
486 row: 2
487 col: 9
488 Key:
489 id: Key_231
490 key_code: 231
491 key_sym: "ç"
492 row: 2
493 col: 10
494 Key:
495 id: Key_224
496 key_code: 224
497 key_sym: "à"
498 row: 2
499 col: 11
500 Key:
501 id: Key_41
502 key_code: 41
503 key_sym: ")"
504 row: 2
505 col: 12
506 Key:
507 id: Key_61
508 key_code: 61
509 key_sym: "="
510 row: 2
511 col: 13
512 Key:
513 id: Key_8
514 key_code: 8
515 key_sym: "<-"
516 row: 2
517 col: 14
518 key_width: 2
519 Key:
520 id: Key_9
521 key_code: 9
522 key_sym: "tab"
523 row: 3
524 col: 1
525 key_width: 1.48
526 Key:
527 id: Key_97
528 key_code: 97
529 key_sym: "a"
530 row: 3
531 col: 2.5
532 Key:
533 id: Key_122
534 key_code: 122
535 key_sym: "z"
536 row: 3
537 col: 3.5
538 Key:
539 id: Key_101
540 key_code: 101
541 key_sym: "e"
542 row: 3
543 col: 4.5
544 Key:
545 id: Key_114
546 key_code: 114
547 key_sym: "r"
548 row: 3
549 col: 5.5
550 Key:
551 id: Key_116
552 key_code: 116
553 key_sym: "t"
554 row: 3
555 col: 6.5
556 Key:
557 id: Key_121
558 key_code: 121
559 key_sym: "y"
560 row: 3
561 col: 7.5
562 Key:
563 id: Key_117
564 key_code: 117
565 key_sym: "u"
566 row: 3
567 col: 8.5
568 Key:
569 id: Key_105
570 key_code: 105
571 key_sym: "i"
572 row: 3
573 col: 9.5
574 Key:
575 id: Key_111
576 key_code: 111
577 key_sym: "o"
578 row: 3
579 col: 10.5
580 Key:
581 id: Key_112
582 key_code: 112
583 key_sym: "p"
584 row: 3
585 col: 11.5
586 Key:
587 id: Key_94
588 key_code: 94
589 key_sym: "^"
590 row: 3
591 col: 12.5
592 Key:
593 id: Key_36
594 key_code: 36
595 key_sym: "$"
596 row: 3
597 col: 13.5
598 Key:
599 id: Key_13
600 key_code: 13
601 key_sym: "Enter"
602 row: 4
603 col: 14.8
604 key_width: 1.23
605 key_height: 2
606 Key:
607 id: Key_301
608 key_code: 301
609 key_sym: "CAPS"
610 row: 4
611 col: 1
612 key_width: 1.75
613 line_width: 1
614 enabled: False
615
616 Key:
617 id: Key_113
618 key_code: 113
619 key_sym: "q"
620 row: 4
621 col: 2.8
622 Key:
623 id: Key_115
624 key_code: 115
625 key_sym: "s"
626 row: 4
627 col: 3.8
628 Key:
629 id: Key_100
630 key_code: 100
631 key_sym: "d"
632 row: 4
633 col: 4.8
634 Key:
635 id: Key_102
636 key_code: 102
637 key_sym: "f"
638 row: 4
639 col: 5.8
640 Key:
641 id: Key_103
642 key_code: 103
643 key_sym: "g"
644 row: 4
645 col: 6.8
646 Key:
647 id: Key_104
648 key_code: 104
649 key_sym: "h"
650 row: 4
651 col: 7.8
652 Key:
653 id: Key_106
654 key_code: 106
655 key_sym: "j"
656 row: 4
657 col: 8.8
658 Key:
659 id: Key_107
660 key_code: 107
661 key_sym: "k"
662 row: 4
663 col: 9.8
664 Key:
665 id: Key_108
666 key_code: 108
667 key_sym: "l"
668 row: 4
669 col: 10.8
670 Key:
671 id: Key_109
672 key_code: 109
673 key_sym: "m"
674 row: 4
675 col: 11.8
676 Key:
677 id: Key_249
678 key_code: 249
679 key_sym: "ù"
680 row: 4
681 col: 12.8
682 Key:
683 id: Key_42
684 key_code: 42
685 key_sym: "*"
686 row: 4
687 col: 13.8
688 Key:
689 id: Key_304
690 key_code: 304
691 key_sym: "LShift"
692 row: 5
693 col: 1
694 key_width: 1.3
695 line_width: 1
696 enabled: False
697 Key:
698 id: Key_60
699 key_code: 60
700 key_sym: "<"
701 row: 5
702 col: 2.3
703 Key:
704 id: Key_119
705 key_code: 119
706 key_sym: "w"
707 row: 5
708 col: 3.3
709 Key:
710 id: Key_120
711 key_code: 120
712 key_sym: "x"
713 row: 5
714 col: 4.3
715 Key:
716 id: Key_99
717 key_code: 99
718 key_sym: "c"
719 row: 5
720 col: 5.3
721 Key:
722 id: Key_118
723 key_code: 118
724 key_sym: "v"
725 row: 5
726 col: 6.3
727 Key:
728 id: Key_98
729 key_code: 98
730 key_sym: "b"
731 row: 5
732 col: 7.3
733 Key:
734 id: Key_110
735 key_code: 110
736 key_sym: "n"
737 row: 5
738 col: 8.3
739 Key:
740 id: Key_44
741 key_code: 44
742 key_sym: ","
743 row: 5
744 col: 9.3
745 Key:
746 id: Key_59
747 key_code: 59
748 key_sym: ";"
749 row: 5
750 col: 10.3
751 Key:
752 id: Key_58
753 key_code: 58
754 key_sym: ":"
755 row: 5
756 col: 11.3
757 Key:
758 id: Key_33
759 key_code: 33
760 key_sym: "!"
761 row: 5
762 col: 12.3
763 Key:
764 id: Key_303
765 key_code: 303
766 key_sym: "RShift"
767 row: 5
768 col: 13.3
769 key_width: 2.7
770 line_width: 1
771 enabled: False
772 Key:
773 id: Key_306
774 key_code: 306
775 key_sym: "LCtrl"
776 row: 6
777 col: 1
778 key_width: 1.3
779 line_width: 1
780 enabled: False
781 Key:
782 id: Key_311
783 key_code: 311
784 key_sym: "LSuper"
785 row: 6
786 col: 3.3
787 line_width: 1
788 enabled: False
789 Key:
790 id: Key_308
791 key_code: 308
792 key_sym: "LAlt"
793 row: 6
794 col: 4.3
795 line_width: 1
796 enabled: False
797 Key:
798 id: Key_32
799 key_code: 32
800 key_sym: "Espace"
801 row: 6
802 col: 5.3
803 key_width: 5
804 Key:
805 id: Key_313
806 key_code: 313
807 key_sym: "AltGr"
808 row: 6
809 col: 10.3
810 line_width: 1
811 enabled: False
812 Key:
813 id: Key_314
814 key_code: 314
815 key_sym: "Compose"
816 row: 6
817 col: 11.3
818 line_width: 1
819 enabled: False
820 Key:
821 id: Key_305
822 key_code: 305
823 key_sym: "RCtrl"
824 row: 6
825 col: 12.3
826 key_width: 1.3
827 line_width: 1
828 enabled: False
829
830
831 Key:
832 id: Key_277
833 key_code: 277
834 key_sym: "ins"
835 row: 2
836 col: 1
837 pad_cols: True
838 Key:
839 id: Key_278
840 key_code: 278
841 key_sym: "home"
842 row: 2
843 col: 2
844 pad_cols: True
845 Key:
846 id: Key_280
847 key_code: 280
848 key_sym: "pg_u"
849 row: 2
850 col: 3
851 pad_cols: True
852 Key:
853 id: Key_127
854 key_code: 127
855 key_sym: "del"
856 row: 3
857 col: 1
858 pad_cols: True
859 Key:
860 id: Key_279
861 key_code: 279
862 key_sym: "end"
863 row: 3
864 col: 2
865 pad_cols: True
866 Key:
867 id: Key_281
868 key_code: 281
869 key_sym: "pg_d"
870 row: 3
871 col: 3
872 pad_cols: True
873 Key:
874 id: Key_273
875 key_code: 273
876 key_sym: "up"
877 row: 5
878 col: 2
879 pad_cols: True
880 Key:
881 id: Key_274
882 key_code: 274
883 key_sym: "down"
884 row: 6
885 col: 2
886 pad_cols: True
887 Key:
888 id: Key_276
889 key_code: 276
890 key_sym: "left"
891 row: 6
892 col: 1
893 pad_cols: True
894 Key:
895 id: Key_275
896 key_code: 275
897 key_sym: "right"
898 row: 6
899 col: 3
900 pad_cols: True