Changes the input mode on an external audio/video receiver (AVR) unit.
Toggles the power on an external AVR unit.
The Accept, Commit, or OK key or button. Accepts the currently selected option or input method sequence conversion.
The numeric keypad's addition key, +.
The Again key. Redoes or repeats a previous action.
The All Candidates key, which starts multi-candidate mode, in which multiple candidates are displayed for the ongoing input.
The Alphanumeric key.
The Alt (Alternative) key.
The AltGr or AltGraph (Alternate Graphics) key. Enables the ISO Level 3 shift modifier (where Shift is the level 2 modifier).
Presents a list of recently-used applications which lets the user change apps quickly.
The down arrow key.
The left arrow key.
The right arrow key.
The up arrow key.
The Attn (Attention) key.
Adjusts audio balance toward the left.
Adjusts audio balance toward the right.
Reduces bass boosting or cycles downward through bass boost modes or states.
Toggles bass boosting on and off.
Increases the amoung of bass boosting, or cycles upward through a set of bass boost modes or states.
Decreases the amount of bass.
Increases the amount of bass.
Adjusts the audio fader toward the front.
Adjusts the audio fader toward the rear.
Selects the next available surround sound mode.
Decreases the amount of treble.
Increases the amount of treble.
Decreases the audio volume.
Mutes the audio.
Increases the audio volume.
The Backspace key. This key is labeled Delete on Mac keyboards.
The Brightness Down key. Typically used to reduce the brightness of the display.
The Brightness Up key. Typically increases the brightness of the display.
Navigates to the previous content or page in the current Web view's history.
Opens the user's list of bookmarks/favorites.
Navigates to the next content or page in the current Web view's history.
Navigates to the user's preferred home page.
Refreshes the current page or content.
Activates the user's preferred search engine or the search interface within their browser.
Stops loading the currently displayed Web view or content.
The Call key. Dials the number which has been entered.
The Camera key. Activates the camera.
The Focus key. Focuses the camera.
The Cancel key.
The Caps Lock key. Toggles the capital character lock on and off for subsequent input.
Switches to the previous channel.
Switches to the next channel.
The Clear key. Removes the currently selected input.
Closes the current document or message. Must not exit the application.
Toggles closed captioning on and off.
The Code Input key, which enables code input mode, which lets the user enter characters by typing their code points (their Unicode character numbers, typically).
General-purpose media function key, color-coded red. This has index 0 among the colored keys.
General-purpose media funciton key, color-coded green. This has index 1 among the colored keys.
General-purpose media funciton key, color-coded yellow. This has index 2 among the colored keys.
General-purpose media funciton key, color-coded blue. This has index 3 among the colored keys.
General-purpose media funciton key, color-coded grey. This has index 4 among the colored keys.
General-purpose media funciton key, color-coded brown. This has index 5 among the colored keys.
The Compose key.
Shows the context menu. Typically found between the Windows (or OS) key and the Control key on the right side of the keyboard.
The Control, Ctrl, or Ctl key. Allows typing control characters.
The Convert key, which instructs the IME to convert the current input method sequence into the resulting character.
The Copy key (on certain extended keyboards).
The Cursor Select key, CrSel.
The Control, Ctrl, or Ctl key. Allows typing control characters.
The Cut key (on certain extended keyboards).
Switches the input source to the Digital Video Recorder (DVR).
A dead "combining" key; that is, a key which is used in tandem with other keys to generate accented and other modified characters. If pressed by itself, it doesn't generate a character. If you wish to identify which specific dead key was pressed (in cases where more than one exists), you can do so by examining the KeyboardEvent's associated compositionupdate event's data property.
The decimal point key (typically . or , depending on the region). In newer browsers, this value to simply be the character generated by the decimal key (one of those two characters). [1]
The Delete key, Del.
Adjusts the brightness of the device by toggling between two brightness levels or by cycling among multiple brightness levels.
Cycles among video sources.
The numeric keypad's division key, /.
The Eisu key. This key's purpose is defined by the IME, but may be used to close the IME.
The Eject key. Ejects removable media (or toggles an optical storage device tray open and closed).
The End key. Moves to the end of content.
The End Call or Hang Up button.
The Enter or ↵ key (sometimes labeled Return).
Erase to End of Field. Deletes all characters from the current cursor position to the end of the current field.
The Esc (Escape) key. Typically used as an exit, cancel, or "escape this operation" button. Historically, the Escape character was used to signal the start of a special control sequence of characters called an "escape sequence."
The ExSel (Extend Selection) key.
The Execute key.
The Exit button, which exits the curreent application or menu.
The first general-purpose function key, F1.
The F10 key.
The F11 key.
The F12 key.
The F13 key.
The F14 key.
The F15 key.
The F16 key.
The F17 key.
The F18 key.
The F19 key.
The F2 key.
The F20 key.
The F3 key.
The F4 key.
The F5 key.
The F6 key.
The F7 key.
The F8 key.
The F9 key.
Clears the program or content stored in the first favorites list slot.
Clears the program or content stored in the second favorites list slot.
Clears the program or content stored in the third favorites list slot.
Clears the program or content stored in the fourth favorites list slot.
Selects (recalls) the program or content stored in the first favorites list slot.
Selects (recalls) the program or content stored in the second favorites list slot.
Selects (recalls) the program or content stored in the third favorites list slot.
Selects (recalls) the program or content stored in the fourth favorites list slot.
Stores the current program or content into the first favorites list slot.
Stores the current program or content into the second favorites list slot.
Stores the current program or content into the third favorites list slot.
Stores the current program or content into the fourth favorites list slot.
The Final (Final Mode) key is used on some Asian keyboards to enter final mode when using IMEs.
The Find key. Opens an interface (typically a dialog box) for performing a find/search operation.
The Finish key.
The Fn (Function modifier) key. Used to allow generating function key (F1–F15, for instance) characters on keyboards without a dedicated function key area. Often handled in hardware so that events aren't generated for this key.
The FnLock or F-Lock (Function Lock) key.Toggles the function key mode described by "Fn" on and off. Often handled in hardware so that events aren't generated for this key.
The Back button.
The Home button. Returns the user to the phone's main screen (usually an application launcher).
Switches to the first character group on an ISO/IEC 9995 keyboard. Each key may have multiple groups of characters, each in its own column. Pressing this key instructs the device to interpret keypresses as coming from the first column on subsequent keystrokes.
Switches to the last character group on an ISO/IEC 9995 keyboard.
Switches to the next character group on an ISO/IEC 9995 keyboard.
Switches to the previous character group on an ISO/IEC 9995 keyboard.
Toggles the display of the program or content guide.
If the guide is currently displayed, this button tells the guide to display the next day's content.
If the guide is currently displayed, this button tells the guide to display the previous day's content.
The Hangul (Korean character set) mode key, which toggles between Hangul and English entry modes.
Selects the Hanja mode, for converting Hangul characters to the more specific Hanja characters.
The Hankaku (half-width characters) key.
The Headset Hook key. This is typically actually a button on the headset which is used to hang up calls and play or pause media.
The Help key. Opens or toggles the display of help information.
The Hibernate key. This saves the state of the computer to disk and then shuts down; the computer can be returned to its previous state by restoring the saved state information.
The Hiragana key; selects Kana characters mode.
Toggles between the Hiragana and Katakana writing systems.
The Home key. Moves to the start of content.
The Hyper key.
Toggles the display of information about the currently selected content, program, or media.
The Insert key, Ins. Toggles between inserting and overwriting text.
Tellls the device to perform an instant replay (typically some form of jumping back a short amount of time then playing it again, possibly but not usually in slow motion).
Selects the Junja mode, in which Korean is represented using single-byte Latin characters.
The Kana Mode (Kana Lock) key.
The Kanji Mode key. Enables entering Japanese text using the ideographic characters of Chinese origin.
The Katakana key.
The 11 key found on certain media numeric keypads.
The 12 key found on certain media numeric keypads.
The Redial button. Redials the last-called number.
The first generic application launcher button.
The 10th generic application launcher button.
The 11th generic application launcher button.
The 12th generic application launcher button.
The 13th generic application launcher button.
The 14th generic application launcher button.
The 15th generic application launcher button.
The 16th generic application launcher button.
The second generic application launcher button.
The third generic application launcher button.
The fourth generic application launcher button.
The fifth generic application launcher button.
The sixth generic application launcher button.
The seventh generic application launcher button.
The eighth generic application launcher button.
The ninth generic application launcher button.
The Calculator key, often labeled with an icon. This is often used as a generic application launcher key (APPCOMMAND_LAUNCH_APP2).
The Calendar key. Often labeled with an icon.
The Contacts key.
The Mail key. Often labeled with an icon.
The Media Player key.
The Music Player key. Often labeled with an icon.
The My Computer key on Windows keyboards. This is often used as a generic application launcher key (APPCOMMAND_LAUNCH_APP1).
The Phone key. Opens the phone dialer application (if one is present).
The Screen Saver key.
The Spreadsheet key. This key may be labeled with an icon.
The Web Browser key. This key is frequently labeled with an icon.
The WebCam key. Opens the webcam application.
The Word Processor key. This may be an icon of a specific word processor application, or a generic document icon.
Opens content liniked to the current program, if available and possible.
Lists the current program.
Toggles a display listing currently available live content or programs.
Locks or unlocks the currently selected content or pgoram.
The LogOff key.
Opens the user interface to forward a message.
Opens the user interface to reply to a message.
Sends the current message.
A button which cycles among the notification modes: silent, vibrate, ring, and so forth.
Presents a list of media applications, such as photo viewers, audio and video players, and games. [1]
The Audio Track key.
Starts, continues, or increases the speed of fast forwarding the media.
Jumps back to the last-viewed content, program, or other media.
Pauses the currently playing media. Note: Some older applications use simply "Pause", but this is not correct.
Starts or continues playing media at normal speed, if not already doing so. Has no effect otherwise.
Toggles between playing and pausing the current media.
Starts or resumes recording media.
Starts, continues, or increases the speed of rewinding the media.
Skips backward to the previous content or program.
Skips forward to the next content or program.
Steps backward to the previous content or program.
Steps forward to the next content or program.
Stops the current media activity (such as playing, recording, pausing, forwarding, or rewinding). Has no effect if the media is currently stopped already.
Top Menu button. Opens the media's main menu (e.g., for a DVD or Blu-Ray disc).
Seeks to the next media or program track.
Seeks to the previous media or program track.
The Meta key. Allows issuing special command inputs. This is the Windows logo key, or the Command or ⌘ key on Mac keyboards.
Toggles the microphone on and off.
Decreases the microphone's input volume.
Mutes the microphone input.
Increases the microphone's input volume.
The Mode Change key. Toggles or cycles among input modes of IMEs.
The numeric keypad's multiplication key, *.
Navigates into a submenu or option.
Navigates to the next item.
Navigates out of the current screen or menu.
Navigates to the previous item.
Creates a new document or message.
The Next Candidate function key. Selects the next possible match for the ongoing input.
Cycles to the next channel in the favorites list.
Cycles to the next saved user profile, if this feature is supported and multiple profiles exist.
The NonConvert ("Don't convert") key. This accepts the current input method sequence without running conversion when using an IME.
The Notification key.
The NumLock (Number Lock) key. Toggles the numeric keypad between number entry some other mode (often directional arrows).
Opens the user interface for selecting on demand content or programs to watch.
Opens an existing document or message.
The Page Down (or PgDn) key. Scrolls down or displays the next page of content.
The Page Up (or PgUp) key. Scrolls up or displays the previous page of content.
Starts the process of pairing the remote with a device to be controlled.
Paste from the clipboard.
The Pause key. Pauses the current application or state, if applicable. Note: This shouldn't be confused with the "MediaPause" key value, which is used for media controllers, rather than to control applications and processes.
A button to move the picture-in-picture view downward.
A button to control moving the picture-in-picture view.
Toggles display of th epicture-in-picture view on and off.
A button to move the picture-in-picture view upward.
The Play key. Resumes a previously paused application, if applicable. Note: This shouldn't be confused with the "MediaPlay" key value, which is used for media controllers, rather than to control applications and processes.
Decreases the media playback rate.
Returns the media playback rate to normal.
Increases the media playback rate.
The Power button or key, to toggle power on and off. Note: Not all systems pass this key through to the user agent.
The PowerOff or PowerDown key. Shuts off the system.
The Previous Candidate key. Selects the previous possible match for the ongoing input.
Prints the current document or message.
The PrintScreen or PrtScr key. Sometimes SnapShot. Captures the screen and prints it or saves it to disk.
The Process key. Instructs the IME to process the conversion.
The Props (Properties) key.
Toggles random media (also known as "shuffle mode") on and off.
A code sent when the remote control's battery is low. This doesn't actually correspond to a physical key at all.
Cycles among the available media recording speeds.
Redo the last action.
Toggles radio frequency (RF) input bypass mode on and off. RF bypass mode passes RF input directly to the RF output without any processing or filtering.
The Romaji key; selects the Roman character set.
Cycles among input modes on an external set-top box (STB).
Toggles on and off an external STB.
Saves the current document or message.
Toggles the channel scan mode on and off. This is a mode which flips through channels automatically until the user stops the scan.
Cycles through the available screen display modes.
The Scroll Lock key. Toggles between scrolling and cursor movement modes.
The Select key.
The numeric keypad's places separator character. (In the United States this is a comma, but elsewhere it is frequently a period.)
Toggles display of the device's settings screen on and off.
The Shift key. Modifies keystrokes to allow typing upper (or other) case letters, and to support typing punctuation and other special characters.
The Single Candidate key. Enables single candidate mode (as opposed to multi-candidate mode); in this mode, only one candidate is displayed at a time.
The first general-purpose virtual function key.
The second general-purpose virtual function key.
The third general-purpose virtual function key.
The fourth general-purpose virtual function key.
Presents a list of possible corrections for a word which was incorrectly identified.
Toggles between dictation mode and command/control mode. This lets the speech engine know whether to interpret spoken words as input text or as commands.
Starts spell checking the current document.
Toggles split screen display mode on and off.
The Standby key. (Also known as Suspend or Sleep.) This turns off the display and puts the computer in a low power consumption mode, without completely powering off.
Toggles the display of subtitles on and off if they're available.
The numeric keypad's subtraction key, -.
The Super key.
The Symbol modifier key (found on certain virtual keyboards).
The Symbol Lock key.
Switches into TV viewing mode.
Toggles 3D TV mode on and off.
Toggles between antenna and cable inputs.
Toggles audio description mode on and off.
Decreases trhe audio description's mixing volume; reduces the volume of the audio descriptions relative to the program sound.
Increases the audio description's mixing volume; increases the volume of the audio descriptions relative to the program sound.
Displays or hides the media contents available for playback (this may be a channel guide showing the currently airing programs, or a list of media files to play).
Displays or hides the TV's data service menu.
Cycles the input mode on an external TV.
Switches to the input "Component 1."
Switches to the input "Component 2."
Switches to the input "Composite 1."
Switches to the input "Composite 2."
Switches to the input "HDMI 1."
Switches to the input "HDMI 2."
Switches to the input "HDMI 3."
Switches to the input "HDMI 4."
Switches to the input "VGA 1."
The Media Context menu key.
Toggle the TV's network connection on and off.
Put the TV into number entry mode.
The device's power button.
Radio button.
Satellite button.
Broadcast Satellite button.
Communication Satellite button.
Toggles among available satellites.
Selects analog terrestrial television service (analog cable or antenna reception).
Selects digital terrestrial television service (digital cable or antenna receiption).
Timer programming button.
The Horizontal Tab key, Tab.
Toggles display of teletext, if available.
Undo the last action.
The user agent wasn't able to map the event's virtual keycode to a specific key value. This can happen due to hardware or software constraints, or because of constraints around the platform on which the user agent is running.
Cycles through the available video modes.
The Voice Dial key. Initiates voice dialing.
The WakeUp key. Used to wake the computer from the hibernation or standby modes.
Causes the device to identify itself in some fashion, such as by flashing a light, briefly changing the brightness of indicator lights, or emitting a tone.
The Zenkaku (full width) characters key.
The Zenkaku/Hankaku (full width/half width) toggle key.
The ZoomIn key.
The ZoomOut key.
Toggles between full-screen and scaled content display, or otherwise change the magnification level.
Generated using TypeDoc
An enum that includes all non-printable string values one can expect from $event.key. For example, this enum includes values like "CapsLock", "Backspace", and "AudioVolumeMute", but does not include values like "a", "A", "#", "é", or "¿". Auto generated from MDN: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values#Speech_recognition_keys