1# Copyright 2024 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15#
16# Thai Pattachote keyboard layout.
17#
18
19type OVERLAY
20
21map key 86 PLUS
22
23### ROW 1
24
25key GRAVE {
26    label:                              '_'
27    base:                               '_'
28    shift, capslock:                    '\u0e3f'
29}
30
31key 1 {
32    label:                              '='
33    base:                               '='
34    shift, capslock:                    '+'
35}
36
37key 2 {
38    label:                              '\u0e52'
39    base:                               '\u0e52'
40    shift, capslock:                    '\u0022'
41}
42
43key 3 {
44    label:                              '\u0e53'
45    base:                               '\u0e53'
46    shift, capslock:                    '/'
47}
48
49key 4 {
50    label:                              '\u0e54'
51    base:                               '\u0e54'
52    shift, capslock:                    ','
53}
54
55key 5 {
56    label:                              '\u0e55'
57    base:                               '\u0e55'
58    shift, capslock:                    '?'
59}
60
61key 6 {
62    label:                              '\u0e39'
63    base:                               '\u0e39'
64    shift, capslock:                    '\u0e38'
65}
66
67key 7 {
68    label:                              '\u0e57'
69    base:                               '\u0e57'
70    shift, capslock:                    '_'
71}
72
73key 8 {
74    label:                              '\u0e58'
75    base:                               '\u0e58'
76    shift, capslock:                    '.'
77}
78
79key 9 {
80    label:                              '\u0e59'
81    base:                               '\u0e59'
82    shift, capslock:                    '('
83}
84
85key 0 {
86    label:                              '\u0e50'
87    base:                               '\u0e50'
88    shift, capslock:                    ')'
89}
90
91key MINUS {
92    label:                              '\u0e51'
93    base:                               '\u0e51'
94    shift, capslock:                    '-'
95}
96
97key EQUALS {
98    label:                              '\u0e56'
99    base:                               '\u0e56'
100    shift, capslock:                    '%'
101}
102
103### ROW 2
104
105key Q {
106    label:                              '\u0e47'
107    base:                               '\u0e47'
108    shift, capslock:                    '\u0e4a'
109}
110
111key W {
112    label:                              '\u0e15'
113    base:                               '\u0e15'
114    shift, capslock:                    '\u0e24'
115}
116
117key E {
118    label:                              '\u0e22'
119    base:                               '\u0e22'
120    shift, capslock:                    '\u0e46'
121}
122
123key R {
124    label:                              '\u0e2d'
125    base:                               '\u0e2d'
126    shift, capslock:                    '\u0e0d'
127}
128
129key T {
130    label:                              '\u0e23'
131    base:                               '\u0e23'
132    shift, capslock:                    '\u0e29'
133}
134
135key Y {
136    label:                              '\u0e48'
137    base:                               '\u0e48'
138    shift, capslock:                    '\u0e36'
139}
140
141key U {
142    label:                              '\u0e14'
143    base:                               '\u0e14'
144    shift, capslock:                    '\u0e1d'
145}
146
147key I {
148    label:                              '\u0e21'
149    base:                               '\u0e21'
150    shift, capslock:                    '\u0e0b'
151}
152
153key O {
154    label:                              '\u0e27'
155    base:                               '\u0e27'
156    shift, capslock:                    '\u0e16'
157}
158
159key P {
160    label:                              '\u0e41'
161    base:                               '\u0e41'
162    shift, capslock:                    '\u0e12'
163}
164
165key LEFT_BRACKET {
166    label:                              '\u0e43'
167    base:                               '\u0e43'
168    shift, capslock:                    '\u0e2f'
169}
170
171key RIGHT_BRACKET {
172    label:                              '\u0e0c'
173    base:                               '\u0e0c'
174    shift, capslock:                    '\u0e26'
175}
176
177### ROW 3
178
179key A {
180    label:                              '\u0e49'
181    base:                               '\u0e49'
182    shift, capslock:                    '\u0e4b'
183}
184
185key S {
186    label:                              '\u0e17'
187    base:                               '\u0e17'
188    shift, capslock:                    '\u0e18'
189}
190
191key D {
192    label:                              '\u0e07'
193    base:                               '\u0e07'
194    shift, capslock:                    '\u0e33'
195}
196
197key F {
198    label:                              '\u0e01'
199    base:                               '\u0e01'
200    shift, capslock:                    '\u0e13'
201}
202
203key G {
204    label:                              '\u0e31'
205    base:                               '\u0e31'
206    shift, capslock:                    '\u0e4c'
207}
208
209key H {
210    label:                              '\u0e35'
211    base:                               '\u0e35'
212    shift, capslock:                    '\u0e37'
213}
214
215key J {
216    label:                              '\u0e32'
217    base:                               '\u0e32'
218    shift, capslock:                    '\u0e1c'
219}
220
221key K {
222    label:                              '\u0e19'
223    base:                               '\u0e19'
224    shift, capslock:                    '\u0e0a'
225}
226
227key L {
228    label:                              '\u0e40'
229    base:                               '\u0e40'
230    shift, capslock:                    '\u0e42'
231}
232
233key SEMICOLON {
234    label:                              '\u0e44'
235    base:                               '\u0e44'
236    shift, capslock:                    '\u0e06'
237}
238
239key APOSTROPHE {
240    label:                              '\u0e02'
241    base:                               '\u0e02'
242    shift, capslock:                    '\u0e11'
243}
244
245key BACKSLASH {
246    label:                              '\u0e45'
247    base:                               '\u0e45'
248    shift, capslock:                    '\u0e4d'
249}
250
251### ROW 4
252
253key PLUS {
254    label:                              '\u0e45'
255    base:                               '\u0e45'
256    shift, capslock:                    '\u0e4d'
257}
258
259key Z {
260    label:                              '\u0e1a'
261    base:                               '\u0e1a'
262    shift, capslock:                    '\u0e0e'
263}
264
265key X {
266    label:                              '\u0e1b'
267    base:                               '\u0e1b'
268    shift, capslock:                    '\u0e0f'
269}
270
271key C {
272    label:                              '\u0e25'
273    base:                               '\u0e25'
274    shift, capslock:                    '\u0e10'
275}
276
277key V {
278    label:                              '\u0e2b'
279    base:                               '\u0e2b'
280    shift, capslock:                    '\u0e20'
281}
282
283key B {
284    label:                              '\u0e34'
285    base:                               '\u0e34'
286    shift, capslock:                    '\u0e31'
287}
288
289key N {
290    label:                              '\u0e04'
291    base:                               '\u0e04'
292    shift, capslock:                    '\u0e28'
293}
294
295key M {
296    label:                              '\u0e2a'
297    base:                               '\u0e2a'
298    shift, capslock:                    '\u0e2e'
299}
300
301key COMMA {
302    label:                              '\u0e30'
303    base:                               '\u0e30'
304    shift, capslock:                    '\u0e1f'
305}
306
307key PERIOD {
308    label:                              '\u0e08'
309    base:                               '\u0e08'
310    shift, capslock:                    '\u0e09'
311}
312
313key SLASH {
314    label:                              '\u0e1e'
315    base:                               '\u0e1e'
316    shift, capslock:                    '\u0e2c'
317}