Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 1 | # Copyright (C) 2010 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 | # Key character map for a built-in generic virtual keyboard primarily used |
| 17 | # for instrumentation and testing purposes. |
| 18 | # |
| 19 | |
| 20 | type FULL |
| 21 | |
Jeff Brown | 061cf75 | 2010-11-18 20:52:43 -0800 | [diff] [blame] | 22 | ### Basic QWERTY keys ### |
| 23 | |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 24 | key A { |
| 25 | label: 'A' |
| 26 | base: 'a' |
| 27 | shift, capslock: 'A' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 28 | } |
| 29 | |
| 30 | key B { |
| 31 | label: 'B' |
| 32 | base: 'b' |
| 33 | shift, capslock: 'B' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 34 | } |
| 35 | |
| 36 | key C { |
| 37 | label: 'C' |
| 38 | base: 'c' |
| 39 | shift, capslock: 'C' |
Jeff Brown | 49ed71d | 2010-12-06 17:13:33 -0800 | [diff] [blame] | 40 | alt: '\u00e7' |
| 41 | shift+alt: '\u00c7' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 42 | } |
| 43 | |
| 44 | key D { |
| 45 | label: 'D' |
| 46 | base: 'd' |
| 47 | shift, capslock: 'D' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 48 | } |
| 49 | |
| 50 | key E { |
| 51 | label: 'E' |
| 52 | base: 'e' |
| 53 | shift, capslock: 'E' |
Jeff Brown | 49ed71d | 2010-12-06 17:13:33 -0800 | [diff] [blame] | 54 | alt: '\u0301' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 55 | } |
| 56 | |
| 57 | key F { |
| 58 | label: 'F' |
| 59 | base: 'f' |
| 60 | shift, capslock: 'F' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 61 | } |
| 62 | |
| 63 | key G { |
| 64 | label: 'G' |
| 65 | base: 'g' |
| 66 | shift, capslock: 'G' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 67 | } |
| 68 | |
| 69 | key H { |
| 70 | label: 'H' |
| 71 | base: 'h' |
| 72 | shift, capslock: 'H' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 73 | } |
| 74 | |
| 75 | key I { |
| 76 | label: 'I' |
| 77 | base: 'i' |
| 78 | shift, capslock: 'I' |
Jeff Brown | 49ed71d | 2010-12-06 17:13:33 -0800 | [diff] [blame] | 79 | alt: '\u0302' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 80 | } |
| 81 | |
| 82 | key J { |
| 83 | label: 'J' |
| 84 | base: 'j' |
| 85 | shift, capslock: 'J' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 86 | } |
| 87 | |
| 88 | key K { |
| 89 | label: 'K' |
| 90 | base: 'k' |
| 91 | shift, capslock: 'K' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 92 | } |
| 93 | |
| 94 | key L { |
| 95 | label: 'L' |
| 96 | base: 'l' |
| 97 | shift, capslock: 'L' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 98 | } |
| 99 | |
| 100 | key M { |
| 101 | label: 'M' |
| 102 | base: 'm' |
| 103 | shift, capslock: 'M' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 104 | } |
| 105 | |
| 106 | key N { |
| 107 | label: 'N' |
| 108 | base: 'n' |
| 109 | shift, capslock: 'N' |
Jeff Brown | 49ed71d | 2010-12-06 17:13:33 -0800 | [diff] [blame] | 110 | alt: '\u0303' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 111 | } |
| 112 | |
| 113 | key O { |
| 114 | label: 'O' |
| 115 | base: 'o' |
| 116 | shift, capslock: 'O' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 117 | } |
| 118 | |
| 119 | key P { |
| 120 | label: 'P' |
| 121 | base: 'p' |
| 122 | shift, capslock: 'P' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 123 | } |
| 124 | |
| 125 | key Q { |
| 126 | label: 'Q' |
| 127 | base: 'q' |
| 128 | shift, capslock: 'Q' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 129 | } |
| 130 | |
| 131 | key R { |
| 132 | label: 'R' |
| 133 | base: 'r' |
| 134 | shift, capslock: 'R' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 135 | } |
| 136 | |
| 137 | key S { |
| 138 | label: 'S' |
| 139 | base: 's' |
| 140 | shift, capslock: 'S' |
Jeff Brown | 49ed71d | 2010-12-06 17:13:33 -0800 | [diff] [blame] | 141 | alt: '\u00df' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 142 | } |
| 143 | |
| 144 | key T { |
| 145 | label: 'T' |
| 146 | base: 't' |
| 147 | shift, capslock: 'T' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 148 | } |
| 149 | |
| 150 | key U { |
| 151 | label: 'U' |
| 152 | base: 'u' |
| 153 | shift, capslock: 'U' |
Jeff Brown | 49ed71d | 2010-12-06 17:13:33 -0800 | [diff] [blame] | 154 | alt: '\u0308' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 155 | } |
| 156 | |
| 157 | key V { |
| 158 | label: 'V' |
| 159 | base: 'v' |
| 160 | shift, capslock: 'V' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 161 | } |
| 162 | |
| 163 | key W { |
| 164 | label: 'W' |
| 165 | base: 'w' |
| 166 | shift, capslock: 'W' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 167 | } |
| 168 | |
| 169 | key X { |
| 170 | label: 'X' |
| 171 | base: 'x' |
| 172 | shift, capslock: 'X' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 173 | } |
| 174 | |
| 175 | key Y { |
| 176 | label: 'Y' |
| 177 | base: 'y' |
| 178 | shift, capslock: 'Y' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 179 | } |
| 180 | |
| 181 | key Z { |
| 182 | label: 'Z' |
| 183 | base: 'z' |
| 184 | shift, capslock: 'Z' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 185 | } |
| 186 | |
| 187 | key 0 { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 188 | label: '0' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 189 | base: '0' |
| 190 | shift: ')' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 191 | } |
| 192 | |
| 193 | key 1 { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 194 | label: '1' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 195 | base: '1' |
| 196 | shift: '!' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 197 | } |
| 198 | |
| 199 | key 2 { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 200 | label: '2' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 201 | base: '2' |
| 202 | shift: '@' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 203 | } |
| 204 | |
| 205 | key 3 { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 206 | label: '3' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 207 | base: '3' |
| 208 | shift: '#' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 209 | } |
| 210 | |
| 211 | key 4 { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 212 | label: '4' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 213 | base: '4' |
| 214 | shift: '$' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 215 | } |
| 216 | |
| 217 | key 5 { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 218 | label: '5' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 219 | base: '5' |
| 220 | shift: '%' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 221 | } |
| 222 | |
| 223 | key 6 { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 224 | label: '6' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 225 | base: '6' |
| 226 | shift: '^' |
Jeff Brown | 49ed71d | 2010-12-06 17:13:33 -0800 | [diff] [blame] | 227 | alt+shift: '\u0302' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 228 | } |
| 229 | |
| 230 | key 7 { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 231 | label: '7' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 232 | base: '7' |
| 233 | shift: '&' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 234 | } |
| 235 | |
| 236 | key 8 { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 237 | label: '8' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 238 | base: '8' |
| 239 | shift: '*' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 240 | } |
| 241 | |
| 242 | key 9 { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 243 | label: '9' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 244 | base: '9' |
| 245 | shift: '(' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 246 | } |
| 247 | |
| 248 | key SPACE { |
| 249 | label: ' ' |
| 250 | base: ' ' |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 251 | alt, meta: fallback SEARCH |
Jeff Brown | cf39bdf | 2012-05-18 14:41:19 -0700 | [diff] [blame] | 252 | ctrl: fallback LANGUAGE_SWITCH |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 253 | } |
| 254 | |
| 255 | key ENTER { |
| 256 | label: '\n' |
| 257 | base: '\n' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 258 | } |
| 259 | |
| 260 | key TAB { |
| 261 | label: '\t' |
| 262 | base: '\t' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 263 | } |
| 264 | |
| 265 | key COMMA { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 266 | label: ',' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 267 | base: ',' |
| 268 | shift: '<' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 269 | } |
| 270 | |
| 271 | key PERIOD { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 272 | label: '.' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 273 | base: '.' |
| 274 | shift: '>' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 275 | } |
| 276 | |
| 277 | key SLASH { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 278 | label: '/' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 279 | base: '/' |
| 280 | shift: '?' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 281 | } |
| 282 | |
| 283 | key GRAVE { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 284 | label: '`' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 285 | base: '`' |
| 286 | shift: '~' |
Jeff Brown | 49ed71d | 2010-12-06 17:13:33 -0800 | [diff] [blame] | 287 | alt: '\u0300' |
| 288 | alt+shift: '\u0303' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 289 | } |
| 290 | |
| 291 | key MINUS { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 292 | label: '-' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 293 | base: '-' |
| 294 | shift: '_' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 295 | } |
| 296 | |
| 297 | key EQUALS { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 298 | label: '=' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 299 | base: '=' |
| 300 | shift: '+' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 301 | } |
| 302 | |
| 303 | key LEFT_BRACKET { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 304 | label: '[' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 305 | base: '[' |
| 306 | shift: '{' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 307 | } |
| 308 | |
| 309 | key RIGHT_BRACKET { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 310 | label: ']' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 311 | base: ']' |
| 312 | shift: '}' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 313 | } |
| 314 | |
| 315 | key BACKSLASH { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 316 | label: '\\' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 317 | base: '\\' |
| 318 | shift: '|' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 319 | } |
| 320 | |
| 321 | key SEMICOLON { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 322 | label: ';' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 323 | base: ';' |
| 324 | shift: ':' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 325 | } |
| 326 | |
| 327 | key APOSTROPHE { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 328 | label: '\'' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 329 | base: '\'' |
| 330 | shift: '"' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 331 | } |
| 332 | |
Jeff Brown | 061cf75 | 2010-11-18 20:52:43 -0800 | [diff] [blame] | 333 | ### Numeric keypad ### |
| 334 | |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 335 | key NUMPAD_0 { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 336 | label: '0' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 337 | base: fallback INSERT |
| 338 | numlock: '0' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 339 | } |
| 340 | |
| 341 | key NUMPAD_1 { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 342 | label: '1' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 343 | base: fallback MOVE_END |
| 344 | numlock: '1' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 345 | } |
| 346 | |
| 347 | key NUMPAD_2 { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 348 | label: '2' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 349 | base: fallback DPAD_DOWN |
| 350 | numlock: '2' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 351 | } |
| 352 | |
| 353 | key NUMPAD_3 { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 354 | label: '3' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 355 | base: fallback PAGE_DOWN |
| 356 | numlock: '3' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 357 | } |
| 358 | |
| 359 | key NUMPAD_4 { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 360 | label: '4' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 361 | base: fallback DPAD_LEFT |
| 362 | numlock: '4' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 363 | } |
| 364 | |
| 365 | key NUMPAD_5 { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 366 | label: '5' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 367 | base: fallback DPAD_CENTER |
| 368 | numlock: '5' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 369 | } |
| 370 | |
| 371 | key NUMPAD_6 { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 372 | label: '6' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 373 | base: fallback DPAD_RIGHT |
| 374 | numlock: '6' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 375 | } |
| 376 | |
| 377 | key NUMPAD_7 { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 378 | label: '7' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 379 | base: fallback MOVE_HOME |
| 380 | numlock: '7' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 381 | } |
| 382 | |
| 383 | key NUMPAD_8 { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 384 | label: '8' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 385 | base: fallback DPAD_UP |
| 386 | numlock: '8' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 387 | } |
| 388 | |
| 389 | key NUMPAD_9 { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 390 | label: '9' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 391 | base: fallback PAGE_UP |
| 392 | numlock: '9' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 393 | } |
| 394 | |
| 395 | key NUMPAD_LEFT_PAREN { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 396 | label: '(' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 397 | base: '(' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 398 | } |
| 399 | |
| 400 | key NUMPAD_RIGHT_PAREN { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 401 | label: ')' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 402 | base: ')' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 403 | } |
| 404 | |
| 405 | key NUMPAD_DIVIDE { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 406 | label: '/' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 407 | base: '/' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 408 | } |
| 409 | |
| 410 | key NUMPAD_MULTIPLY { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 411 | label: '*' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 412 | base: '*' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 413 | } |
| 414 | |
| 415 | key NUMPAD_SUBTRACT { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 416 | label: '-' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 417 | base: '-' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 418 | } |
| 419 | |
| 420 | key NUMPAD_ADD { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 421 | label: '+' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 422 | base: '+' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 423 | } |
| 424 | |
| 425 | key NUMPAD_DOT { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 426 | label: '.' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 427 | base: fallback FORWARD_DEL |
| 428 | numlock: '.' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 429 | } |
| 430 | |
| 431 | key NUMPAD_COMMA { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 432 | label: ',' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 433 | base: ',' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 434 | } |
| 435 | |
| 436 | key NUMPAD_EQUALS { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 437 | label: '=' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 438 | base: '=' |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame] | 439 | } |
| 440 | |
| 441 | key NUMPAD_ENTER { |
| 442 | label: '\n' |
| 443 | base: '\n' fallback ENTER |
| 444 | ctrl, alt, meta: none fallback ENTER |
| 445 | } |
Jeff Brown | 061cf75 | 2010-11-18 20:52:43 -0800 | [diff] [blame] | 446 | |
| 447 | ### Special keys on phones ### |
| 448 | |
| 449 | key AT { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 450 | label: '@' |
Jeff Brown | 061cf75 | 2010-11-18 20:52:43 -0800 | [diff] [blame] | 451 | base: '@' |
| 452 | } |
| 453 | |
| 454 | key STAR { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 455 | label: '*' |
Jeff Brown | 061cf75 | 2010-11-18 20:52:43 -0800 | [diff] [blame] | 456 | base: '*' |
| 457 | } |
| 458 | |
| 459 | key POUND { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 460 | label: '#' |
Jeff Brown | 061cf75 | 2010-11-18 20:52:43 -0800 | [diff] [blame] | 461 | base: '#' |
| 462 | } |
| 463 | |
| 464 | key PLUS { |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 465 | label: '+' |
Jeff Brown | 061cf75 | 2010-11-18 20:52:43 -0800 | [diff] [blame] | 466 | base: '+' |
| 467 | } |
Jeff Brown | 49ed71d | 2010-12-06 17:13:33 -0800 | [diff] [blame] | 468 | |
| 469 | ### Non-printing keys ### |
| 470 | |
| 471 | key ESCAPE { |
| 472 | base: fallback BACK |
Jeff Brown | 9a2bbf6 | 2012-04-18 14:09:10 -0700 | [diff] [blame] | 473 | alt, meta: fallback HOME |
| 474 | ctrl: fallback MENU |
| 475 | } |
| 476 | |
| 477 | ### Gamepad buttons ### |
| 478 | |
| 479 | key BUTTON_A { |
| 480 | base: fallback BACK |
| 481 | } |
| 482 | |
| 483 | key BUTTON_B { |
| 484 | base: fallback BACK |
| 485 | } |
| 486 | |
| 487 | key BUTTON_C { |
| 488 | base: fallback BACK |
| 489 | } |
| 490 | |
| 491 | key BUTTON_X { |
| 492 | base: fallback DPAD_CENTER |
| 493 | } |
| 494 | |
| 495 | key BUTTON_Y { |
| 496 | base: fallback DPAD_CENTER |
| 497 | } |
| 498 | |
| 499 | key BUTTON_Z { |
| 500 | base: fallback DPAD_CENTER |
| 501 | } |
| 502 | |
| 503 | key BUTTON_L1 { |
| 504 | base: none |
| 505 | } |
| 506 | |
| 507 | key BUTTON_R1 { |
| 508 | base: none |
| 509 | } |
| 510 | |
| 511 | key BUTTON_L2 { |
| 512 | base: none |
| 513 | } |
| 514 | |
| 515 | key BUTTON_R2 { |
| 516 | base: none |
| 517 | } |
| 518 | |
| 519 | key BUTTON_THUMBL { |
| 520 | base: fallback DPAD_CENTER |
| 521 | } |
| 522 | |
| 523 | key BUTTON_THUMBR { |
| 524 | base: fallback DPAD_CENTER |
| 525 | } |
| 526 | |
| 527 | key BUTTON_START { |
| 528 | base: fallback HOME |
| 529 | } |
| 530 | |
| 531 | key BUTTON_SELECT { |
| 532 | base: fallback MENU |
| 533 | } |
| 534 | |
| 535 | key BUTTON_MODE { |
| 536 | base: fallback MENU |
| 537 | } |
| 538 | |
| 539 | key BUTTON_1 { |
| 540 | base: fallback DPAD_CENTER |
| 541 | } |
| 542 | |
| 543 | key BUTTON_2 { |
| 544 | base: fallback DPAD_CENTER |
| 545 | } |
| 546 | |
| 547 | key BUTTON_3 { |
| 548 | base: fallback DPAD_CENTER |
| 549 | } |
| 550 | |
| 551 | key BUTTON_4 { |
| 552 | base: fallback DPAD_CENTER |
| 553 | } |
| 554 | |
| 555 | key BUTTON_5 { |
| 556 | base: fallback DPAD_CENTER |
| 557 | } |
| 558 | |
| 559 | key BUTTON_6 { |
| 560 | base: fallback DPAD_CENTER |
| 561 | } |
| 562 | |
| 563 | key BUTTON_7 { |
| 564 | base: fallback DPAD_CENTER |
| 565 | } |
| 566 | |
| 567 | key BUTTON_8 { |
| 568 | base: fallback DPAD_CENTER |
| 569 | } |
| 570 | |
| 571 | key BUTTON_9 { |
| 572 | base: fallback DPAD_CENTER |
| 573 | } |
| 574 | |
| 575 | key BUTTON_10 { |
| 576 | base: fallback DPAD_CENTER |
| 577 | } |
| 578 | |
| 579 | key BUTTON_11 { |
| 580 | base: fallback DPAD_CENTER |
| 581 | } |
| 582 | |
| 583 | key BUTTON_12 { |
| 584 | base: fallback DPAD_CENTER |
| 585 | } |
| 586 | |
| 587 | key BUTTON_13 { |
| 588 | base: fallback DPAD_CENTER |
| 589 | } |
| 590 | |
| 591 | key BUTTON_14 { |
| 592 | base: fallback DPAD_CENTER |
| 593 | } |
| 594 | |
| 595 | key BUTTON_15 { |
| 596 | base: fallback DPAD_CENTER |
| 597 | } |
| 598 | |
| 599 | key BUTTON_16 { |
| 600 | base: fallback DPAD_CENTER |
Jeff Brown | 49ed71d | 2010-12-06 17:13:33 -0800 | [diff] [blame] | 601 | } |