1 /*
2                                     __
3                                    / _|
4   __ _ _   _ _ __ ___  _ __ __ _  | |_ ___  ___ ___
5  / _` | | | | '__/ _ \| '__/ _` | |  _/ _ \/ __/ __|
6 | (_| | |_| | | | (_) | | | (_| | | || (_) \__ \__ \
7  \__,_|\__,_|_|  \___/|_|  \__,_| |_| \___/|___/___/
8 
9 Copyright (C) 2010 The Android Open Source Project.
10 Copyright (C) 2018-2019 Aurora Free Open Source Software.
11 
12 This file is part of the Aurora Free Open Source Software. This
13 organization promote free and open source software that you can
14 redistribute and/or modify under the terms of the GNU Lesser General
15 Public License Version 3 as published by the Free Software Foundation or
16 (at your option) any later version approved by the Aurora Free Open Source
17 Software Organization. The license is available in the package root path
18 as 'LICENSE' file. Please review the following information to ensure the
19 GNU Lesser General Public License version 3 requirements will be met:
20 https://www.gnu.org/licenses/lgpl.html .
21 
22 Alternatively, this file may be used under the terms of the GNU General
23 Public License version 3 or later as published by the Free Software
24 Foundation. Please review the following information to ensure the GNU
25 General Public License requirements will be met:
26 https://www.gnu.org/licenses/gpl-3.0.html.
27 
28 NOTE: All products, services or anything associated to trademarks and
29 service marks used or referenced on this file are the property of their
30 respective companies/owners or its subsidiaries. Other names and brands
31 may be claimed as the property of others.
32 
33 For more info about intellectual property visit: aurorafoss.org or
34 directly send an email to: contact (at) aurorafoss.org .
35 
36 This file has bindings for an existing code, part of The Android Open Source
37 Project implementation. Check it out at android.googlesource.com .
38 */
39 
40 module aurorafw.android.platform.keycodes;
41 
42 /**
43  * @addtogroup Input
44  * @{
45  */
46 
47 /**
48  * @file aurorafw/android/platform/keycodes.d
49  */
50 
51 version (Android):
52 extern (C):
53 @system:
54 nothrow:
55 @nogc:
56 
57 /******************************************************************
58  *
59  * IMPORTANT NOTICE:
60  *
61  *   This file is part of Android's set of stable system headers
62  *   exposed by the Android NDK (Native Development Kit).
63  *
64  *   Third-party source AND binary code relies on the definitions
65  *   here to be FROZEN ON ALL UPCOMING PLATFORM RELEASES.
66  *
67  *   - DO NOT MODIFY ENUMS (EXCEPT IF YOU ADD NEW 32-BIT VALUES)
68  *   - DO NOT MODIFY CONSTANTS OR FUNCTIONAL MACROS
69  *   - DO NOT CHANGE THE SIGNATURE OF FUNCTIONS IN ANY WAY
70  *   - DO NOT CHANGE THE LAYOUT OR SIZE OF STRUCTURES
71  */
72 
73 /**
74  * Key codes.
75  */
76 enum
77 {
78     /** Unknown key code. */
79     AKEYCODE_UNKNOWN = 0,
80     /** Soft Left key.
81      * Usually situated below the display on phones and used as a multi-function
82      * feature key for selecting a software defined function shown on the bottom left
83      * of the display. */
84     AKEYCODE_SOFT_LEFT = 1,
85     /** Soft Right key.
86      * Usually situated below the display on phones and used as a multi-function
87      * feature key for selecting a software defined function shown on the bottom right
88      * of the display. */
89     AKEYCODE_SOFT_RIGHT = 2,
90     /** Home key.
91      * This key is handled by the framework and is never delivered to applications. */
92     AKEYCODE_HOME = 3,
93     /** Back key. */
94     AKEYCODE_BACK = 4,
95     /** Call key. */
96     AKEYCODE_CALL = 5,
97     /** End Call key. */
98     AKEYCODE_ENDCALL = 6,
99     /** '0' key. */
100     AKEYCODE_0 = 7,
101     /** '1' key. */
102     AKEYCODE_1 = 8,
103     /** '2' key. */
104     AKEYCODE_2 = 9,
105     /** '3' key. */
106     AKEYCODE_3 = 10,
107     /** '4' key. */
108     AKEYCODE_4 = 11,
109     /** '5' key. */
110     AKEYCODE_5 = 12,
111     /** '6' key. */
112     AKEYCODE_6 = 13,
113     /** '7' key. */
114     AKEYCODE_7 = 14,
115     /** '8' key. */
116     AKEYCODE_8 = 15,
117     /** '9' key. */
118     AKEYCODE_9 = 16,
119     /** '*' key. */
120     AKEYCODE_STAR = 17,
121     /** '#' key. */
122     AKEYCODE_POUND = 18,
123     /** Directional Pad Up key.
124      * May also be synthesized from trackball motions. */
125     AKEYCODE_DPAD_UP = 19,
126     /** Directional Pad Down key.
127      * May also be synthesized from trackball motions. */
128     AKEYCODE_DPAD_DOWN = 20,
129     /** Directional Pad Left key.
130      * May also be synthesized from trackball motions. */
131     AKEYCODE_DPAD_LEFT = 21,
132     /** Directional Pad Right key.
133      * May also be synthesized from trackball motions. */
134     AKEYCODE_DPAD_RIGHT = 22,
135     /** Directional Pad Center key.
136      * May also be synthesized from trackball motions. */
137     AKEYCODE_DPAD_CENTER = 23,
138     /** Volume Up key.
139      * Adjusts the speaker volume up. */
140     AKEYCODE_VOLUME_UP = 24,
141     /** Volume Down key.
142      * Adjusts the speaker volume down. */
143     AKEYCODE_VOLUME_DOWN = 25,
144     /** Power key. */
145     AKEYCODE_POWER = 26,
146     /** Camera key.
147      * Used to launch a camera application or take pictures. */
148     AKEYCODE_CAMERA = 27,
149     /** Clear key. */
150     AKEYCODE_CLEAR = 28,
151     /** 'A' key. */
152     AKEYCODE_A = 29,
153     /** 'B' key. */
154     AKEYCODE_B = 30,
155     /** 'C' key. */
156     AKEYCODE_C = 31,
157     /** 'D' key. */
158     AKEYCODE_D = 32,
159     /** 'E' key. */
160     AKEYCODE_E = 33,
161     /** 'F' key. */
162     AKEYCODE_F = 34,
163     /** 'G' key. */
164     AKEYCODE_G = 35,
165     /** 'H' key. */
166     AKEYCODE_H = 36,
167     /** 'I' key. */
168     AKEYCODE_I = 37,
169     /** 'J' key. */
170     AKEYCODE_J = 38,
171     /** 'K' key. */
172     AKEYCODE_K = 39,
173     /** 'L' key. */
174     AKEYCODE_L = 40,
175     /** 'M' key. */
176     AKEYCODE_M = 41,
177     /** 'N' key. */
178     AKEYCODE_N = 42,
179     /** 'O' key. */
180     AKEYCODE_O = 43,
181     /** 'P' key. */
182     AKEYCODE_P = 44,
183     /** 'Q' key. */
184     AKEYCODE_Q = 45,
185     /** 'R' key. */
186     AKEYCODE_R = 46,
187     /** 'S' key. */
188     AKEYCODE_S = 47,
189     /** 'T' key. */
190     AKEYCODE_T = 48,
191     /** 'U' key. */
192     AKEYCODE_U = 49,
193     /** 'V' key. */
194     AKEYCODE_V = 50,
195     /** 'W' key. */
196     AKEYCODE_W = 51,
197     /** 'X' key. */
198     AKEYCODE_X = 52,
199     /** 'Y' key. */
200     AKEYCODE_Y = 53,
201     /** 'Z' key. */
202     AKEYCODE_Z = 54,
203     /** ',' key. */
204     AKEYCODE_COMMA = 55,
205     /** '.' key. */
206     AKEYCODE_PERIOD = 56,
207     /** Left Alt modifier key. */
208     AKEYCODE_ALT_LEFT = 57,
209     /** Right Alt modifier key. */
210     AKEYCODE_ALT_RIGHT = 58,
211     /** Left Shift modifier key. */
212     AKEYCODE_SHIFT_LEFT = 59,
213     /** Right Shift modifier key. */
214     AKEYCODE_SHIFT_RIGHT = 60,
215     /** Tab key. */
216     AKEYCODE_TAB = 61,
217     /** Space key. */
218     AKEYCODE_SPACE = 62,
219     /** Symbol modifier key.
220      * Used to enter alternate symbols. */
221     AKEYCODE_SYM = 63,
222     /** Explorer special function key.
223      * Used to launch a browser application. */
224     AKEYCODE_EXPLORER = 64,
225     /** Envelope special function key.
226      * Used to launch a mail application. */
227     AKEYCODE_ENVELOPE = 65,
228     /** Enter key. */
229     AKEYCODE_ENTER = 66,
230     /** Backspace key.
231      * Deletes characters before the insertion point, unlike {@link AKEYCODE_FORWARD_DEL}. */
232     AKEYCODE_DEL = 67,
233     /** '`' (backtick) key. */
234     AKEYCODE_GRAVE = 68,
235     /** '-'. */
236     AKEYCODE_MINUS = 69,
237     /** '=' key. */
238     AKEYCODE_EQUALS = 70,
239     /** '[' key. */
240     AKEYCODE_LEFT_BRACKET = 71,
241     /** ']' key. */
242     AKEYCODE_RIGHT_BRACKET = 72,
243     /** '\' key. */
244     AKEYCODE_BACKSLASH = 73,
245     /** ';' key. */
246     AKEYCODE_SEMICOLON = 74,
247     /** ''' (apostrophe) key. */
248     AKEYCODE_APOSTROPHE = 75,
249     /** '/' key. */
250     AKEYCODE_SLASH = 76,
251     /** '@' key. */
252     AKEYCODE_AT = 77,
253     /** Number modifier key.
254      * Used to enter numeric symbols.
255      * This key is not {@link AKEYCODE_NUM_LOCK}; it is more like {@link AKEYCODE_ALT_LEFT}. */
256     AKEYCODE_NUM = 78,
257     /** Headset Hook key.
258      * Used to hang up calls and stop media. */
259     AKEYCODE_HEADSETHOOK = 79,
260     /** Camera Focus key.
261      * Used to focus the camera. */
262     AKEYCODE_FOCUS = 80,
263     /** '+' key. */
264     AKEYCODE_PLUS = 81,
265     /** Menu key. */
266     AKEYCODE_MENU = 82,
267     /** Notification key. */
268     AKEYCODE_NOTIFICATION = 83,
269     /** Search key. */
270     AKEYCODE_SEARCH = 84,
271     /** Play/Pause media key. */
272     AKEYCODE_MEDIA_PLAY_PAUSE = 85,
273     /** Stop media key. */
274     AKEYCODE_MEDIA_STOP = 86,
275     /** Play Next media key. */
276     AKEYCODE_MEDIA_NEXT = 87,
277     /** Play Previous media key. */
278     AKEYCODE_MEDIA_PREVIOUS = 88,
279     /** Rewind media key. */
280     AKEYCODE_MEDIA_REWIND = 89,
281     /** Fast Forward media key. */
282     AKEYCODE_MEDIA_FAST_FORWARD = 90,
283     /** Mute key.
284      * Mutes the microphone, unlike {@link AKEYCODE_VOLUME_MUTE}. */
285     AKEYCODE_MUTE = 91,
286     /** Page Up key. */
287     AKEYCODE_PAGE_UP = 92,
288     /** Page Down key. */
289     AKEYCODE_PAGE_DOWN = 93,
290     /** Picture Symbols modifier key.
291      * Used to switch symbol sets (Emoji, Kao-moji). */
292     AKEYCODE_PICTSYMBOLS = 94,
293     /** Switch Charset modifier key.
294      * Used to switch character sets (Kanji, Katakana). */
295     AKEYCODE_SWITCH_CHARSET = 95,
296     /** A Button key.
297      * On a game controller, the A button should be either the button labeled A
298      * or the first button on the bottom row of controller buttons. */
299     AKEYCODE_BUTTON_A = 96,
300     /** B Button key.
301      * On a game controller, the B button should be either the button labeled B
302      * or the second button on the bottom row of controller buttons. */
303     AKEYCODE_BUTTON_B = 97,
304     /** C Button key.
305      * On a game controller, the C button should be either the button labeled C
306      * or the third button on the bottom row of controller buttons. */
307     AKEYCODE_BUTTON_C = 98,
308     /** X Button key.
309      * On a game controller, the X button should be either the button labeled X
310      * or the first button on the upper row of controller buttons. */
311     AKEYCODE_BUTTON_X = 99,
312     /** Y Button key.
313      * On a game controller, the Y button should be either the button labeled Y
314      * or the second button on the upper row of controller buttons. */
315     AKEYCODE_BUTTON_Y = 100,
316     /** Z Button key.
317      * On a game controller, the Z button should be either the button labeled Z
318      * or the third button on the upper row of controller buttons. */
319     AKEYCODE_BUTTON_Z = 101,
320     /** L1 Button key.
321      * On a game controller, the L1 button should be either the button labeled L1 (or L)
322      * or the top left trigger button. */
323     AKEYCODE_BUTTON_L1 = 102,
324     /** R1 Button key.
325      * On a game controller, the R1 button should be either the button labeled R1 (or R)
326      * or the top right trigger button. */
327     AKEYCODE_BUTTON_R1 = 103,
328     /** L2 Button key.
329      * On a game controller, the L2 button should be either the button labeled L2
330      * or the bottom left trigger button. */
331     AKEYCODE_BUTTON_L2 = 104,
332     /** R2 Button key.
333      * On a game controller, the R2 button should be either the button labeled R2
334      * or the bottom right trigger button. */
335     AKEYCODE_BUTTON_R2 = 105,
336     /** Left Thumb Button key.
337      * On a game controller, the left thumb button indicates that the left (or only)
338      * joystick is pressed. */
339     AKEYCODE_BUTTON_THUMBL = 106,
340     /** Right Thumb Button key.
341      * On a game controller, the right thumb button indicates that the right
342      * joystick is pressed. */
343     AKEYCODE_BUTTON_THUMBR = 107,
344     /** Start Button key.
345      * On a game controller, the button labeled Start. */
346     AKEYCODE_BUTTON_START = 108,
347     /** Select Button key.
348      * On a game controller, the button labeled Select. */
349     AKEYCODE_BUTTON_SELECT = 109,
350     /** Mode Button key.
351      * On a game controller, the button labeled Mode. */
352     AKEYCODE_BUTTON_MODE = 110,
353     /** Escape key. */
354     AKEYCODE_ESCAPE = 111,
355     /** Forward Delete key.
356      * Deletes characters ahead of the insertion point, unlike {@link AKEYCODE_DEL}. */
357     AKEYCODE_FORWARD_DEL = 112,
358     /** Left Control modifier key. */
359     AKEYCODE_CTRL_LEFT = 113,
360     /** Right Control modifier key. */
361     AKEYCODE_CTRL_RIGHT = 114,
362     /** Caps Lock key. */
363     AKEYCODE_CAPS_LOCK = 115,
364     /** Scroll Lock key. */
365     AKEYCODE_SCROLL_LOCK = 116,
366     /** Left Meta modifier key. */
367     AKEYCODE_META_LEFT = 117,
368     /** Right Meta modifier key. */
369     AKEYCODE_META_RIGHT = 118,
370     /** Function modifier key. */
371     AKEYCODE_FUNCTION = 119,
372     /** System Request / Print Screen key. */
373     AKEYCODE_SYSRQ = 120,
374     /** Break / Pause key. */
375     AKEYCODE_BREAK = 121,
376     /** Home Movement key.
377      * Used for scrolling or moving the cursor around to the start of a line
378      * or to the top of a list. */
379     AKEYCODE_MOVE_HOME = 122,
380     /** End Movement key.
381      * Used for scrolling or moving the cursor around to the end of a line
382      * or to the bottom of a list. */
383     AKEYCODE_MOVE_END = 123,
384     /** Insert key.
385      * Toggles insert / overwrite edit mode. */
386     AKEYCODE_INSERT = 124,
387     /** Forward key.
388      * Navigates forward in the history stack.  Complement of {@link AKEYCODE_BACK}. */
389     AKEYCODE_FORWARD = 125,
390     /** Play media key. */
391     AKEYCODE_MEDIA_PLAY = 126,
392     /** Pause media key. */
393     AKEYCODE_MEDIA_PAUSE = 127,
394     /** Close media key.
395      * May be used to close a CD tray, for example. */
396     AKEYCODE_MEDIA_CLOSE = 128,
397     /** Eject media key.
398      * May be used to eject a CD tray, for example. */
399     AKEYCODE_MEDIA_EJECT = 129,
400     /** Record media key. */
401     AKEYCODE_MEDIA_RECORD = 130,
402     /** F1 key. */
403     AKEYCODE_F1 = 131,
404     /** F2 key. */
405     AKEYCODE_F2 = 132,
406     /** F3 key. */
407     AKEYCODE_F3 = 133,
408     /** F4 key. */
409     AKEYCODE_F4 = 134,
410     /** F5 key. */
411     AKEYCODE_F5 = 135,
412     /** F6 key. */
413     AKEYCODE_F6 = 136,
414     /** F7 key. */
415     AKEYCODE_F7 = 137,
416     /** F8 key. */
417     AKEYCODE_F8 = 138,
418     /** F9 key. */
419     AKEYCODE_F9 = 139,
420     /** F10 key. */
421     AKEYCODE_F10 = 140,
422     /** F11 key. */
423     AKEYCODE_F11 = 141,
424     /** F12 key. */
425     AKEYCODE_F12 = 142,
426     /** Num Lock key.
427      * This is the Num Lock key; it is different from {@link AKEYCODE_NUM}.
428      * This key alters the behavior of other keys on the numeric keypad. */
429     AKEYCODE_NUM_LOCK = 143,
430     /** Numeric keypad '0' key. */
431     AKEYCODE_NUMPAD_0 = 144,
432     /** Numeric keypad '1' key. */
433     AKEYCODE_NUMPAD_1 = 145,
434     /** Numeric keypad '2' key. */
435     AKEYCODE_NUMPAD_2 = 146,
436     /** Numeric keypad '3' key. */
437     AKEYCODE_NUMPAD_3 = 147,
438     /** Numeric keypad '4' key. */
439     AKEYCODE_NUMPAD_4 = 148,
440     /** Numeric keypad '5' key. */
441     AKEYCODE_NUMPAD_5 = 149,
442     /** Numeric keypad '6' key. */
443     AKEYCODE_NUMPAD_6 = 150,
444     /** Numeric keypad '7' key. */
445     AKEYCODE_NUMPAD_7 = 151,
446     /** Numeric keypad '8' key. */
447     AKEYCODE_NUMPAD_8 = 152,
448     /** Numeric keypad '9' key. */
449     AKEYCODE_NUMPAD_9 = 153,
450     /** Numeric keypad '/' key (for division). */
451     AKEYCODE_NUMPAD_DIVIDE = 154,
452     /** Numeric keypad '*' key (for multiplication). */
453     AKEYCODE_NUMPAD_MULTIPLY = 155,
454     /** Numeric keypad '-' key (for subtraction). */
455     AKEYCODE_NUMPAD_SUBTRACT = 156,
456     /** Numeric keypad '+' key (for addition). */
457     AKEYCODE_NUMPAD_ADD = 157,
458     /** Numeric keypad '.' key (for decimals or digit grouping). */
459     AKEYCODE_NUMPAD_DOT = 158,
460     /** Numeric keypad ',' key (for decimals or digit grouping). */
461     AKEYCODE_NUMPAD_COMMA = 159,
462     /** Numeric keypad Enter key. */
463     AKEYCODE_NUMPAD_ENTER = 160,
464     /** Numeric keypad '=' key. */
465     AKEYCODE_NUMPAD_EQUALS = 161,
466     /** Numeric keypad '(' key. */
467     AKEYCODE_NUMPAD_LEFT_PAREN = 162,
468     /** Numeric keypad ')' key. */
469     AKEYCODE_NUMPAD_RIGHT_PAREN = 163,
470     /** Volume Mute key.
471      * Mutes the speaker, unlike {@link AKEYCODE_MUTE}.
472      * This key should normally be implemented as a toggle such that the first press
473      * mutes the speaker and the second press restores the original volume. */
474     AKEYCODE_VOLUME_MUTE = 164,
475     /** Info key.
476      * Common on TV remotes to show additional information related to what is
477      * currently being viewed. */
478     AKEYCODE_INFO = 165,
479     /** Channel up key.
480      * On TV remotes, increments the television channel. */
481     AKEYCODE_CHANNEL_UP = 166,
482     /** Channel down key.
483      * On TV remotes, decrements the television channel. */
484     AKEYCODE_CHANNEL_DOWN = 167,
485     /** Zoom in key. */
486     AKEYCODE_ZOOM_IN = 168,
487     /** Zoom out key. */
488     AKEYCODE_ZOOM_OUT = 169,
489     /** TV key.
490      * On TV remotes, switches to viewing live TV. */
491     AKEYCODE_TV = 170,
492     /** Window key.
493      * On TV remotes, toggles picture-in-picture mode or other windowing functions. */
494     AKEYCODE_WINDOW = 171,
495     /** Guide key.
496      * On TV remotes, shows a programming guide. */
497     AKEYCODE_GUIDE = 172,
498     /** DVR key.
499      * On some TV remotes, switches to a DVR mode for recorded shows. */
500     AKEYCODE_DVR = 173,
501     /** Bookmark key.
502      * On some TV remotes, bookmarks content or web pages. */
503     AKEYCODE_BOOKMARK = 174,
504     /** Toggle captions key.
505      * Switches the mode for closed-captioning text, for example during television shows. */
506     AKEYCODE_CAPTIONS = 175,
507     /** Settings key.
508      * Starts the system settings activity. */
509     AKEYCODE_SETTINGS = 176,
510     /** TV power key.
511      * On TV remotes, toggles the power on a television screen. */
512     AKEYCODE_TV_POWER = 177,
513     /** TV input key.
514      * On TV remotes, switches the input on a television screen. */
515     AKEYCODE_TV_INPUT = 178,
516     /** Set-top-box power key.
517      * On TV remotes, toggles the power on an external Set-top-box. */
518     AKEYCODE_STB_POWER = 179,
519     /** Set-top-box input key.
520      * On TV remotes, switches the input mode on an external Set-top-box. */
521     AKEYCODE_STB_INPUT = 180,
522     /** A/V Receiver power key.
523      * On TV remotes, toggles the power on an external A/V Receiver. */
524     AKEYCODE_AVR_POWER = 181,
525     /** A/V Receiver input key.
526      * On TV remotes, switches the input mode on an external A/V Receiver. */
527     AKEYCODE_AVR_INPUT = 182,
528     /** Red "programmable" key.
529      * On TV remotes, acts as a contextual/programmable key. */
530     AKEYCODE_PROG_RED = 183,
531     /** Green "programmable" key.
532      * On TV remotes, actsas a contextual/programmable key. */
533     AKEYCODE_PROG_GREEN = 184,
534     /** Yellow "programmable" key.
535      * On TV remotes, acts as a contextual/programmable key. */
536     AKEYCODE_PROG_YELLOW = 185,
537     /** Blue "programmable" key.
538      * On TV remotes, acts as a contextual/programmable key. */
539     AKEYCODE_PROG_BLUE = 186,
540     /** App switch key.
541      * Should bring up the application switcher dialog. */
542     AKEYCODE_APP_SWITCH = 187,
543     /** Generic Game Pad Button #1.*/
544     AKEYCODE_BUTTON_1 = 188,
545     /** Generic Game Pad Button #2.*/
546     AKEYCODE_BUTTON_2 = 189,
547     /** Generic Game Pad Button #3.*/
548     AKEYCODE_BUTTON_3 = 190,
549     /** Generic Game Pad Button #4.*/
550     AKEYCODE_BUTTON_4 = 191,
551     /** Generic Game Pad Button #5.*/
552     AKEYCODE_BUTTON_5 = 192,
553     /** Generic Game Pad Button #6.*/
554     AKEYCODE_BUTTON_6 = 193,
555     /** Generic Game Pad Button #7.*/
556     AKEYCODE_BUTTON_7 = 194,
557     /** Generic Game Pad Button #8.*/
558     AKEYCODE_BUTTON_8 = 195,
559     /** Generic Game Pad Button #9.*/
560     AKEYCODE_BUTTON_9 = 196,
561     /** Generic Game Pad Button #10.*/
562     AKEYCODE_BUTTON_10 = 197,
563     /** Generic Game Pad Button #11.*/
564     AKEYCODE_BUTTON_11 = 198,
565     /** Generic Game Pad Button #12.*/
566     AKEYCODE_BUTTON_12 = 199,
567     /** Generic Game Pad Button #13.*/
568     AKEYCODE_BUTTON_13 = 200,
569     /** Generic Game Pad Button #14.*/
570     AKEYCODE_BUTTON_14 = 201,
571     /** Generic Game Pad Button #15.*/
572     AKEYCODE_BUTTON_15 = 202,
573     /** Generic Game Pad Button #16.*/
574     AKEYCODE_BUTTON_16 = 203,
575     /** Language Switch key.
576      * Toggles the current input language such as switching between English and Japanese on
577      * a QWERTY keyboard.  On some devices, the same function may be performed by
578      * pressing Shift+Spacebar. */
579     AKEYCODE_LANGUAGE_SWITCH = 204,
580     /** Manner Mode key.
581      * Toggles silent or vibrate mode on and off to make the device behave more politely
582      * in certain settings such as on a crowded train.  On some devices, the key may only
583      * operate when long-pressed. */
584     AKEYCODE_MANNER_MODE = 205,
585     /** 3D Mode key.
586      * Toggles the display between 2D and 3D mode. */
587     AKEYCODE_3D_MODE = 206,
588     /** Contacts special function key.
589      * Used to launch an address book application. */
590     AKEYCODE_CONTACTS = 207,
591     /** Calendar special function key.
592      * Used to launch a calendar application. */
593     AKEYCODE_CALENDAR = 208,
594     /** Music special function key.
595      * Used to launch a music player application. */
596     AKEYCODE_MUSIC = 209,
597     /** Calculator special function key.
598      * Used to launch a calculator application. */
599     AKEYCODE_CALCULATOR = 210,
600     /** Japanese full-width / half-width key. */
601     AKEYCODE_ZENKAKU_HANKAKU = 211,
602     /** Japanese alphanumeric key. */
603     AKEYCODE_EISU = 212,
604     /** Japanese non-conversion key. */
605     AKEYCODE_MUHENKAN = 213,
606     /** Japanese conversion key. */
607     AKEYCODE_HENKAN = 214,
608     /** Japanese katakana / hiragana key. */
609     AKEYCODE_KATAKANA_HIRAGANA = 215,
610     /** Japanese Yen key. */
611     AKEYCODE_YEN = 216,
612     /** Japanese Ro key. */
613     AKEYCODE_RO = 217,
614     /** Japanese kana key. */
615     AKEYCODE_KANA = 218,
616     /** Assist key.
617      * Launches the global assist activity.  Not delivered to applications. */
618     AKEYCODE_ASSIST = 219,
619     /** Brightness Down key.
620      * Adjusts the screen brightness down. */
621     AKEYCODE_BRIGHTNESS_DOWN = 220,
622     /** Brightness Up key.
623      * Adjusts the screen brightness up. */
624     AKEYCODE_BRIGHTNESS_UP = 221,
625     /** Audio Track key.
626      * Switches the audio tracks. */
627     AKEYCODE_MEDIA_AUDIO_TRACK = 222,
628     /** Sleep key.
629      * Puts the device to sleep.  Behaves somewhat like {@link AKEYCODE_POWER} but it
630      * has no effect if the device is already asleep. */
631     AKEYCODE_SLEEP = 223,
632     /** Wakeup key.
633      * Wakes up the device.  Behaves somewhat like {@link AKEYCODE_POWER} but it
634      * has no effect if the device is already awake. */
635     AKEYCODE_WAKEUP = 224,
636     /** Pairing key.
637      * Initiates peripheral pairing mode. Useful for pairing remote control
638      * devices or game controllers, especially if no other input mode is
639      * available. */
640     AKEYCODE_PAIRING = 225,
641     /** Media Top Menu key.
642      * Goes to the top of media menu. */
643     AKEYCODE_MEDIA_TOP_MENU = 226,
644     /** '11' key. */
645     AKEYCODE_11 = 227,
646     /** '12' key. */
647     AKEYCODE_12 = 228,
648     /** Last Channel key.
649      * Goes to the last viewed channel. */
650     AKEYCODE_LAST_CHANNEL = 229,
651     /** TV data service key.
652      * Displays data services like weather, sports. */
653     AKEYCODE_TV_DATA_SERVICE = 230,
654     /** Voice Assist key.
655      * Launches the global voice assist activity. Not delivered to applications. */
656     AKEYCODE_VOICE_ASSIST = 231,
657     /** Radio key.
658      * Toggles TV service / Radio service. */
659     AKEYCODE_TV_RADIO_SERVICE = 232,
660     /** Teletext key.
661      * Displays Teletext service. */
662     AKEYCODE_TV_TELETEXT = 233,
663     /** Number entry key.
664      * Initiates to enter multi-digit channel nubmber when each digit key is assigned
665      * for selecting separate channel. Corresponds to Number Entry Mode (0x1D) of CEC
666      * User Control Code. */
667     AKEYCODE_TV_NUMBER_ENTRY = 234,
668     /** Analog Terrestrial key.
669      * Switches to analog terrestrial broadcast service. */
670     AKEYCODE_TV_TERRESTRIAL_ANALOG = 235,
671     /** Digital Terrestrial key.
672      * Switches to digital terrestrial broadcast service. */
673     AKEYCODE_TV_TERRESTRIAL_DIGITAL = 236,
674     /** Satellite key.
675      * Switches to digital satellite broadcast service. */
676     AKEYCODE_TV_SATELLITE = 237,
677     /** BS key.
678      * Switches to BS digital satellite broadcasting service available in Japan. */
679     AKEYCODE_TV_SATELLITE_BS = 238,
680     /** CS key.
681      * Switches to CS digital satellite broadcasting service available in Japan. */
682     AKEYCODE_TV_SATELLITE_CS = 239,
683     /** BS/CS key.
684      * Toggles between BS and CS digital satellite services. */
685     AKEYCODE_TV_SATELLITE_SERVICE = 240,
686     /** Toggle Network key.
687      * Toggles selecting broacast services. */
688     AKEYCODE_TV_NETWORK = 241,
689     /** Antenna/Cable key.
690      * Toggles broadcast input source between antenna and cable. */
691     AKEYCODE_TV_ANTENNA_CABLE = 242,
692     /** HDMI #1 key.
693      * Switches to HDMI input #1. */
694     AKEYCODE_TV_INPUT_HDMI_1 = 243,
695     /** HDMI #2 key.
696      * Switches to HDMI input #2. */
697     AKEYCODE_TV_INPUT_HDMI_2 = 244,
698     /** HDMI #3 key.
699      * Switches to HDMI input #3. */
700     AKEYCODE_TV_INPUT_HDMI_3 = 245,
701     /** HDMI #4 key.
702      * Switches to HDMI input #4. */
703     AKEYCODE_TV_INPUT_HDMI_4 = 246,
704     /** Composite #1 key.
705      * Switches to composite video input #1. */
706     AKEYCODE_TV_INPUT_COMPOSITE_1 = 247,
707     /** Composite #2 key.
708      * Switches to composite video input #2. */
709     AKEYCODE_TV_INPUT_COMPOSITE_2 = 248,
710     /** Component #1 key.
711      * Switches to component video input #1. */
712     AKEYCODE_TV_INPUT_COMPONENT_1 = 249,
713     /** Component #2 key.
714      * Switches to component video input #2. */
715     AKEYCODE_TV_INPUT_COMPONENT_2 = 250,
716     /** VGA #1 key.
717      * Switches to VGA (analog RGB) input #1. */
718     AKEYCODE_TV_INPUT_VGA_1 = 251,
719     /** Audio description key.
720      * Toggles audio description off / on. */
721     AKEYCODE_TV_AUDIO_DESCRIPTION = 252,
722     /** Audio description mixing volume up key.
723      * Louden audio description volume as compared with normal audio volume. */
724     AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP = 253,
725     /** Audio description mixing volume down key.
726      * Lessen audio description volume as compared with normal audio volume. */
727     AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN = 254,
728     /** Zoom mode key.
729      * Changes Zoom mode (Normal, Full, Zoom, Wide-zoom, etc.) */
730     AKEYCODE_TV_ZOOM_MODE = 255,
731     /** Contents menu key.
732      * Goes to the title list. Corresponds to Contents Menu (0x0B) of CEC User Control
733      * Code */
734     AKEYCODE_TV_CONTENTS_MENU = 256,
735     /** Media context menu key.
736      * Goes to the context menu of media contents. Corresponds to Media Context-sensitive
737      * Menu (0x11) of CEC User Control Code. */
738     AKEYCODE_TV_MEDIA_CONTEXT_MENU = 257,
739     /** Timer programming key.
740      * Goes to the timer recording menu. Corresponds to Timer Programming (0x54) of
741      * CEC User Control Code. */
742     AKEYCODE_TV_TIMER_PROGRAMMING = 258,
743     /** Help key. */
744     AKEYCODE_HELP = 259,
745     AKEYCODE_NAVIGATE_PREVIOUS = 260,
746     AKEYCODE_NAVIGATE_NEXT = 261,
747     AKEYCODE_NAVIGATE_IN = 262,
748     AKEYCODE_NAVIGATE_OUT = 263,
749     /** Primary stem key for Wear
750      * Main power/reset button on watch. */
751     AKEYCODE_STEM_PRIMARY = 264,
752     /** Generic stem key 1 for Wear */
753     AKEYCODE_STEM_1 = 265,
754     /** Generic stem key 2 for Wear */
755     AKEYCODE_STEM_2 = 266,
756     /** Generic stem key 3 for Wear */
757     AKEYCODE_STEM_3 = 267,
758     /** Directional Pad Up-Left */
759     AKEYCODE_DPAD_UP_LEFT = 268,
760     /** Directional Pad Down-Left */
761     AKEYCODE_DPAD_DOWN_LEFT = 269,
762     /** Directional Pad Up-Right */
763     AKEYCODE_DPAD_UP_RIGHT = 270,
764     /** Directional Pad Down-Right */
765     AKEYCODE_DPAD_DOWN_RIGHT = 271,
766     /** Skip forward media key */
767     AKEYCODE_MEDIA_SKIP_FORWARD = 272,
768     /** Skip backward media key */
769     AKEYCODE_MEDIA_SKIP_BACKWARD = 273,
770     /** Step forward media key.
771      * Steps media forward one from at a time. */
772     AKEYCODE_MEDIA_STEP_FORWARD = 274,
773     /** Step backward media key.
774      * Steps media backward one from at a time. */
775     AKEYCODE_MEDIA_STEP_BACKWARD = 275,
776     /** Put device to sleep unless a wakelock is held. */
777     AKEYCODE_SOFT_SLEEP = 276,
778     /** Cut key. */
779     AKEYCODE_CUT = 277,
780     /** Copy key. */
781     AKEYCODE_COPY = 278,
782     /** Paste key. */
783     AKEYCODE_PASTE = 279,
784     /** fingerprint navigation key, up. */
785     AKEYCODE_SYSTEM_NAVIGATION_UP = 280,
786     /** fingerprint navigation key, down. */
787     AKEYCODE_SYSTEM_NAVIGATION_DOWN = 281,
788     /** fingerprint navigation key, left. */
789     AKEYCODE_SYSTEM_NAVIGATION_LEFT = 282,
790     /** fingerprint navigation key, right. */
791     AKEYCODE_SYSTEM_NAVIGATION_RIGHT = 283,
792     /** all apps */
793     AKEYCODE_ALL_APPS = 284,
794     /** refresh key */
795     AKEYCODE_REFRESH = 285
796 
797     // NOTE: If you add a new keycode here you must also add it to several other files.
798     //       Refer to frameworks/base/core/java/android/view/KeyEvent.java for the full list.
799 }
800 
801 // _ANDROID_KEYCODES_H
802 
803 /** @} */