-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathkbd.kv
116 lines (106 loc) · 1.99 KB
/
kbd.kv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# a template Butt of type Button
<Butt@Button>
on_press: self.parent.parent.do_action(self.text)
<KbdWidget>:
display: entry
rows: 9
padding: 2
spacing: 4
BoxLayout:
TextInput:
id: entry
multiline: False
on_text_validate: self.parent.parent.handle_input(self.text)
use_bubble: False
use_handles: False
font_size: sp(20)
BoxLayout:
Butt:
text: 'G'
Butt:
text: 'M'
Butt:
text: 'T'
Butt:
text: 'F'
BoxLayout:
Butt:
text: 'X'
Butt:
text: 'Y'
Butt:
text: 'Z'
Butt:
text: 'E'
BoxLayout:
Butt:
text: 'A'
Butt:
text: 'B'
Butt:
text: 'C'
Butt:
text: 'D'
Butt:
text: 'H'
Butt:
text: 'I'
Butt:
text: 'J'
Butt:
text: 'K'
BoxLayout:
Butt:
text: 'L'
Butt:
text: 'P'
Butt:
text: 'Q'
Butt:
text: 'R'
Butt:
text: 'S'
Butt:
text: 'U'
Butt:
text: 'V'
Butt:
text: 'W'
BoxLayout:
Butt:
text: '1'
Butt:
text: '2'
Butt:
text: '3'
Butt:
text: '4'
BoxLayout:
Butt:
text: '5'
Butt:
text: '6'
Butt:
text: '7'
Butt:
text: '8'
BoxLayout:
Butt:
text: '9'
Butt:
text: '0'
Butt:
text: '.'
Butt:
text: '-'
BoxLayout:
Butt:
text: '?'
Butt:
text: 'BS'
Butt:
text: ' '
Butt:
text: 'Repeat'
Butt:
text: 'Send'