Key code constant: '1' key.
Key code constant: '11' key.
Key code constant: '12' key.
Key code constant: '2' key.
Key code constant: '3' key.
Key code constant: 3D Mode key. Toggles the display between 2D and 3D mode.
Key code constant: '4' key.
Key code constant: '5' key.
Key code constant: '6' key.
Key code constant: '7' key.
Key code constant: '8' key.
Key code constant: '9' key.
Key code constant: 'A' key.
Key code constant: Show all apps
Key code constant: Left Alt modifier key.
Key code constant: Right Alt modifier key.
Key code constant: ''' (apostrophe) key.
Key code constant: App switch key. Should bring up the application switcher dialog.
Key code constant: Assist key. Launches the global assist activity. Not delivered to applications.
Key code constant: '@' key.
Key code constant: A/V Receiver input key. On TV remotes, switches the input mode on an external A/V Receiver.
Key code constant: A/V Receiver power key. On TV remotes, toggles the power on an external A/V Receiver.
Key code constant: 'B' key.
Key code constant: Back key.
Key code constant: '' key.
Key code constant: Bookmark key. On some TV remotes, bookmarks content or web pages.
Key code constant: Break / Pause key.
Key code constant: Brightness Down key. Adjusts the screen brightness down.
Key code constant: Brightness Up key. Adjusts the screen brightness up.
Key code constant: Generic Game Pad Button #1.
Key code constant: Generic Game Pad Button #10.
Key code constant: Generic Game Pad Button #11.
Key code constant: Generic Game Pad Button #12.
Key code constant: Generic Game Pad Button #13.
Key code constant: Generic Game Pad Button #14.
Key code constant: Generic Game Pad Button #15.
Key code constant: Generic Game Pad Button #16.
Key code constant: Generic Game Pad Button #2.
Key code constant: Generic Game Pad Button #3.
Key code constant: Generic Game Pad Button #4.
Key code constant: Generic Game Pad Button #5.
Key code constant: Generic Game Pad Button #6.
Key code constant: Generic Game Pad Button #7.
Key code constant: Generic Game Pad Button #8.
Key code constant: Generic Game Pad Button #9.
Key code constant: 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.
Key code constant: 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.
Key code constant: 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.
Key code constant: 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.
Key code constant: L2 Button key. On a game controller, the L2 button should be either the button labeled L2 or the bottom left trigger button.
Key code constant: Mode Button key. On a game controller, the button labeled Mode.
Key code constant: 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.
Key code constant: R2 Button key. On a game controller, the R2 button should be either the button labeled R2 or the bottom right trigger button.
Key code constant: Select Button key. On a game controller, the button labeled Select.
Key code constant: Start Button key. On a game controller, the button labeled Start.
Key code constant: Left Thumb Button key. On a game controller, the left thumb button indicates that the left (or only) joystick is pressed.
Key code constant: Right Thumb Button key. On a game controller, the right thumb button indicates that the right joystick is pressed.
Key code constant: 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.
Key code constant: 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.
Key code constant: 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.
Key code constant: 'C' key.
Key code constant: Calculator special function key. Used to launch a calculator application.
Key code constant: Calendar special function key. Used to launch a calendar application.
Key code constant: Call key.
Key code constant: Camera key. Used to launch a camera application or take pictures.
Key code constant: Caps Lock key.
Key code constant: Toggle captions key. Switches the mode for closed-captioning text, for example during television shows.
Key code constant: Channel down key. On TV remotes, decrements the television channel.
Key code constant: Channel up key. On TV remotes, increments the television channel.
Key code constant: Clear key.
Key code constant: ',' key.
Key code constant: Contacts special function key. Used to launch an address book application.
Key code constant: Copy key.
Key code constant: Left Control modifier key.
Key code constant: Right Control modifier key.
Key code constant: Cut key.
Key code constant: 'D' key.
Key code constant: Backspace key.
Deletes characters before the insertion po , unlike KEYCODE_FORWARD_DEL
.
Key code constant: Directional Pad Center key. May also be synthesized from trackball motions.
Key code constant: Directional Pad Down key. May also be synthesized from trackball motions.
Key code constant: Directional Pad Down-Left
Key code constant: Directional Pad Down-Right
Key code constant: Directional Pad Left key. May also be synthesized from trackball motions.
Key code constant: Directional Pad Right key. May also be synthesized from trackball motions.
Key code constant: Directional Pad Up key. May also be synthesized from trackball motions.
Key code constant: Directional Pad Up-Left
Key code constant: Directional Pad Up-Right
Key code constant: DVR key. On some TV remotes, switches to a DVR mode for recorded shows.
Key code constant: 'E' key.
Key code constant: Japanese alphanumeric key.
Key code constant: End Call key.
Key code constant: Enter key.
Key code constant: Envelope special function key. Used to launch a mail application.
Key code constant: '=' key.
Key code constant: Escape key.
Key code constant: Explorer special function key. Used to launch a browser application.
Key code constant: 'F' key.
Key code constant: F1 key.
Key code constant: F10 key.
Key code constant: F11 key.
Key code constant: F12 key.
Key code constant: F2 key.
Key code constant: F3 key.
Key code constant: F4 key.
Key code constant: F5 key.
Key code constant: F6 key.
Key code constant: F7 key.
Key code constant: F8 key.
Key code constant: F9 key.
Key code constant: Camera Focus key. Used to focus the camera.
Key code constant: Forward key.
Navigates forward in the history stack. Complement of KEYCODE_BACK
.
Key code constant: Forward Delete key.
Deletes characters ahead of the insertion po , unlike KEYCODE_DEL
.
Key code constant: Function modifier key.
Key code constant: 'G' key.
Key code constant: '`' (backtick) key.
Key code constant: Guide key. On TV remotes, shows a programming guide.
Key code constant: 'H' key.
Key code constant: Headset Hook key. Used to hang up calls and stop media.
Key code constant: Help key.
Key code constant: Japanese conversion key.
Key code constant: Home key. This key is handled by the framework and is never delivered to applications.
Key code constant: 'I' key.
Key code constant: Info key. Common on TV remotes to show additional information related to what is currently being viewed.
Key code constant: Insert key. Toggles insert / overwrite edit mode.
Key code constant: 'J' key.
Key code constant: 'K' key.
Key code constant: Japanese kana key.
Key code constant: Japanese katakana / hiragana key.
Key code constant: 'L' key.
Key code constant: 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.
Key code constant: Last Channel key. Goes to the last viewed channel.
Key code constant: '[' key.
Key code constant: 'M' key.
Key code constant: 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.
Key code constant: Audio Track key. Switches the audio tracks.
Key code constant: Close media key. May be used to close a CD tray, for example.
Key code constant: Eject media key. May be used to eject a CD tray, for example.
Key code constant: Fast Forward media key.
Key code constant: Play Next media key.
Key code constant: Pause media key.
Key code constant: Play media key.
Key code constant: Play/Pause media key.
Key code constant: Play Previous media key.
Key code constant: Record media key.
Key code constant: Rewind media key.
Key code constant: Skip backward media key.
Key code constant: Skip forward media key.
Key code constant: Step backward media key. Steps media backward, one frame at a time.
Key code constant: Step forward media key. Steps media forward, one frame at a time.
Key code constant: Stop media key.
Key code constant: Media Top Menu key. Goes to the top of media menu.
Key code constant: Menu key.
Key code constant: Left Meta modifier key.
Key code constant: Right Meta modifier key.
Key code constant: '-'.
Key code constant: End Movement key. Used for scrolling or moving the cursor around to the end of a line or to the bottom of a list.
Key code constant: Home Movement key. Used for scrolling or moving the cursor around to the start of a line or to the top of a list.
Key code constant: Japanese non-conversion key.
Key code constant: Music special function key. Used to launch a music player application.
Key code constant: Mute key.
Mutes the microphone, unlike KEYCODE_VOLUME_MUTE
.
Key code constant: 'N' key.
Key code constant: Navigate in key. Activates the item that currently has focus or expands to the next level of a navigation hierarchy.
Key code constant: Navigate to next key. Advances to the next item in an ordered collection of items.
Key code constant: Navigate out key. Backs out one level of a navigation hierarchy or collapses the item that currently has focus.
Key code constant: Navigate to previous key. Goes backward by one item in an ordered collection of items.
Key code constant: Notification key.
Key code constant: Number modifier key.
Used to enter numeric symbols.
This key is not Num Lock , it is more like KEYCODE_ALT_LEFT
and is
interpreted as an ALT key by android.text.method.MetaKeyKeyListener
.
Key code constant: Numeric keypad '0' key.
Key code constant: Numeric keypad '1' key.
Key code constant: Numeric keypad '2' key.
Key code constant: Numeric keypad '3' key.
Key code constant: Numeric keypad '4' key.
Key code constant: Numeric keypad '5' key.
Key code constant: Numeric keypad '6' key.
Key code constant: Numeric keypad '7' key.
Key code constant: Numeric keypad '8' key.
Key code constant: Numeric keypad '9' key.
Key code constant: Numeric keypad '+' key (for addition).
Key code constant: Numeric keypad ',' key (for decimals or digit grouping).
Key code constant: Numeric keypad '/' key (for division).
Key code constant: Numeric keypad '.' key (for decimals or digit grouping).
Key code constant: Numeric keypad Enter key.
Key code constant: Numeric keypad '=' key.
Key code constant: Numeric keypad '(' key.
Key code constant: Numeric keypad '*' key (for multiplication).
Key code constant: Numeric keypad ')' key.
Key code constant: Numeric keypad '-' key (for subtraction).
Key code constant: Num Lock key.
This is the Num Lock key , it is different from KEYCODE_NUM
.
This key alters the behavior of other keys on the numeric keypad.
Key code constant: 'O' key.
Key code constant: 'P' key.
Key code constant: Page Down key.
Key code constant: Page Up key.
Key code constant: Pairing key. Initiates peripheral pairing mode. Useful for pairing remote control devices or game controllers, especially if no other input mode is available.
Key code constant: Paste key.
Key code constant: '.' key.
Key code constant: Picture Symbols modifier key. Used to switch symbol sets (Emoji, Kao-moji).
Key code constant: '+' key.
Key code constant: '#' key.
Key code constant: Power key.
Key code constant: Blue "programmable" key. On TV remotes, acts as a contextual/programmable key.
Key code constant: Green "programmable" key. On TV remotes, actsas a contextual/programmable key.
Key code constant: Red "programmable" key. On TV remotes, acts as a contextual/programmable key.
Key code constant: Yellow "programmable" key. On TV remotes, acts as a contextual/programmable key.
Key code constant: 'Q' key.
Key code constant: 'R' key.
Key code constant: ']' key.
Key code constant: Japanese Ro key.
Key code constant: 'S' key.
Key code constant: Scroll Lock key.
Key code constant: Search key.
Key code constant: ' ,' key.
Key code constant: Settings key. Starts the system settings activity.
Key code constant: Left Shift modifier key.
Key code constant: Right Shift modifier key.
Key code constant: '/' key.
Key code constant: Sleep key.
Puts the device to sleep. Behaves somewhat like KEYCODE_POWER
but it
has no effect if the device is already asleep.
Key code constant: 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.
Key code constant: 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.
Key code constant: put device to sleep unless a wakelock is held.
Key code constant: Space key.
Key code constant: '*' key.
Key code constant: Set-top-box input key. On TV remotes, switches the input mode on an external Set-top-box.
Key code constant: Set-top-box power key. On TV remotes, toggles the power on an external Set-top-box.
Key code constant: Generic stem key 1 for Wear
Key code constant: Generic stem key 2 for Wear
Key code constant: Generic stem key 3 for Wear
Key code constant: Primary stem key for Wear Main power/reset button on watch.
Key code constant: Switch Charset modifier key. Used to switch character sets (Kanji, Katakana).
Key code constant: Symbol modifier key. Used to enter alternate symbols.
Key code constant: System Request / Pr Screen key.
Key code constant: Consumed by the system for navigation down
Key code constant: Consumed by the system for navigation left
Key code constant: Consumed by the system for navigation right
Key code constant: Consumed by the system for navigation up
Key code constant: 'T' key.
Key code constant: Tab key.
Key code constant: TV key. On TV remotes, switches to viewing live TV.
Key code constant: Antenna/Cable key. Toggles broadcast input source between antenna and cable.
Key code constant: Audio description key. Toggles audio description off / on.
Key code constant: Audio description mixing volume down key. Lessen audio description volume as compared with normal audio volume.
Key code constant: Audio description mixing volume up key. Louden audio description volume as compared with normal audio volume.
Key code constant: Contents menu key. Goes to the title list. Corresponds to Contents Menu (0x0B) of CEC User Control Code
Key code constant: TV data service key. Displays data services like weather, sports.
Key code constant: TV input key. On TV remotes, switches the input on a television screen.
Key code constant: Component #1 key. Switches to component video input #1.
Key code constant: Component #2 key. Switches to component video input #2.
Key code constant: Composite #1 key. Switches to composite video input #1.
Key code constant: Composite #2 key. Switches to composite video input #2.
Key code constant: HDMI #1 key. Switches to HDMI input #1.
Key code constant: HDMI #2 key. Switches to HDMI input #2.
Key code constant: HDMI #3 key. Switches to HDMI input #3.
Key code constant: HDMI #4 key. Switches to HDMI input #4.
Key code constant: VGA #1 key. Switches to VGA (analog RGB) input #1.
Key code constant: Media context menu key. Goes to the context menu of media contents. Corresponds to Media Context-sensitive Menu (0x11) of CEC User Control Code.
Key code constant: Toggle Network key. Toggles selecting broacast services.
Key code constant: 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.
Key code constant: TV power key. On TV remotes, toggles the power on a television screen.
Key code constant: Radio key. Toggles TV service / Radio service.
Key code constant: Satellite key. Switches to digital satellite broadcast service.
Key code constant: BS key. Switches to BS digital satellite broadcasting service available in Japan.
Key code constant: CS key. Switches to CS digital satellite broadcasting service available in Japan.
Key code constant: BS/CS key. Toggles between BS and CS digital satellite services.
Key code constant: Teletext key. Displays Teletext service.
Key code constant: Analog Terrestrial key. Switches to analog terrestrial broadcast service.
Key code constant: Digital Terrestrial key. Switches to digital terrestrial broadcast service.
Key code constant: Timer programming key. Goes to the timer recording menu. Corresponds to Timer Programming (0x54) of CEC User Control Code.
Key code constant: Zoom mode key. Changes Zoom mode (Normal, Full, Zoom, Wide-zoom, etc.)
Key code constant: 'U' key.
Key code constant: 'V' key.
Key code constant: Voice Assist key. Launches the global voice assist activity. Not delivered to applications.
Key code constant: Volume Down key. Adjusts the speaker volume down.
Key code constant: Volume Mute key.
Mutes the speaker, unlike KEYCODE_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.
Key code constant: Volume Up key. Adjusts the speaker volume up.
Key code constant: 'W' key.
Key code constant: Wakeup key.
Wakes up the device. Behaves somewhat like KEYCODE_POWER
but it
has no effect if the device is already awake.
Key code constant: Window key. On TV remotes, toggles picture-in-picture mode or other windowing functions. On Android Wear devices, triggers a display offset.
Key code constant: 'X' key.
Key code constant: 'Y' key.
Key code constant: Japanese Yen key.
Key code constant: 'Z' key.
Key code constant: Japanese full-width / half-width key.
Key code constant: Zoom in key.
Key code constant: Zoom out key.
Key code constant: '0' key.