1 # Copyright (C) 2014 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 # Zhuyin keyboard layout 17 # 18 19 20 type OVERLAY 21 22 ### Row 1 23 24 key GRAVE { 25 label: '`' 26 base: '`' 27 shift: '~' 28 } 29 30 key 1 { 31 label: '\u3105' 32 base: '\u3105' 33 capslock, ralt: '1' 34 shift, shift+capslock, shift+ralt: '!' 35 } 36 37 key 2 { 38 label: '\u3109' 39 base: '\u3109' 40 capslock, ralt: '2' 41 shift, shift+capslock, shift+ralt: '@' 42 } 43 44 key 3 { 45 label: '\u02c7' 46 base: '\u02c7' 47 capslock, ralt: '3' 48 shift, shift+capslock, shift+ralt: '#' 49 } 50 51 key 4 { 52 label: '\u02cb' 53 base: '\u02cb' 54 capslock, ralt: '4' 55 shift, shift+capslock, shift+ralt: '$' 56 } 57 58 key 5 { 59 label: '\u3113' 60 base: '\u3113' 61 capslock, ralt: '5' 62 shift, shift+capslock, shift+ralt: '%' 63 } 64 65 key 6 { 66 label: '\u02ca' 67 base: '\u02ca' 68 capslock, ralt: '6' 69 shift, shift+capslock, shift+ralt: '^' 70 } 71 72 key 7 { 73 label: '\u00b7' 74 base: '\u00b7' 75 capslock, ralt: '7' 76 shift, shift+capslock, shift+ralt: '&' 77 } 78 79 key 8 { 80 label: '\u311a' 81 base: '\u311a' 82 capslock, ralt: '8' 83 shift, shift+capslock, shift+ralt: '*' 84 } 85 86 key 9 { 87 label: '\u311e' 88 base: '\u311e' 89 capslock, ralt: '9' 90 shift, shift+capslock, shift+ralt: '(' 91 } 92 93 key 0 { 94 label: '\u3122' 95 base: '\u3122' 96 capslock, ralt: '0' 97 shift, shift+capslock, shift+ralt: ')' 98 } 99 100 key MINUS { 101 label: '\u3126' 102 base: '\u3126' 103 capslock, ralt: '-' 104 shift, shift+capslock, shift+ralt: '_' 105 } 106 107 key EQUALS { 108 label: '=' 109 base: '=' 110 shift: '+' 111 } 112 113 ### Row 2 114 115 key Q { 116 label: '\u3106' 117 base: '\u3106' 118 capslock, ralt: 'q' 119 shift, shift+capslock, shift+ralt: 'Q' 120 } 121 122 key W { 123 label: '\u310a' 124 base: '\u310a' 125 capslock, ralt: 'w' 126 shift, shift+capslock, shift+ralt: 'W' 127 } 128 129 key E { 130 label: '\u310d' 131 base: '\u310d' 132 capslock, ralt: 'e' 133 shift, shift+capslock, shift+ralt: 'E' 134 } 135 136 key R { 137 label: '\u3110' 138 base: '\u3110' 139 capslock, ralt: 'r' 140 shift, shift+capslock, shift+ralt: 'R' 141 } 142 143 key T { 144 label: '\u3114' 145 base: '\u3114' 146 capslock, ralt: 't' 147 shift, shift+capslock, shift+ralt: 'T' 148 } 149 150 key Y { 151 label: '\u3117' 152 base: '\u3117' 153 capslock, ralt: 'y' 154 shift, shift+capslock, shift+ralt: 'Y' 155 } 156 157 key U { 158 label: '\u3127' 159 base: '\u3127' 160 capslock, ralt: 'u' 161 shift, shift+capslock, shift+ralt: 'U' 162 } 163 164 key I { 165 label: '\u311b' 166 base: '\u311b' 167 capslock, ralt: 'i' 168 shift, shift+capslock, shift+ralt: 'I' 169 } 170 171 key O { 172 label: '\u311f' 173 base: '\u311f' 174 capslock, ralt: 'o' 175 shift, shift+capslock, shift+ralt: 'O' 176 } 177 178 key P { 179 label: '\u3123' 180 base: '\u3123' 181 capslock, ralt: 'p' 182 shift, shift+capslock, shift+ralt: 'P' 183 } 184 185 key LEFT_BRACKET { 186 label: '[' 187 base: '[' 188 shift: '{' 189 } 190 191 key RIGHT_BRACKET { 192 label: ']' 193 base: ']' 194 shift: '}' 195 } 196 197 key BACKSLASH { 198 label: '\\' 199 base: '\\' 200 shift: '|' 201 } 202 203 ### Row 3 204 205 key A { 206 label: '\u3107' 207 base: '\u3107' 208 capslock, ralt: 'a' 209 shift, shift+capslock, shift+ralt: 'A' 210 } 211 212 key S { 213 label: '\u310b' 214 base: '\u310b' 215 capslock, ralt: 's' 216 shift, shift+capslock, shift+ralt: 'S' 217 } 218 219 key D { 220 label: '\u310e' 221 base: '\u310e' 222 capslock, ralt: 'd' 223 shift, shift+capslock, shift+ralt: 'D' 224 } 225 226 key F { 227 label: '\u3111' 228 base: '\u3111' 229 capslock, ralt: 'f' 230 shift, shift+capslock, shift+ralt: 'F' 231 } 232 233 key G { 234 label: '\u3115' 235 base: '\u3115' 236 capslock, ralt: 'g' 237 shift, shift+capslock, shift+ralt: 'G' 238 } 239 240 key H { 241 label: '\u3118' 242 base: '\u3118' 243 capslock, ralt: 'h' 244 shift, shift+capslock, shift+ralt: 'H' 245 } 246 247 key J { 248 label: '\u3128' 249 base: '\u3128' 250 capslock, ralt: 'j' 251 shift, shift+capslock, shift+ralt: 'J' 252 } 253 254 key K { 255 label: '\u311c' 256 base: '\u311c' 257 capslock, ralt: 'k' 258 shift, shift+capslock, shift+ralt: 'K' 259 } 260 261 key L { 262 label: '\u3120' 263 base: '\u3120' 264 capslock, ralt: 'l' 265 shift, shift+capslock, shift+ralt: 'L' 266 } 267 268 key SEMICOLON { 269 label: '\u3124' 270 base: '\u3124' 271 capslock, ralt: ';' 272 shift, shift+capslock, shift+ralt: ':' 273 } 274 275 key APOSTROPHE { 276 label: '\'' 277 base: '\'' 278 shift: '\u201d' 279 } 280 281 ### Row 4 282 283 key Z { 284 label: '\u3108' 285 base: '\u3108' 286 capslock, ralt: 'z' 287 shift, shift+capslock, shift+ralt: 'Z' 288 } 289 290 key X { 291 label: '\u310c' 292 base: '\u310c' 293 capslock, ralt: 'x' 294 shift, shift+capslock, shift+ralt: 'X' 295 } 296 297 key C { 298 label: '\u310f' 299 base: '\u310f' 300 capslock, ralt: 'c' 301 shift, shift+capslock, shift+ralt: 'C' 302 } 303 304 key V { 305 label: '\u3112' 306 base: '\u3112' 307 capslock, ralt: 'v' 308 shift, shift+capslock, shift+ralt: 'V' 309 } 310 311 key B { 312 label: '\u3116' 313 base: '\u3116' 314 capslock, ralt: 'b' 315 shift, shift+capslock, shift+ralt: 'B' 316 } 317 318 key N { 319 label: '\u3119' 320 base: '\u3119' 321 capslock, ralt: 'n' 322 shift, shift+capslock, shift+ralt: 'N' 323 } 324 325 key M { 326 label: '\u3129' 327 base: '\u3129' 328 capslock, ralt: 'm' 329 shift, shift+capslock, shift+ralt: 'M' 330 } 331 332 key COMMA { 333 label: '\u311d' 334 base: '\u311d' 335 capslock, ralt: ',' 336 shift, shift+capslock, shift+ralt: '<' 337 } 338 339 key PERIOD { 340 label: '\u3121' 341 base: '\u3121' 342 capslock, ralt: '.' 343 shift, shift+capslock, shift+ralt: '>' 344 } 345 346 key SLASH { 347 label: '\u3125' 348 base: '\u3125' 349 capslock, ralt: '/' 350 shift, shift+capslock, shift+ralt: '?' 351 } 352