blob: 8eedbb09fc294a8a5eb124dd8a582a04eb5f3ea0 [file] [log] [blame]
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -04001# 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 layout file 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 layout to support a specific keyboard; instead, create
20# a new key layout file with the required keyboard configuration.
21#
22
23key 1 ESCAPE
24key 2 1
25key 3 2
26key 4 3
27key 5 4
28key 6 5
29key 7 6
30key 8 7
31key 9 8
32key 10 9
33key 11 0
34key 12 MINUS
35key 13 EQUALS
36key 14 DEL
37key 15 TAB
38key 16 Q
39key 17 W
40key 18 E
41key 19 R
42key 20 T
43key 21 Y
44key 22 U
45key 23 I
46key 24 O
47key 25 P
48key 26 LEFT_BRACKET
49key 27 RIGHT_BRACKET
50key 28 ENTER
51key 29 CTRL_LEFT
52key 30 A
53key 31 S
54key 32 D
55key 33 F
56key 34 G
57key 35 H
58key 36 J
59key 37 K
60key 38 L
61key 39 SEMICOLON
62key 40 APOSTROPHE
63key 41 GRAVE
64key 42 SHIFT_LEFT
65key 43 BACKSLASH
66key 44 Z
67key 45 X
68key 46 C
69key 47 V
70key 48 B
71key 49 N
72key 50 M
73key 51 COMMA
74key 52 PERIOD
75key 53 SLASH
76key 54 SHIFT_RIGHT
77key 55 NUMPAD_MULTIPLY
78key 56 ALT_LEFT
79key 57 SPACE
80key 58 CAPS_LOCK
81key 59 F1
82key 60 F2
83key 61 F3
84key 62 F4
85key 63 F5
86key 64 F6
87key 65 F7
88key 66 F8
89key 67 F9
90key 68 F10
91key 69 NUM_LOCK
92key 70 SCROLL_LOCK
93key 71 NUMPAD_7
94key 72 NUMPAD_8
95key 73 NUMPAD_9
96key 74 NUMPAD_SUBTRACT
97key 75 NUMPAD_4
98key 76 NUMPAD_5
99key 77 NUMPAD_6
100key 78 NUMPAD_ADD
101key 79 NUMPAD_1
102key 80 NUMPAD_2
103key 81 NUMPAD_3
104key 82 NUMPAD_0
105key 83 NUMPAD_DOT
106# key 84 (undefined)
107key 85 ZENKAKU_HANKAKU
108key 86 BACKSLASH
109key 87 F11
110key 88 F12
111key 89 RO
112# key 90 "KEY_KATAKANA"
113# key 91 "KEY_HIRAGANA"
114key 92 HENKAN
115key 93 KATAKANA_HIRAGANA
116key 94 MUHENKAN
117key 95 NUMPAD_COMMA
118key 96 NUMPAD_ENTER
119key 97 CTRL_RIGHT
120key 98 NUMPAD_DIVIDE
121key 99 SYSRQ
122key 100 ALT_RIGHT
123# key 101 "KEY_LINEFEED"
124key 102 MOVE_HOME
125key 103 DPAD_UP
126key 104 PAGE_UP
127key 105 DPAD_LEFT
128key 106 DPAD_RIGHT
129#key 107 (CHN FOLDER MODEL)
130key 107 MOVE_END
131key 108 DPAD_DOWN
132key 109 PAGE_DOWN
133key 110 INSERT
134key 111 FORWARD_DEL
135# key 112 "KEY_MACRO"
136key 113 VOLUME_MUTE
137key 114 VOLUME_DOWN
138key 115 VOLUME_UP
139key 116 POWER
140key 117 NUMPAD_EQUALS
141# key 118 "KEY_KPPLUSMINUS"
142key 119 BREAK
143# key 120 (undefined)
144key 121 NUMPAD_COMMA
145key 122 LANG
146key 123 EISU
147key 124 YEN
148key 125 META_LEFT
149key 126 META_RIGHT
150key 127 MENU
151key 128 MEDIA_STOP
152# key 129 "KEY_AGAIN"
153# key 130 "KEY_PROPS"
154# key 131 "KEY_UNDO"
155# key 132 "KEY_FRONT"
156# key 133 "KEY_COPY"
157# key 134 "KEY_OPEN"
158# key 135 "KEY_PASTE"
159# key 136 "KEY_FIND"
160# key 137 "KEY_CUT"
161# key 138 "KEY_HELP"
162key 139 MENU
163key 140 CALCULATOR
164# key 141 "KEY_SETUP"
165key 142 SLEEP
166key 143 WAKEUP
167# key 144 "KEY_FILE"
168# key 145 "KEY_SENDFILE"
169# key 146 "KEY_DELETEFILE"
170# key 147 "KEY_XFER"
171# key 148 "KEY_PROG1"
172# key 149 "KEY_PROG2"
173key 150 EXPLORER
174# key 151 "KEY_MSDOS"
175key 152 POWER
176# key 153 "KEY_DIRECTION"
177# key 154 "KEY_CYCLEWINDOWS"
178key 155 ENVELOPE
179key 156 BOOKMARK
180# key 157 "KEY_COMPUTER"
181key 158 BACK
182key 159 FORWARD
183key 160 MEDIA_CLOSE
184key 161 MEDIA_EJECT
185key 162 MEDIA_EJECT
186key 163 MEDIA_NEXT
187key 164 MEDIA_PLAY_PAUSE
188key 165 MEDIA_PREVIOUS
189key 166 MEDIA_STOP
190key 167 MEDIA_RECORD
191key 168 MEDIA_REWIND
192key 169 CALL
193# key 170 "KEY_ISO"
194key 171 MUSIC
195#input_fw added wake attribute for home
196key 172 HOME
197# key 173 "KEY_REFRESH"
198# key 174 "KEY_EXIT"
199# key 175 "KEY_MOVE"
200# key 176 "KEY_EDIT"
201key 177 PAGE_UP
202key 178 PAGE_DOWN
203key 179 NUMPAD_LEFT_PAREN
204key 180 NUMPAD_RIGHT_PAREN
205# key 181 "KEY_NEW"
206# key 182 "KEY_REDO"
207# key 183 F13
208# key 184 F14
209# key 185 F15
210# key 186 F16
211# key 187 F17
212# key 188 F18
213# key 189 F19
214# key 190 F20
215# key 191 F21
216# key 192 F22
217# key 193 F23
218# key 194 F24
219# key 195 (undefined)
220# key 196 (undefined)
221# key 197 (undefined)
222# key 198 (undefined)
223# key 199 (undefined)
224# input_fw for voice wakeup
225key 198 VOICE_WAKEUP_LPSD
226key 199 VOICE_WAKEUP
227key 200 MEDIA_PLAY
228key 201 MEDIA_PAUSE
229# key 202 "KEY_PROG3"
230# key 203 "KEY_PROG4"
231# key 204 (undefined)
232# key 205 "KEY_SUSPEND"
233# key 206 "KEY_CLOSE"
234key 207 MEDIA_PLAY
235key 208 MEDIA_FAST_FORWARD
236# key 209 "KEY_BASSBOOST"
237# key 210 "KEY_PRINT"
238# key 211 "KEY_HP"
239key 212 CAMERA
240key 213 MUSIC
241# key 214 "KEY_QUESTION"
242key 215 ENVELOPE
243# key 216 "KEY_CHAT"
244key 217 SEARCH
245# key 218 "KEY_CONNECT"
246# key 219 "KEY_FINANCE"
247# key 220 "KEY_SPORT"
248# key 221 "KEY_SHOP"
249# key 222 "KEY_ALTERASE"
250# key 223 "KEY_CANCEL"
251key 224 BRIGHTNESS_DOWN
252key 225 BRIGHTNESS_UP
253key 226 HEADSETHOOK
254
255# samsung
256key 252 USER
257
258# samsung
259key 254 APP_SWITCH
260
261key 256 BUTTON_1
262key 257 BUTTON_2
263key 258 BUTTON_3
264key 259 BUTTON_4
265key 260 BUTTON_5
266key 261 BUTTON_6
267key 262 BUTTON_7
268key 263 BUTTON_8
269key 264 BUTTON_9
270key 265 BUTTON_10
271key 266 BUTTON_11
272key 267 BUTTON_12
273key 268 BUTTON_13
274key 269 BUTTON_14
275key 270 BUTTON_15
276key 271 BUTTON_16
277
278key 288 BUTTON_1
279key 289 BUTTON_2
280key 290 BUTTON_3
281key 291 BUTTON_4
282key 292 BUTTON_5
283key 293 BUTTON_6
284key 294 BUTTON_7
285key 295 BUTTON_8
286key 296 BUTTON_9
287key 297 BUTTON_10
288key 298 BUTTON_11
289key 299 BUTTON_12
290key 300 BUTTON_13
291key 301 BUTTON_14
292key 302 BUTTON_15
293key 303 BUTTON_16
294
295
296key 304 BUTTON_A
297key 305 BUTTON_B
298key 306 BUTTON_C
299key 307 BUTTON_X
300key 308 BUTTON_Y
301key 309 BUTTON_Z
302key 310 BUTTON_L1
303key 311 BUTTON_R1
304key 312 BUTTON_L2
305key 313 BUTTON_R2
306key 314 BUTTON_SELECT
307key 315 BUTTON_START
308key 316 BUTTON_MODE
309key 317 BUTTON_THUMBL
310key 318 BUTTON_THUMBR
311
312
313# key 352 "KEY_OK"
314# key 353 DPAD_CENTER
315# key 354 "KEY_GOTO"
316# key 355 "KEY_CLEAR"
317# key 356 "KEY_POWER2"
318# key 357 "KEY_OPTION"
319# key 358 "KEY_INFO"
320# key 359 "KEY_TIME"
321# key 360 "KEY_VENDOR"
322# key 361 "KEY_ARCHIVE"
323key 362 GUIDE
324# key 363 "KEY_CHANNEL"
325# key 364 "KEY_FAVORITES"
326# key 365 "KEY_EPG"
327key 366 DVR
328# key 367 "KEY_MHP"
329# key 368 "KEY_LANGUAGE"
330# key 369 "KEY_TITLE"
331# key 370 "KEY_SUBTITLE"
332# key 371 "KEY_ANGLE"
333# key 372 "KEY_ZOOM"
334# key 373 "KEY_MODE"
335# key 374 "KEY_KEYBOARD"
336# key 375 "KEY_SCREEN"
337# key 376 "KEY_PC"
338key 377 TV
339# key 378 "KEY_TV2"
340# key 379 "KEY_VCR"
341# key 380 "KEY_VCR2"
342# key 381 "KEY_SAT"
343# key 382 "KEY_SAT2"
344# key 383 "KEY_CD"
345# key 384 "KEY_TAPE"
346# key 385 "KEY_RADIO"
347# key 386 "KEY_TUNER"
348# key 387 "KEY_PLAYER"
349# key 388 "KEY_TEXT"
350# key 389 "KEY_DVD"
351# key 390 "KEY_AUX"
352# key 391 "KEY_MP3"
353# key 392 "KEY_AUDIO"
354# key 393 "KEY_VIDEO"
355# key 394 "KEY_DIRECTORY"
356# key 395 "KEY_LIST"
357# key 396 "KEY_MEMO"
358key 397 CALENDAR
359# key 398 "KEY_RED"
360# key 399 "KEY_GREEN"
361# key 400 "KEY_YELLOW"
362# key 401 "KEY_BLUE"
363key 402 CHANNEL_UP
364key 403 CHANNEL_DOWN
365# key 404 "KEY_FIRST"
366# key 405 "KEY_LAST"
367# key 406 "KEY_AB"
368# key 407 "KEY_NEXT"
369# key 408 "KEY_RESTART"
370# key 409 "KEY_SLOW"
371# key 410 "KEY_SHUFFLE"
372# key 411 "KEY_BREAK"
373# key 412 "KEY_PREVIOUS"
374# key 413 "KEY_DIGITS"
375# key 414 "KEY_TEEN"
376# key 415 "KEY_TWEN"
377
378key 429 CONTACTS
379
380# key 448 "KEY_DEL_EOL"
381# key 449 "KEY_DEL_EOS"
382# key 450 "KEY_INS_LINE"
383# key 451 "KEY_DEL_LINE"
384
385key 452 CAM_QUICK_REAR
386key 453 CAM_QUICK_FRONT
387key 454 2ND_SCREEN_WAKEUP
388
389# key 455 used for blackscreenUI
390# key 456 KEY_BLACK_UI_QUICKAPP_ACCESS
391# key 457 KEY_BLACK_UI_DIRECT_INDICATOR
392
393# input_fw for swipe gestures from sides, used for wakeup
394key 458 SIDE_GESTURE_RIGHT
395key 459 SIDE_GESTURE_LEFT
396
397key 464 FUNCTION
398key 465 ESCAPE FUNCTION
399key 466 F1 FUNCTION
400key 467 F2 FUNCTION
401key 468 F3 FUNCTION
402key 469 F4 FUNCTION
403key 470 F5 FUNCTION
404key 471 F6 FUNCTION
405key 472 F7 FUNCTION
406key 473 F8 FUNCTION
407key 474 F9 FUNCTION
408key 475 F10 FUNCTION
409key 476 F11 FUNCTION
410key 477 F12 FUNCTION
411key 478 1 FUNCTION
412key 479 2 FUNCTION
413key 480 D FUNCTION
414key 481 E FUNCTION
415key 482 F FUNCTION
416key 483 S FUNCTION
417key 484 B FUNCTION
418
419
420# key 497 KEY_BRL_DOT1
421# key 498 KEY_BRL_DOT2
422# key 499 KEY_BRL_DOT3
423# key 500 KEY_BRL_DOT4
424# key 501 KEY_BRL_DOT5
425# key 502 KEY_BRL_DOT6
426# key 503 KEY_BRL_DOT7
427# key 504 KEY_BRL_DOT8
428
429key 522 STAR
430key 523 POUND
431
432# samsung camera
433key 528 FOCUS
434
435# samsung DMB
436key 539 DMB_ANT_OPEN
437key 540 DMB_ANT_CLOSE
438
439#key 544 NETWORK_SEL (CHN FOLDER MODEL)
440#key 545 3G (CHN FOLDER MODEL)
441
442#key 576 don't use (specific value used by camera project) - refer to InputReader.cpp
443
444key 582 VOICE_ASSIST
445
446# Keys defined by HID usages
447key usage 0x0c006F BRIGHTNESS_UP
448key usage 0x0c0070 BRIGHTNESS_DOWN
449
450# Joystick and game controller axes.
451# Axes that are not mapped will be assigned generic axis numbers by the input subsystem.
452axis 0x00 X
453axis 0x01 Y
454axis 0x02 Z
455axis 0x03 RX
456axis 0x04 RY
457axis 0x05 RZ
458axis 0x06 THROTTLE
459axis 0x07 RUDDER
460axis 0x08 WHEEL
461axis 0x09 GAS
462axis 0x0a BRAKE
463axis 0x10 HAT_X
464axis 0x11 HAT_Y
465
466# LEDs
467led 0x00 NUM_LOCK
468led 0x01 CAPS_LOCK
469led 0x02 SCROLL_LOCK
470led 0x03 COMPOSE
471led 0x04 KANA
472led 0x05 SLEEP
473led 0x06 SUSPEND
474led 0x07 MUTE
475led 0x08 MISC
476led 0x09 MAIL
477led 0x0a CHARGING