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