2012-03-23 21:19:36 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2010 The Android Open Source Project
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
|
2015-03-28 00:15:43 +00:00
|
|
|
/**
|
|
|
|
* @addtogroup Input
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file keycodes.h
|
|
|
|
*/
|
|
|
|
|
2012-03-23 21:19:36 +00:00
|
|
|
#ifndef _ANDROID_KEYCODES_H
|
|
|
|
#define _ANDROID_KEYCODES_H
|
|
|
|
|
|
|
|
/******************************************************************
|
|
|
|
*
|
|
|
|
* IMPORTANT NOTICE:
|
|
|
|
*
|
|
|
|
* This file is part of Android's set of stable system headers
|
|
|
|
* exposed by the Android NDK (Native Development Kit).
|
|
|
|
*
|
|
|
|
* Third-party source AND binary code relies on the definitions
|
|
|
|
* here to be FROZEN ON ALL UPCOMING PLATFORM RELEASES.
|
|
|
|
*
|
|
|
|
* - DO NOT MODIFY ENUMS (EXCEPT IF YOU ADD NEW 32-BIT VALUES)
|
|
|
|
* - DO NOT MODIFY CONSTANTS OR FUNCTIONAL MACROS
|
|
|
|
* - DO NOT CHANGE THE SIGNATURE OF FUNCTIONS IN ANY WAY
|
|
|
|
* - DO NOT CHANGE THE LAYOUT OR SIZE OF STRUCTURES
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2015-03-28 00:15:43 +00:00
|
|
|
/**
|
2012-03-23 21:19:36 +00:00
|
|
|
* Key codes.
|
|
|
|
*/
|
|
|
|
enum {
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Unknown key code. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_UNKNOWN = 0,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Soft Left key.
|
|
|
|
* Usually situated below the display on phones and used as a multi-function
|
|
|
|
* feature key for selecting a software defined function shown on the bottom left
|
|
|
|
* of the display. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_SOFT_LEFT = 1,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Soft Right key.
|
|
|
|
* Usually situated below the display on phones and used as a multi-function
|
|
|
|
* feature key for selecting a software defined function shown on the bottom right
|
|
|
|
* of the display. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_SOFT_RIGHT = 2,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Home key.
|
|
|
|
* This key is handled by the framework and is never delivered to applications. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_HOME = 3,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Back key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BACK = 4,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Call key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_CALL = 5,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** End Call key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_ENDCALL = 6,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** '0' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_0 = 7,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** '1' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_1 = 8,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** '2' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_2 = 9,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** '3' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_3 = 10,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** '4' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_4 = 11,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** '5' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_5 = 12,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** '6' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_6 = 13,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** '7' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_7 = 14,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** '8' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_8 = 15,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** '9' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_9 = 16,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** '*' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_STAR = 17,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** '#' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_POUND = 18,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Directional Pad Up key.
|
|
|
|
* May also be synthesized from trackball motions. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_DPAD_UP = 19,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Directional Pad Down key.
|
|
|
|
* May also be synthesized from trackball motions. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_DPAD_DOWN = 20,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Directional Pad Left key.
|
|
|
|
* May also be synthesized from trackball motions. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_DPAD_LEFT = 21,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Directional Pad Right key.
|
|
|
|
* May also be synthesized from trackball motions. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_DPAD_RIGHT = 22,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Directional Pad Center key.
|
|
|
|
* May also be synthesized from trackball motions. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_DPAD_CENTER = 23,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Volume Up key.
|
|
|
|
* Adjusts the speaker volume up. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_VOLUME_UP = 24,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Volume Down key.
|
|
|
|
* Adjusts the speaker volume down. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_VOLUME_DOWN = 25,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Power key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_POWER = 26,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Camera key.
|
|
|
|
* Used to launch a camera application or take pictures. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_CAMERA = 27,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Clear key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_CLEAR = 28,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'A' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_A = 29,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'B' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_B = 30,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'C' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_C = 31,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'D' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_D = 32,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'E' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_E = 33,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'F' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_F = 34,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'G' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_G = 35,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'H' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_H = 36,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'I' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_I = 37,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'J' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_J = 38,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'K' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_K = 39,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'L' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_L = 40,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'M' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_M = 41,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'N' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_N = 42,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'O' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_O = 43,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'P' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_P = 44,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'Q' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_Q = 45,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'R' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_R = 46,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'S' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_S = 47,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'T' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_T = 48,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'U' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_U = 49,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'V' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_V = 50,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'W' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_W = 51,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'X' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_X = 52,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'Y' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_Y = 53,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 'Z' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_Z = 54,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** ',' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_COMMA = 55,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** '.' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_PERIOD = 56,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Left Alt modifier key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_ALT_LEFT = 57,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Right Alt modifier key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_ALT_RIGHT = 58,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Left Shift modifier key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_SHIFT_LEFT = 59,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Right Shift modifier key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_SHIFT_RIGHT = 60,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Tab key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_TAB = 61,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Space key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_SPACE = 62,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Symbol modifier key.
|
|
|
|
* Used to enter alternate symbols. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_SYM = 63,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Explorer special function key.
|
|
|
|
* Used to launch a browser application. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_EXPLORER = 64,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Envelope special function key.
|
|
|
|
* Used to launch a mail application. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_ENVELOPE = 65,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Enter key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_ENTER = 66,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Backspace key.
|
|
|
|
* Deletes characters before the insertion point, unlike {@link AKEYCODE_FORWARD_DEL}. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_DEL = 67,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** '`' (backtick) key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_GRAVE = 68,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** '-'. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_MINUS = 69,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** '=' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_EQUALS = 70,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** '[' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_LEFT_BRACKET = 71,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** ']' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_RIGHT_BRACKET = 72,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** '\' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BACKSLASH = 73,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** ';' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_SEMICOLON = 74,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** ''' (apostrophe) key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_APOSTROPHE = 75,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** '/' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_SLASH = 76,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** '@' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_AT = 77,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Number modifier key.
|
|
|
|
* Used to enter numeric symbols.
|
|
|
|
* This key is not {@link AKEYCODE_NUM_LOCK}; it is more like {@link AKEYCODE_ALT_LEFT}. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_NUM = 78,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Headset Hook key.
|
|
|
|
* Used to hang up calls and stop media. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_HEADSETHOOK = 79,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Camera Focus key.
|
|
|
|
* Used to focus the camera. */
|
|
|
|
AKEYCODE_FOCUS = 80,
|
|
|
|
/** '+' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_PLUS = 81,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Menu key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_MENU = 82,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Notification key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_NOTIFICATION = 83,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Search key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_SEARCH = 84,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Play/Pause media key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_MEDIA_PLAY_PAUSE= 85,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Stop media key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_MEDIA_STOP = 86,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Play Next media key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_MEDIA_NEXT = 87,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Play Previous media key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_MEDIA_PREVIOUS = 88,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Rewind media key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_MEDIA_REWIND = 89,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Fast Forward media key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_MEDIA_FAST_FORWARD = 90,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Mute key.
|
|
|
|
* Mutes the microphone, unlike {@link AKEYCODE_VOLUME_MUTE}. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_MUTE = 91,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Page Up key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_PAGE_UP = 92,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Page Down key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_PAGE_DOWN = 93,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Picture Symbols modifier key.
|
|
|
|
* Used to switch symbol sets (Emoji, Kao-moji). */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_PICTSYMBOLS = 94,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Switch Charset modifier key.
|
|
|
|
* Used to switch character sets (Kanji, Katakana). */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_SWITCH_CHARSET = 95,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** A Button key.
|
|
|
|
* On a game controller, the A button should be either the button labeled A
|
|
|
|
* or the first button on the bottom row of controller buttons. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_A = 96,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** B Button key.
|
|
|
|
* On a game controller, the B button should be either the button labeled B
|
|
|
|
* or the second button on the bottom row of controller buttons. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_B = 97,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** C Button key.
|
|
|
|
* On a game controller, the C button should be either the button labeled C
|
|
|
|
* or the third button on the bottom row of controller buttons. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_C = 98,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** X Button key.
|
|
|
|
* On a game controller, the X button should be either the button labeled X
|
|
|
|
* or the first button on the upper row of controller buttons. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_X = 99,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Y Button key.
|
|
|
|
* On a game controller, the Y button should be either the button labeled Y
|
|
|
|
* or the second button on the upper row of controller buttons. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_Y = 100,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Z Button key.
|
|
|
|
* On a game controller, the Z button should be either the button labeled Z
|
|
|
|
* or the third button on the upper row of controller buttons. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_Z = 101,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** L1 Button key.
|
|
|
|
* On a game controller, the L1 button should be either the button labeled L1 (or L)
|
|
|
|
* or the top left trigger button. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_L1 = 102,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** R1 Button key.
|
|
|
|
* On a game controller, the R1 button should be either the button labeled R1 (or R)
|
|
|
|
* or the top right trigger button. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_R1 = 103,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** L2 Button key.
|
|
|
|
* On a game controller, the L2 button should be either the button labeled L2
|
|
|
|
* or the bottom left trigger button. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_L2 = 104,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** R2 Button key.
|
|
|
|
* On a game controller, the R2 button should be either the button labeled R2
|
|
|
|
* or the bottom right trigger button. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_R2 = 105,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Left Thumb Button key.
|
|
|
|
* On a game controller, the left thumb button indicates that the left (or only)
|
|
|
|
* joystick is pressed. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_THUMBL = 106,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Right Thumb Button key.
|
|
|
|
* On a game controller, the right thumb button indicates that the right
|
|
|
|
* joystick is pressed. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_THUMBR = 107,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Start Button key.
|
|
|
|
* On a game controller, the button labeled Start. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_START = 108,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Select Button key.
|
|
|
|
* On a game controller, the button labeled Select. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_SELECT = 109,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Mode Button key.
|
|
|
|
* On a game controller, the button labeled Mode. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_MODE = 110,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Escape key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_ESCAPE = 111,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Forward Delete key.
|
|
|
|
* Deletes characters ahead of the insertion point, unlike {@link AKEYCODE_DEL}. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_FORWARD_DEL = 112,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Left Control modifier key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_CTRL_LEFT = 113,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Right Control modifier key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_CTRL_RIGHT = 114,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Caps Lock key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_CAPS_LOCK = 115,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Scroll Lock key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_SCROLL_LOCK = 116,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Left Meta modifier key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_META_LEFT = 117,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Right Meta modifier key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_META_RIGHT = 118,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Function modifier key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_FUNCTION = 119,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** System Request / Print Screen key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_SYSRQ = 120,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Break / Pause key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BREAK = 121,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Home Movement key.
|
|
|
|
* Used for scrolling or moving the cursor around to the start of a line
|
|
|
|
* or to the top of a list. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_MOVE_HOME = 122,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** End Movement key.
|
|
|
|
* Used for scrolling or moving the cursor around to the end of a line
|
|
|
|
* or to the bottom of a list. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_MOVE_END = 123,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Insert key.
|
|
|
|
* Toggles insert / overwrite edit mode. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_INSERT = 124,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Forward key.
|
|
|
|
* Navigates forward in the history stack. Complement of {@link AKEYCODE_BACK}. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_FORWARD = 125,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Play media key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_MEDIA_PLAY = 126,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Pause media key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_MEDIA_PAUSE = 127,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Close media key.
|
|
|
|
* May be used to close a CD tray, for example. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_MEDIA_CLOSE = 128,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Eject media key.
|
|
|
|
* May be used to eject a CD tray, for example. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_MEDIA_EJECT = 129,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Record media key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_MEDIA_RECORD = 130,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** F1 key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_F1 = 131,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** F2 key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_F2 = 132,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** F3 key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_F3 = 133,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** F4 key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_F4 = 134,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** F5 key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_F5 = 135,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** F6 key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_F6 = 136,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** F7 key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_F7 = 137,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** F8 key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_F8 = 138,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** F9 key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_F9 = 139,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** F10 key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_F10 = 140,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** F11 key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_F11 = 141,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** F12 key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_F12 = 142,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Num Lock key.
|
|
|
|
* This is the Num Lock key; it is different from {@link AKEYCODE_NUM}.
|
|
|
|
* This key alters the behavior of other keys on the numeric keypad. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_NUM_LOCK = 143,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Numeric keypad '0' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_NUMPAD_0 = 144,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Numeric keypad '1' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_NUMPAD_1 = 145,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Numeric keypad '2' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_NUMPAD_2 = 146,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Numeric keypad '3' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_NUMPAD_3 = 147,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Numeric keypad '4' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_NUMPAD_4 = 148,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Numeric keypad '5' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_NUMPAD_5 = 149,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Numeric keypad '6' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_NUMPAD_6 = 150,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Numeric keypad '7' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_NUMPAD_7 = 151,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Numeric keypad '8' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_NUMPAD_8 = 152,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Numeric keypad '9' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_NUMPAD_9 = 153,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Numeric keypad '/' key (for division). */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_NUMPAD_DIVIDE = 154,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Numeric keypad '*' key (for multiplication). */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_NUMPAD_MULTIPLY = 155,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Numeric keypad '-' key (for subtraction). */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_NUMPAD_SUBTRACT = 156,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Numeric keypad '+' key (for addition). */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_NUMPAD_ADD = 157,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Numeric keypad '.' key (for decimals or digit grouping). */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_NUMPAD_DOT = 158,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Numeric keypad ',' key (for decimals or digit grouping). */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_NUMPAD_COMMA = 159,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Numeric keypad Enter key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_NUMPAD_ENTER = 160,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Numeric keypad '=' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_NUMPAD_EQUALS = 161,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Numeric keypad '(' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_NUMPAD_LEFT_PAREN = 162,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Numeric keypad ')' key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_NUMPAD_RIGHT_PAREN = 163,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Volume Mute key.
|
|
|
|
* Mutes the speaker, unlike {@link AKEYCODE_MUTE}.
|
|
|
|
* This key should normally be implemented as a toggle such that the first press
|
|
|
|
* mutes the speaker and the second press restores the original volume. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_VOLUME_MUTE = 164,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Info key.
|
|
|
|
* Common on TV remotes to show additional information related to what is
|
|
|
|
* currently being viewed. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_INFO = 165,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Channel up key.
|
|
|
|
* On TV remotes, increments the television channel. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_CHANNEL_UP = 166,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Channel down key.
|
|
|
|
* On TV remotes, decrements the television channel. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_CHANNEL_DOWN = 167,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Zoom in key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_ZOOM_IN = 168,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Zoom out key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_ZOOM_OUT = 169,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** TV key.
|
|
|
|
* On TV remotes, switches to viewing live TV. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_TV = 170,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Window key.
|
|
|
|
* On TV remotes, toggles picture-in-picture mode or other windowing functions. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_WINDOW = 171,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Guide key.
|
|
|
|
* On TV remotes, shows a programming guide. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_GUIDE = 172,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** DVR key.
|
|
|
|
* On some TV remotes, switches to a DVR mode for recorded shows. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_DVR = 173,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Bookmark key.
|
|
|
|
* On some TV remotes, bookmarks content or web pages. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BOOKMARK = 174,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Toggle captions key.
|
|
|
|
* Switches the mode for closed-captioning text, for example during television shows. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_CAPTIONS = 175,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Settings key.
|
|
|
|
* Starts the system settings activity. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_SETTINGS = 176,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** TV power key.
|
|
|
|
* On TV remotes, toggles the power on a television screen. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_TV_POWER = 177,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** TV input key.
|
|
|
|
* On TV remotes, switches the input on a television screen. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_TV_INPUT = 178,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Set-top-box power key.
|
|
|
|
* On TV remotes, toggles the power on an external Set-top-box. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_STB_POWER = 179,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Set-top-box input key.
|
|
|
|
* On TV remotes, switches the input mode on an external Set-top-box. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_STB_INPUT = 180,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** A/V Receiver power key.
|
|
|
|
* On TV remotes, toggles the power on an external A/V Receiver. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_AVR_POWER = 181,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** A/V Receiver input key.
|
|
|
|
* On TV remotes, switches the input mode on an external A/V Receiver. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_AVR_INPUT = 182,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Red "programmable" key.
|
|
|
|
* On TV remotes, acts as a contextual/programmable key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_PROG_RED = 183,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Green "programmable" key.
|
|
|
|
* On TV remotes, actsas a contextual/programmable key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_PROG_GREEN = 184,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Yellow "programmable" key.
|
|
|
|
* On TV remotes, acts as a contextual/programmable key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_PROG_YELLOW = 185,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Blue "programmable" key.
|
|
|
|
* On TV remotes, acts as a contextual/programmable key. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_PROG_BLUE = 186,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** App switch key.
|
|
|
|
* Should bring up the application switcher dialog. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_APP_SWITCH = 187,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Generic Game Pad Button #1.*/
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_1 = 188,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Generic Game Pad Button #2.*/
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_2 = 189,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Generic Game Pad Button #3.*/
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_3 = 190,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Generic Game Pad Button #4.*/
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_4 = 191,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Generic Game Pad Button #5.*/
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_5 = 192,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Generic Game Pad Button #6.*/
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_6 = 193,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Generic Game Pad Button #7.*/
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_7 = 194,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Generic Game Pad Button #8.*/
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_8 = 195,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Generic Game Pad Button #9.*/
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_9 = 196,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Generic Game Pad Button #10.*/
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_10 = 197,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Generic Game Pad Button #11.*/
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_11 = 198,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Generic Game Pad Button #12.*/
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_12 = 199,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Generic Game Pad Button #13.*/
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_13 = 200,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Generic Game Pad Button #14.*/
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_14 = 201,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Generic Game Pad Button #15.*/
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_15 = 202,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Generic Game Pad Button #16.*/
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_BUTTON_16 = 203,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Language Switch key.
|
|
|
|
* Toggles the current input language such as switching between English and Japanese on
|
|
|
|
* a QWERTY keyboard. On some devices, the same function may be performed by
|
|
|
|
* pressing Shift+Spacebar. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_LANGUAGE_SWITCH = 204,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Manner Mode key.
|
|
|
|
* Toggles silent or vibrate mode on and off to make the device behave more politely
|
|
|
|
* in certain settings such as on a crowded train. On some devices, the key may only
|
|
|
|
* operate when long-pressed. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_MANNER_MODE = 205,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** 3D Mode key.
|
|
|
|
* Toggles the display between 2D and 3D mode. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_3D_MODE = 206,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Contacts special function key.
|
|
|
|
* Used to launch an address book application. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_CONTACTS = 207,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Calendar special function key.
|
|
|
|
* Used to launch a calendar application. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_CALENDAR = 208,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Music special function key.
|
|
|
|
* Used to launch a music player application. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_MUSIC = 209,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Calculator special function key.
|
|
|
|
* Used to launch a calculator application. */
|
2012-03-23 21:19:36 +00:00
|
|
|
AKEYCODE_CALCULATOR = 210,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Japanese full-width / half-width key. */
|
2012-02-10 07:18:26 +00:00
|
|
|
AKEYCODE_ZENKAKU_HANKAKU = 211,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Japanese alphanumeric key. */
|
2012-02-10 07:18:26 +00:00
|
|
|
AKEYCODE_EISU = 212,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Japanese non-conversion key. */
|
2012-02-10 07:18:26 +00:00
|
|
|
AKEYCODE_MUHENKAN = 213,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Japanese conversion key. */
|
2012-02-10 07:18:26 +00:00
|
|
|
AKEYCODE_HENKAN = 214,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Japanese katakana / hiragana key. */
|
2012-02-10 07:18:26 +00:00
|
|
|
AKEYCODE_KATAKANA_HIRAGANA = 215,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Japanese Yen key. */
|
2012-02-10 07:18:26 +00:00
|
|
|
AKEYCODE_YEN = 216,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Japanese Ro key. */
|
2012-02-10 07:18:26 +00:00
|
|
|
AKEYCODE_RO = 217,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Japanese kana key. */
|
2012-02-10 07:18:26 +00:00
|
|
|
AKEYCODE_KANA = 218,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Assist key.
|
|
|
|
* Launches the global assist activity. Not delivered to applications. */
|
2012-06-15 18:46:11 +00:00
|
|
|
AKEYCODE_ASSIST = 219,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Brightness Down key.
|
|
|
|
* Adjusts the screen brightness down. */
|
2013-01-31 23:14:54 +00:00
|
|
|
AKEYCODE_BRIGHTNESS_DOWN = 220,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Brightness Up key.
|
|
|
|
* Adjusts the screen brightness up. */
|
2013-01-31 23:14:54 +00:00
|
|
|
AKEYCODE_BRIGHTNESS_UP = 221,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Audio Track key.
|
|
|
|
* Switches the audio tracks. */
|
2013-07-08 04:56:02 +00:00
|
|
|
AKEYCODE_MEDIA_AUDIO_TRACK = 222,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Sleep key.
|
|
|
|
* Puts the device to sleep. Behaves somewhat like {@link AKEYCODE_POWER} but it
|
|
|
|
* has no effect if the device is already asleep. */
|
2014-03-07 21:57:59 +00:00
|
|
|
AKEYCODE_SLEEP = 223,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Wakeup key.
|
|
|
|
* Wakes up the device. Behaves somewhat like {@link AKEYCODE_POWER} but it
|
|
|
|
* has no effect if the device is already awake. */
|
2014-03-07 21:57:59 +00:00
|
|
|
AKEYCODE_WAKEUP = 224,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Pairing key.
|
|
|
|
* Initiates peripheral pairing mode. Useful for pairing remote control
|
|
|
|
* devices or game controllers, especially if no other input mode is
|
|
|
|
* available. */
|
2014-04-14 22:37:20 +00:00
|
|
|
AKEYCODE_PAIRING = 225,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Media Top Menu key.
|
|
|
|
* Goes to the top of media menu. */
|
2014-05-14 06:36:48 +00:00
|
|
|
AKEYCODE_MEDIA_TOP_MENU = 226,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** '11' key. */
|
2014-05-14 06:36:48 +00:00
|
|
|
AKEYCODE_11 = 227,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** '12' key. */
|
2014-05-14 06:36:48 +00:00
|
|
|
AKEYCODE_12 = 228,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Last Channel key.
|
|
|
|
* Goes to the last viewed channel. */
|
2014-05-14 06:36:48 +00:00
|
|
|
AKEYCODE_LAST_CHANNEL = 229,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** TV data service key.
|
|
|
|
* Displays data services like weather, sports. */
|
2014-08-22 02:09:49 +00:00
|
|
|
AKEYCODE_TV_DATA_SERVICE = 230,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Voice Assist key.
|
|
|
|
* Launches the global voice assist activity. Not delivered to applications. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_VOICE_ASSIST = 231,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Radio key.
|
|
|
|
* Toggles TV service / Radio service. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_RADIO_SERVICE = 232,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Teletext key.
|
|
|
|
* Displays Teletext service. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_TELETEXT = 233,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Number entry key.
|
|
|
|
* Initiates to enter multi-digit channel nubmber when each digit key is assigned
|
|
|
|
* for selecting separate channel. Corresponds to Number Entry Mode (0x1D) of CEC
|
|
|
|
* User Control Code. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_NUMBER_ENTRY = 234,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Analog Terrestrial key.
|
|
|
|
* Switches to analog terrestrial broadcast service. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_TERRESTRIAL_ANALOG = 235,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Digital Terrestrial key.
|
|
|
|
* Switches to digital terrestrial broadcast service. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_TERRESTRIAL_DIGITAL = 236,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Satellite key.
|
|
|
|
* Switches to digital satellite broadcast service. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_SATELLITE = 237,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** BS key.
|
|
|
|
* Switches to BS digital satellite broadcasting service available in Japan. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_SATELLITE_BS = 238,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** CS key.
|
|
|
|
* Switches to CS digital satellite broadcasting service available in Japan. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_SATELLITE_CS = 239,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** BS/CS key.
|
|
|
|
* Toggles between BS and CS digital satellite services. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_SATELLITE_SERVICE = 240,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Toggle Network key.
|
|
|
|
* Toggles selecting broacast services. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_NETWORK = 241,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Antenna/Cable key.
|
|
|
|
* Toggles broadcast input source between antenna and cable. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_ANTENNA_CABLE = 242,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** HDMI #1 key.
|
|
|
|
* Switches to HDMI input #1. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_INPUT_HDMI_1 = 243,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** HDMI #2 key.
|
|
|
|
* Switches to HDMI input #2. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_INPUT_HDMI_2 = 244,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** HDMI #3 key.
|
|
|
|
* Switches to HDMI input #3. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_INPUT_HDMI_3 = 245,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** HDMI #4 key.
|
|
|
|
* Switches to HDMI input #4. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_INPUT_HDMI_4 = 246,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Composite #1 key.
|
|
|
|
* Switches to composite video input #1. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_INPUT_COMPOSITE_1 = 247,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Composite #2 key.
|
|
|
|
* Switches to composite video input #2. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_INPUT_COMPOSITE_2 = 248,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Component #1 key.
|
|
|
|
* Switches to component video input #1. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_INPUT_COMPONENT_1 = 249,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Component #2 key.
|
|
|
|
* Switches to component video input #2. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_INPUT_COMPONENT_2 = 250,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** VGA #1 key.
|
|
|
|
* Switches to VGA (analog RGB) input #1. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_INPUT_VGA_1 = 251,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Audio description key.
|
|
|
|
* Toggles audio description off / on. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_AUDIO_DESCRIPTION = 252,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Audio description mixing volume up key.
|
|
|
|
* Louden audio description volume as compared with normal audio volume. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP = 253,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Audio description mixing volume down key.
|
|
|
|
* Lessen audio description volume as compared with normal audio volume. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN = 254,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Zoom mode key.
|
|
|
|
* Changes Zoom mode (Normal, Full, Zoom, Wide-zoom, etc.) */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_ZOOM_MODE = 255,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Contents menu key.
|
|
|
|
* Goes to the title list. Corresponds to Contents Menu (0x0B) of CEC User Control
|
|
|
|
* Code */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_CONTENTS_MENU = 256,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Media context menu key.
|
|
|
|
* Goes to the context menu of media contents. Corresponds to Media Context-sensitive
|
|
|
|
* Menu (0x11) of CEC User Control Code. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_MEDIA_CONTEXT_MENU = 257,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Timer programming key.
|
|
|
|
* Goes to the timer recording menu. Corresponds to Timer Programming (0x54) of
|
|
|
|
* CEC User Control Code. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_TV_TIMER_PROGRAMMING = 258,
|
2015-03-28 00:15:43 +00:00
|
|
|
/** Help key. */
|
2014-08-27 09:06:31 +00:00
|
|
|
AKEYCODE_HELP = 259
|
2012-03-23 21:19:36 +00:00
|
|
|
|
|
|
|
// NOTE: If you add a new keycode here you must also add it to several other files.
|
|
|
|
// Refer to frameworks/base/core/java/android/view/KeyEvent.java for the full list.
|
|
|
|
};
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // _ANDROID_KEYCODES_H
|
2015-03-28 00:15:43 +00:00
|
|
|
|
|
|
|
/** @} */
|