LogicalKeyboardKey class

A class with static values that describe the keys that are returned from RawKeyEvent.logicalKey.

These represent logical keys, which are keys which are interpreted in the context of any modifiers, modes, or keyboard layouts which may be in effect.

This is contrast to PhysicalKeyboardKey, which represents a physical key in a particular location on the keyboard, without regard for the modifier state, mode, or keyboard layout.

As an example, if you wanted to implement an app where the "Q" key "quit" something, you'd want to look at the logical key to detect this, since you would like to have it match the key with "Q" on it, instead of always looking for "the key next to the TAB key", since on a French keyboard, the key next to the TAB key has an "A" on it.

Conversely, if you wanted a game where the key next to the CAPS LOCK (the "A" key on a QWERTY keyboard) moved the player to the left, you'd want to look at the physical key to make sure that regardless of the character the key produces, you got the key that is in that location on the keyboard.

This example shows how to detect if the user has selected the logical "Q" key and handle the key if they have.
link

To create a local project with this code sample, run:
flutter create --sample=services.LogicalKeyboardKey.1 mysample

See also:

  • RawKeyEvent, the keyboard event object received by widgets that listen to keyboard events.
  • Focus.onKey, the handler on a widget that lets you handle key events.
  • RawKeyboardListener, a widget used to listen to keyboard events (but not handle them).
Inheritance
Annotations

Constructors

LogicalKeyboardKey(int keyId)
Creates a new LogicalKeyboardKey object for a key ID.
const

Properties

debugName String?
The debug string to print for this keyboard key, which will be null in release mode.
no setter
hashCode int
The hash code for this object.
no setteroverride
isAutogenerated bool
Returns true if the keyId of this object is one that is auto-generated by Flutter.
no setter
keyId int
A unique code representing this key.
final
keyLabel String
A description representing the character produced by a RawKeyEvent.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
synonyms Set<LogicalKeyboardKey>
Returns a set of pseudo-key synonyms for the given key.
no setter

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override

Static Properties

knownLogicalKeys Iterable<LogicalKeyboardKey>
A list of all predefined constant LogicalKeyboardKeys.
no setter

Static Methods

collapseSynonyms(Set<LogicalKeyboardKey> input) Set<LogicalKeyboardKey>
Takes a set of keys, and returns the same set, but with any keys that have synonyms replaced.
expandSynonyms(Set<LogicalKeyboardKey> input) Set<LogicalKeyboardKey>
Returns the given set with any pseudo-keys expanded into their synonyms.
findKeyByKeyId(int keyId) LogicalKeyboardKey?
Returns the LogicalKeyboardKey constant that matches the given ID, or null, if not found.
isControlCharacter(String label) bool
Returns true if the given label represents a Unicode control character.

Constants

abort → const LogicalKeyboardKey
Represents the logical "Abort" key on the keyboard.
accel → const LogicalKeyboardKey
Represents the logical "Accel" key on the keyboard.
accept → const LogicalKeyboardKey
Represents the logical "Accept" key on the keyboard.
add → const LogicalKeyboardKey
Represents the logical "Add" key on the keyboard.
again → const LogicalKeyboardKey
Represents the logical "Again" key on the keyboard.
allCandidates → const LogicalKeyboardKey
Represents the logical "All Candidates" key on the keyboard.
alphanumeric → const LogicalKeyboardKey
Represents the logical "Alphanumeric" key on the keyboard.
alt → const LogicalKeyboardKey
Represents the logical "Alt" key on the keyboard.
altGraph → const LogicalKeyboardKey
Represents the logical "Alt Graph" key on the keyboard.
altLeft → const LogicalKeyboardKey
Represents the logical "Alt Left" key on the keyboard.
altRight → const LogicalKeyboardKey
Represents the logical "Alt Right" key on the keyboard.
ampersand → const LogicalKeyboardKey
Represents the logical "Ampersand" key on the keyboard.
androidPlane → const int
The plane value for the private keys defined by the Android embedding.
appSwitch → const LogicalKeyboardKey
Represents the logical "App Switch" key on the keyboard.
arrowDown → const LogicalKeyboardKey
Represents the logical "Arrow Down" key on the keyboard.
arrowLeft → const LogicalKeyboardKey
Represents the logical "Arrow Left" key on the keyboard.
arrowRight → const LogicalKeyboardKey
Represents the logical "Arrow Right" key on the keyboard.
arrowUp → const LogicalKeyboardKey
Represents the logical "Arrow Up" key on the keyboard.
asterisk → const LogicalKeyboardKey
Represents the logical "Asterisk" key on the keyboard.
at → const LogicalKeyboardKey
Represents the logical "At" key on the keyboard.
attn → const LogicalKeyboardKey
Represents the logical "Attn" key on the keyboard.
audioBalanceLeft → const LogicalKeyboardKey
Represents the logical "Audio Balance Left" key on the keyboard.
audioBalanceRight → const LogicalKeyboardKey
Represents the logical "Audio Balance Right" key on the keyboard.
audioBassBoostDown → const LogicalKeyboardKey
Represents the logical "Audio Bass Boost Down" key on the keyboard.
audioBassBoostToggle → const LogicalKeyboardKey
Represents the logical "Audio Bass Boost Toggle" key on the keyboard.
audioBassBoostUp → const LogicalKeyboardKey
Represents the logical "Audio Bass Boost Up" key on the keyboard.
audioFaderFront → const LogicalKeyboardKey
Represents the logical "Audio Fader Front" key on the keyboard.
audioFaderRear → const LogicalKeyboardKey
Represents the logical "Audio Fader Rear" key on the keyboard.
audioSurroundModeNext → const LogicalKeyboardKey
Represents the logical "Audio Surround Mode Next" key on the keyboard.
audioTrebleDown → const LogicalKeyboardKey
Represents the logical "Audio Treble Down" key on the keyboard.
audioTrebleUp → const LogicalKeyboardKey
Represents the logical "Audio Treble Up" key on the keyboard.
audioVolumeDown → const LogicalKeyboardKey
Represents the logical "Audio Volume Down" key on the keyboard.
audioVolumeMute → const LogicalKeyboardKey
Represents the logical "Audio Volume Mute" key on the keyboard.
audioVolumeUp → const LogicalKeyboardKey
Represents the logical "Audio Volume Up" key on the keyboard.
avrInput → const LogicalKeyboardKey
Represents the logical "AVR Input" key on the keyboard.
avrPower → const LogicalKeyboardKey
Represents the logical "AVR Power" key on the keyboard.
backquote → const LogicalKeyboardKey
Represents the logical "Backquote" key on the keyboard.
backslash → const LogicalKeyboardKey
Represents the logical "Backslash" key on the keyboard.
backspace → const LogicalKeyboardKey
Represents the logical "Backspace" key on the keyboard.
bar → const LogicalKeyboardKey
Represents the logical "Bar" key on the keyboard.
braceLeft → const LogicalKeyboardKey
Represents the logical "Brace Left" key on the keyboard.
braceRight → const LogicalKeyboardKey
Represents the logical "Brace Right" key on the keyboard.
bracketLeft → const LogicalKeyboardKey
Represents the logical "Bracket Left" key on the keyboard.
bracketRight → const LogicalKeyboardKey
Represents the logical "Bracket Right" key on the keyboard.
brightnessDown → const LogicalKeyboardKey
Represents the logical "Brightness Down" key on the keyboard.
brightnessUp → const LogicalKeyboardKey
Represents the logical "Brightness Up" key on the keyboard.
browserBack → const LogicalKeyboardKey
Represents the logical "Browser Back" key on the keyboard.
browserFavorites → const LogicalKeyboardKey
Represents the logical "Browser Favorites" key on the keyboard.
browserForward → const LogicalKeyboardKey
Represents the logical "Browser Forward" key on the keyboard.
browserHome → const LogicalKeyboardKey
Represents the logical "Browser Home" key on the keyboard.
browserRefresh → const LogicalKeyboardKey
Represents the logical "Browser Refresh" key on the keyboard.
browserSearch → const LogicalKeyboardKey
Represents the logical "Browser Search" key on the keyboard.
browserStop → const LogicalKeyboardKey
Represents the logical "Browser Stop" key on the keyboard.
call → const LogicalKeyboardKey
Represents the logical "Call" key on the keyboard.
camera → const LogicalKeyboardKey
Represents the logical "Camera" key on the keyboard.
cameraFocus → const LogicalKeyboardKey
Represents the logical "Camera Focus" key on the keyboard.
cancel → const LogicalKeyboardKey
Represents the logical "Cancel" key on the keyboard.
capsLock → const LogicalKeyboardKey
Represents the logical "Caps Lock" key on the keyboard.
caret → const LogicalKeyboardKey
Represents the logical "Caret" key on the keyboard.
channelDown → const LogicalKeyboardKey
Represents the logical "Channel Down" key on the keyboard.
channelUp → const LogicalKeyboardKey
Represents the logical "Channel Up" key on the keyboard.
clear → const LogicalKeyboardKey
Represents the logical "Clear" key on the keyboard.
close → const LogicalKeyboardKey
Represents the logical "Close" key on the keyboard.
closedCaptionToggle → const LogicalKeyboardKey
Represents the logical "Closed Caption Toggle" key on the keyboard.
codeInput → const LogicalKeyboardKey
Represents the logical "Code Input" key on the keyboard.
colon → const LogicalKeyboardKey
Represents the logical "Colon" key on the keyboard.
colorF0Red → const LogicalKeyboardKey
Represents the logical "Color F0 Red" key on the keyboard.
colorF1Green → const LogicalKeyboardKey
Represents the logical "Color F1 Green" key on the keyboard.
colorF2Yellow → const LogicalKeyboardKey
Represents the logical "Color F2 Yellow" key on the keyboard.
colorF3Blue → const LogicalKeyboardKey
Represents the logical "Color F3 Blue" key on the keyboard.
colorF4Grey → const LogicalKeyboardKey
Represents the logical "Color F4 Grey" key on the keyboard.
colorF5Brown → const LogicalKeyboardKey
Represents the logical "Color F5 Brown" key on the keyboard.
comma → const LogicalKeyboardKey
Represents the logical "Comma" key on the keyboard.
compose → const LogicalKeyboardKey
Represents the logical "Compose" key on the keyboard.
contextMenu → const LogicalKeyboardKey
Represents the logical "Context Menu" key on the keyboard.
control → const LogicalKeyboardKey
Represents the logical "Control" key on the keyboard.
controlLeft → const LogicalKeyboardKey
Represents the logical "Control Left" key on the keyboard.
controlRight → const LogicalKeyboardKey
Represents the logical "Control Right" key on the keyboard.
convert → const LogicalKeyboardKey
Represents the logical "Convert" key on the keyboard.
copy → const LogicalKeyboardKey
Represents the logical "Copy" key on the keyboard.
crSel → const LogicalKeyboardKey
Represents the logical "Cr Sel" key on the keyboard.
cut → const LogicalKeyboardKey
Represents the logical "Cut" key on the keyboard.
delete → const LogicalKeyboardKey
Represents the logical "Delete" key on the keyboard.
digit0 → const LogicalKeyboardKey
Represents the logical "Digit 0" key on the keyboard.
digit1 → const LogicalKeyboardKey
Represents the logical "Digit 1" key on the keyboard.
digit2 → const LogicalKeyboardKey
Represents the logical "Digit 2" key on the keyboard.
digit3 → const LogicalKeyboardKey
Represents the logical "Digit 3" key on the keyboard.
digit4 → const LogicalKeyboardKey
Represents the logical "Digit 4" key on the keyboard.
digit5 → const LogicalKeyboardKey
Represents the logical "Digit 5" key on the keyboard.
digit6 → const LogicalKeyboardKey
Represents the logical "Digit 6" key on the keyboard.
digit7 → const LogicalKeyboardKey
Represents the logical "Digit 7" key on the keyboard.
digit8 → const LogicalKeyboardKey
Represents the logical "Digit 8" key on the keyboard.
digit9 → const LogicalKeyboardKey
Represents the logical "Digit 9" key on the keyboard.
dimmer → const LogicalKeyboardKey
Represents the logical "Dimmer" key on the keyboard.
displaySwap → const LogicalKeyboardKey
Represents the logical "Display Swap" key on the keyboard.
dollar → const LogicalKeyboardKey
Represents the logical "Dollar" key on the keyboard.
dvr → const LogicalKeyboardKey
Represents the logical "DVR" key on the keyboard.
eisu → const LogicalKeyboardKey
Represents the logical "Eisu" key on the keyboard.
eject → const LogicalKeyboardKey
Represents the logical "Eject" key on the keyboard.
end → const LogicalKeyboardKey
Represents the logical "End" key on the keyboard.
endCall → const LogicalKeyboardKey
Represents the logical "End Call" key on the keyboard.
enter → const LogicalKeyboardKey
Represents the logical "Enter" key on the keyboard.
equal → const LogicalKeyboardKey
Represents the logical "Equal" key on the keyboard.
eraseEof → const LogicalKeyboardKey
Represents the logical "Erase Eof" key on the keyboard.
escape → const LogicalKeyboardKey
Represents the logical "Escape" key on the keyboard.
exclamation → const LogicalKeyboardKey
Represents the logical "Exclamation" key on the keyboard.
execute → const LogicalKeyboardKey
Represents the logical "Execute" key on the keyboard.
exit → const LogicalKeyboardKey
Represents the logical "Exit" key on the keyboard.
exSel → const LogicalKeyboardKey
Represents the logical "Ex Sel" key on the keyboard.
f1 → const LogicalKeyboardKey
Represents the logical "F1" key on the keyboard.
f2 → const LogicalKeyboardKey
Represents the logical "F2" key on the keyboard.
f3 → const LogicalKeyboardKey
Represents the logical "F3" key on the keyboard.
f4 → const LogicalKeyboardKey
Represents the logical "F4" key on the keyboard.
f5 → const LogicalKeyboardKey
Represents the logical "F5" key on the keyboard.
f6 → const LogicalKeyboardKey
Represents the logical "F6" key on the keyboard.
f7 → const LogicalKeyboardKey
Represents the logical "F7" key on the keyboard.
f8 → const LogicalKeyboardKey
Represents the logical "F8" key on the keyboard.
f9 → const LogicalKeyboardKey
Represents the logical "F9" key on the keyboard.
f10 → const LogicalKeyboardKey
Represents the logical "F10" key on the keyboard.
f11 → const LogicalKeyboardKey
Represents the logical "F11" key on the keyboard.
f12 → const LogicalKeyboardKey
Represents the logical "F12" key on the keyboard.
f13 → const LogicalKeyboardKey
Represents the logical "F13" key on the keyboard.
f14 → const LogicalKeyboardKey
Represents the logical "F14" key on the keyboard.
f15 → const LogicalKeyboardKey
Represents the logical "F15" key on the keyboard.
f16 → const LogicalKeyboardKey
Represents the logical "F16" key on the keyboard.
f17 → const LogicalKeyboardKey
Represents the logical "F17" key on the keyboard.
f18 → const LogicalKeyboardKey
Represents the logical "F18" key on the keyboard.
f19 → const LogicalKeyboardKey
Represents the logical "F19" key on the keyboard.
f20 → const LogicalKeyboardKey
Represents the logical "F20" key on the keyboard.
f21 → const LogicalKeyboardKey
Represents the logical "F21" key on the keyboard.
f22 → const LogicalKeyboardKey
Represents the logical "F22" key on the keyboard.
f23 → const LogicalKeyboardKey
Represents the logical "F23" key on the keyboard.
f24 → const LogicalKeyboardKey
Represents the logical "F24" key on the keyboard.
favoriteClear0 → const LogicalKeyboardKey
Represents the logical "Favorite Clear 0" key on the keyboard.
favoriteClear1 → const LogicalKeyboardKey
Represents the logical "Favorite Clear 1" key on the keyboard.
favoriteClear2 → const LogicalKeyboardKey
Represents the logical "Favorite Clear 2" key on the keyboard.
favoriteClear3 → const LogicalKeyboardKey
Represents the logical "Favorite Clear 3" key on the keyboard.
favoriteRecall0 → const LogicalKeyboardKey
Represents the logical "Favorite Recall 0" key on the keyboard.
favoriteRecall1 → const LogicalKeyboardKey
Represents the logical "Favorite Recall 1" key on the keyboard.
favoriteRecall2 → const LogicalKeyboardKey
Represents the logical "Favorite Recall 2" key on the keyboard.
favoriteRecall3 → const LogicalKeyboardKey
Represents the logical "Favorite Recall 3" key on the keyboard.
favoriteStore0 → const LogicalKeyboardKey
Represents the logical "Favorite Store 0" key on the keyboard.
favoriteStore1 → const LogicalKeyboardKey
Represents the logical "Favorite Store 1" key on the keyboard.
favoriteStore2 → const LogicalKeyboardKey
Represents the logical "Favorite Store 2" key on the keyboard.
favoriteStore3 → const LogicalKeyboardKey
Represents the logical "Favorite Store 3" key on the keyboard.
finalMode → const LogicalKeyboardKey
Represents the logical "Final Mode" key on the keyboard.
find → const LogicalKeyboardKey
Represents the logical "Find" key on the keyboard.
flutterPlane → const int
The plane value for keys defined by Flutter.
fn → const LogicalKeyboardKey
Represents the logical "Fn" key on the keyboard.
fnLock → const LogicalKeyboardKey
Represents the logical "Fn Lock" key on the keyboard.
fuchsiaPlane → const int
The plane value for the private keys defined by the Fuchsia embedding.
gameButton1 → const LogicalKeyboardKey
Represents the logical "Game Button 1" key on the keyboard.
gameButton2 → const LogicalKeyboardKey
Represents the logical "Game Button 2" key on the keyboard.
gameButton3 → const LogicalKeyboardKey
Represents the logical "Game Button 3" key on the keyboard.
gameButton4 → const LogicalKeyboardKey
Represents the logical "Game Button 4" key on the keyboard.
gameButton5 → const LogicalKeyboardKey
Represents the logical "Game Button 5" key on the keyboard.
gameButton6 → const LogicalKeyboardKey
Represents the logical "Game Button 6" key on the keyboard.
gameButton7 → const LogicalKeyboardKey
Represents the logical "Game Button 7" key on the keyboard.
gameButton8 → const LogicalKeyboardKey
Represents the logical "Game Button 8" key on the keyboard.
gameButton9 → const LogicalKeyboardKey
Represents the logical "Game Button 9" key on the keyboard.
gameButton10 → const LogicalKeyboardKey
Represents the logical "Game Button 10" key on the keyboard.
gameButton11 → const LogicalKeyboardKey
Represents the logical "Game Button 11" key on the keyboard.
gameButton12 → const LogicalKeyboardKey
Represents the logical "Game Button 12" key on the keyboard.
gameButton13 → const LogicalKeyboardKey
Represents the logical "Game Button 13" key on the keyboard.
gameButton14 → const LogicalKeyboardKey
Represents the logical "Game Button 14" key on the keyboard.
gameButton15 → const LogicalKeyboardKey
Represents the logical "Game Button 15" key on the keyboard.
gameButton16 → const LogicalKeyboardKey
Represents the logical "Game Button 16" key on the keyboard.
gameButtonA → const LogicalKeyboardKey
Represents the logical "Game Button A" key on the keyboard.
gameButtonB → const LogicalKeyboardKey
Represents the logical "Game Button B" key on the keyboard.
gameButtonC → const LogicalKeyboardKey
Represents the logical "Game Button C" key on the keyboard.
gameButtonLeft1 → const LogicalKeyboardKey
Represents the logical "Game Button Left 1" key on the keyboard.
gameButtonLeft2 → const LogicalKeyboardKey
Represents the logical "Game Button Left 2" key on the keyboard.
gameButtonMode → const LogicalKeyboardKey
Represents the logical "Game Button Mode" key on the keyboard.
gameButtonRight1 → const LogicalKeyboardKey
Represents the logical "Game Button Right 1" key on the keyboard.
gameButtonRight2 → const LogicalKeyboardKey
Represents the logical "Game Button Right 2" key on the keyboard.
gameButtonSelect → const LogicalKeyboardKey
Represents the logical "Game Button Select" key on the keyboard.
gameButtonStart → const LogicalKeyboardKey
Represents the logical "Game Button Start" key on the keyboard.
gameButtonThumbLeft → const LogicalKeyboardKey
Represents the logical "Game Button Thumb Left" key on the keyboard.
gameButtonThumbRight → const LogicalKeyboardKey
Represents the logical "Game Button Thumb Right" key on the keyboard.
gameButtonX → const LogicalKeyboardKey
Represents the logical "Game Button X" key on the keyboard.
gameButtonY → const LogicalKeyboardKey
Represents the logical "Game Button Y" key on the keyboard.
gameButtonZ → const LogicalKeyboardKey
Represents the logical "Game Button Z" key on the keyboard.
glfwPlane → const int
The plane value for the private keys defined by the GLFW embedding.
goBack → const LogicalKeyboardKey
Represents the logical "Go Back" key on the keyboard.
goHome → const LogicalKeyboardKey
Represents the logical "Go Home" key on the keyboard.
greater → const LogicalKeyboardKey
Represents the logical "Greater" key on the keyboard.
groupFirst → const LogicalKeyboardKey
Represents the logical "Group First" key on the keyboard.
groupLast → const LogicalKeyboardKey
Represents the logical "Group Last" key on the keyboard.
groupNext → const LogicalKeyboardKey
Represents the logical "Group Next" key on the keyboard.
groupPrevious → const LogicalKeyboardKey
Represents the logical "Group Previous" key on the keyboard.
gtkPlane → const int
The plane value for the private keys defined by the Gtk embedding.
guide → const LogicalKeyboardKey
Represents the logical "Guide" key on the keyboard.
guideNextDay → const LogicalKeyboardKey
Represents the logical "Guide Next Day" key on the keyboard.
guidePreviousDay → const LogicalKeyboardKey
Represents the logical "Guide Previous Day" key on the keyboard.
hangulMode → const LogicalKeyboardKey
Represents the logical "Hangul Mode" key on the keyboard.
hanjaMode → const LogicalKeyboardKey
Represents the logical "Hanja Mode" key on the keyboard.
hankaku → const LogicalKeyboardKey
Represents the logical "Hankaku" key on the keyboard.
headsetHook → const LogicalKeyboardKey
Represents the logical "Headset Hook" key on the keyboard.
help → const LogicalKeyboardKey
Represents the logical "Help" key on the keyboard.
hibernate → const LogicalKeyboardKey
Represents the logical "Hibernate" key on the keyboard.
hiragana → const LogicalKeyboardKey
Represents the logical "Hiragana" key on the keyboard.
hiraganaKatakana → const LogicalKeyboardKey
Represents the logical "Hiragana Katakana" key on the keyboard.
home → const LogicalKeyboardKey
Represents the logical "Home" key on the keyboard.
hyper → const LogicalKeyboardKey
Represents the logical "Hyper" key on the keyboard.
info → const LogicalKeyboardKey
Represents the logical "Info" key on the keyboard.
insert → const LogicalKeyboardKey
Represents the logical "Insert" key on the keyboard.
instantReplay → const LogicalKeyboardKey
Represents the logical "Instant Replay" key on the keyboard.
intlBackslash → const LogicalKeyboardKey
Represents the logical "Intl Backslash" key on the keyboard.
intlRo → const LogicalKeyboardKey
Represents the logical "Intl Ro" key on the keyboard.
intlYen → const LogicalKeyboardKey
Represents the logical "Intl Yen" key on the keyboard.
iosPlane → const int
The plane value for the private keys defined by the iOS embedding.
junjaMode → const LogicalKeyboardKey
Represents the logical "Junja Mode" key on the keyboard.
kanaMode → const LogicalKeyboardKey
Represents the logical "Kana Mode" key on the keyboard.
kanjiMode → const LogicalKeyboardKey
Represents the logical "Kanji Mode" key on the keyboard.
katakana → const LogicalKeyboardKey
Represents the logical "Katakana" key on the keyboard.
key11 → const LogicalKeyboardKey
Represents the logical "Key 11" key on the keyboard.
key12 → const LogicalKeyboardKey
Represents the logical "Key 12" key on the keyboard.
keyA → const LogicalKeyboardKey
Represents the logical "Key A" key on the keyboard.
keyB → const LogicalKeyboardKey
Represents the logical "Key B" key on the keyboard.
keyC → const LogicalKeyboardKey
Represents the logical "Key C" key on the keyboard.
keyD → const LogicalKeyboardKey
Represents the logical "Key D" key on the keyboard.
keyE → const LogicalKeyboardKey
Represents the logical "Key E" key on the keyboard.
keyF → const LogicalKeyboardKey
Represents the logical "Key F" key on the keyboard.
keyG → const LogicalKeyboardKey
Represents the logical "Key G" key on the keyboard.
keyH → const LogicalKeyboardKey
Represents the logical "Key H" key on the keyboard.
keyI → const LogicalKeyboardKey
Represents the logical "Key I" key on the keyboard.
keyJ → const LogicalKeyboardKey
Represents the logical "Key J" key on the keyboard.
keyK → const LogicalKeyboardKey
Represents the logical "Key K" key on the keyboard.
keyL → const LogicalKeyboardKey
Represents the logical "Key L" key on the keyboard.
keyM → const LogicalKeyboardKey
Represents the logical "Key M" key on the keyboard.
keyN → const LogicalKeyboardKey
Represents the logical "Key N" key on the keyboard.
keyO → const LogicalKeyboardKey
Represents the logical "Key O" key on the keyboard.
keyP → const LogicalKeyboardKey
Represents the logical "Key P" key on the keyboard.
keyQ → const LogicalKeyboardKey
Represents the logical "Key Q" key on the keyboard.
keyR → const LogicalKeyboardKey
Represents the logical "Key R" key on the keyboard.
keyS → const LogicalKeyboardKey
Represents the logical "Key S" key on the keyboard.
keyT → const LogicalKeyboardKey
Represents the logical "Key T" key on the keyboard.
keyU → const LogicalKeyboardKey
Represents the logical "Key U" key on the keyboard.
keyV → const LogicalKeyboardKey
Represents the logical "Key V" key on the keyboard.
keyW → const LogicalKeyboardKey
Represents the logical "Key W" key on the keyboard.
keyX → const LogicalKeyboardKey
Represents the logical "Key X" key on the keyboard.
keyY → const LogicalKeyboardKey
Represents the logical "Key Y" key on the keyboard.
keyZ → const LogicalKeyboardKey
Represents the logical "Key Z" key on the keyboard.
lang1 → const LogicalKeyboardKey
Represents the logical "Lang 1" key on the keyboard.
lang2 → const LogicalKeyboardKey
Represents the logical "Lang 2" key on the keyboard.
lang3 → const LogicalKeyboardKey
Represents the logical "Lang 3" key on the keyboard.
lang4 → const LogicalKeyboardKey
Represents the logical "Lang 4" key on the keyboard.
lang5 → const LogicalKeyboardKey
Represents the logical "Lang 5" key on the keyboard.
lastNumberRedial → const LogicalKeyboardKey
Represents the logical "Last Number Redial" key on the keyboard.
launchApplication1 → const LogicalKeyboardKey
Represents the logical "Launch Application 1" key on the keyboard.
launchApplication2 → const LogicalKeyboardKey
Represents the logical "Launch Application 2" key on the keyboard.
launchAssistant → const LogicalKeyboardKey
Represents the logical "Launch Assistant" key on the keyboard.
launchCalendar → const LogicalKeyboardKey
Represents the logical "Launch Calendar" key on the keyboard.
launchContacts → const LogicalKeyboardKey
Represents the logical "Launch Contacts" key on the keyboard.
launchControlPanel → const LogicalKeyboardKey
Represents the logical "Launch Control Panel" key on the keyboard.
launchMail → const LogicalKeyboardKey
Represents the logical "Launch Mail" key on the keyboard.
launchMediaPlayer → const LogicalKeyboardKey
Represents the logical "Launch Media Player" key on the keyboard.
launchMusicPlayer → const LogicalKeyboardKey
Represents the logical "Launch Music Player" key on the keyboard.
launchPhone → const LogicalKeyboardKey
Represents the logical "Launch Phone" key on the keyboard.
launchScreenSaver → const LogicalKeyboardKey
Represents the logical "Launch Screen Saver" key on the keyboard.
launchSpreadsheet → const LogicalKeyboardKey
Represents the logical "Launch Spreadsheet" key on the keyboard.
launchWebBrowser → const LogicalKeyboardKey
Represents the logical "Launch Web Browser" key on the keyboard.
launchWebCam → const LogicalKeyboardKey
Represents the logical "Launch Web Cam" key on the keyboard.
launchWordProcessor → const LogicalKeyboardKey
Represents the logical "Launch Word Processor" key on the keyboard.
less → const LogicalKeyboardKey
Represents the logical "Less" key on the keyboard.
Represents the logical "Link" key on the keyboard.
listProgram → const LogicalKeyboardKey
Represents the logical "List Program" key on the keyboard.
liveContent → const LogicalKeyboardKey
Represents the logical "Live Content" key on the keyboard.
lock → const LogicalKeyboardKey
Represents the logical "Lock" key on the keyboard.
logOff → const LogicalKeyboardKey
Represents the logical "Log Off" key on the keyboard.
macosPlane → const int
The plane value for the private keys defined by the macOS embedding.
mailForward → const LogicalKeyboardKey
Represents the logical "Mail Forward" key on the keyboard.
mailReply → const LogicalKeyboardKey
Represents the logical "Mail Reply" key on the keyboard.
mailSend → const LogicalKeyboardKey
Represents the logical "Mail Send" key on the keyboard.
mannerMode → const LogicalKeyboardKey
Represents the logical "Manner Mode" key on the keyboard.
mediaApps → const LogicalKeyboardKey
Represents the logical "Media Apps" key on the keyboard.
mediaAudioTrack → const LogicalKeyboardKey
Represents the logical "Media Audio Track" key on the keyboard.
mediaClose → const LogicalKeyboardKey
Represents the logical "Media Close" key on the keyboard.
mediaFastForward → const LogicalKeyboardKey
Represents the logical "Media Fast Forward" key on the keyboard.
mediaLast → const LogicalKeyboardKey
Represents the logical "Media Last" key on the keyboard.
mediaPause → const LogicalKeyboardKey
Represents the logical "Media Pause" key on the keyboard.
mediaPlay → const LogicalKeyboardKey
Represents the logical "Media Play" key on the keyboard.
mediaPlayPause → const LogicalKeyboardKey
Represents the logical "Media Play Pause" key on the keyboard.
mediaRecord → const LogicalKeyboardKey
Represents the logical "Media Record" key on the keyboard.
mediaRewind → const LogicalKeyboardKey
Represents the logical "Media Rewind" key on the keyboard.
mediaSkip → const LogicalKeyboardKey
Represents the logical "Media Skip" key on the keyboard.
mediaSkipBackward → const LogicalKeyboardKey
Represents the logical "Media Skip Backward" key on the keyboard.
mediaSkipForward → const LogicalKeyboardKey
Represents the logical "Media Skip Forward" key on the keyboard.
mediaStepBackward → const LogicalKeyboardKey
Represents the logical "Media Step Backward" key on the keyboard.
mediaStepForward → const LogicalKeyboardKey
Represents the logical "Media Step Forward" key on the keyboard.
mediaStop → const LogicalKeyboardKey
Represents the logical "Media Stop" key on the keyboard.
mediaTopMenu → const LogicalKeyboardKey
Represents the logical "Media Top Menu" key on the keyboard.
mediaTrackNext → const LogicalKeyboardKey
Represents the logical "Media Track Next" key on the keyboard.
mediaTrackPrevious → const LogicalKeyboardKey
Represents the logical "Media Track Previous" key on the keyboard.
meta → const LogicalKeyboardKey
Represents the logical "Meta" key on the keyboard.
metaLeft → const LogicalKeyboardKey
Represents the logical "Meta Left" key on the keyboard.
metaRight → const LogicalKeyboardKey
Represents the logical "Meta Right" key on the keyboard.
microphoneToggle → const LogicalKeyboardKey
Represents the logical "Microphone Toggle" key on the keyboard.
microphoneVolumeDown → const LogicalKeyboardKey
Represents the logical "Microphone Volume Down" key on the keyboard.
microphoneVolumeMute → const LogicalKeyboardKey
Represents the logical "Microphone Volume Mute" key on the keyboard.
microphoneVolumeUp → const LogicalKeyboardKey
Represents the logical "Microphone Volume Up" key on the keyboard.
minus → const LogicalKeyboardKey
Represents the logical "Minus" key on the keyboard.
modeChange → const LogicalKeyboardKey
Represents the logical "Mode Change" key on the keyboard.
Represents the logical "Navigate In" key on the keyboard.
Represents the logical "Navigate Next" key on the keyboard.
Represents the logical "Navigate Out" key on the keyboard.
Represents the logical "Navigate Previous" key on the keyboard.
newKey → const LogicalKeyboardKey
Represents the logical "New" key on the keyboard.
nextCandidate → const LogicalKeyboardKey
Represents the logical "Next Candidate" key on the keyboard.
nextFavoriteChannel → const LogicalKeyboardKey
Represents the logical "Next Favorite Channel" key on the keyboard.
nextUserProfile → const LogicalKeyboardKey
Represents the logical "Next User Profile" key on the keyboard.
nonConvert → const LogicalKeyboardKey
Represents the logical "Non Convert" key on the keyboard.
notification → const LogicalKeyboardKey
Represents the logical "Notification" key on the keyboard.
numberSign → const LogicalKeyboardKey
Represents the logical "Number Sign" key on the keyboard.
numLock → const LogicalKeyboardKey
Represents the logical "Num Lock" key on the keyboard.
numpad0 → const LogicalKeyboardKey
Represents the logical "Numpad 0" key on the keyboard.
numpad1 → const LogicalKeyboardKey
Represents the logical "Numpad 1" key on the keyboard.
numpad2 → const LogicalKeyboardKey
Represents the logical "Numpad 2" key on the keyboard.
numpad3 → const LogicalKeyboardKey
Represents the logical "Numpad 3" key on the keyboard.
numpad4 → const LogicalKeyboardKey
Represents the logical "Numpad 4" key on the keyboard.
numpad5 → const LogicalKeyboardKey
Represents the logical "Numpad 5" key on the keyboard.
numpad6 → const LogicalKeyboardKey
Represents the logical "Numpad 6" key on the keyboard.
numpad7 → const LogicalKeyboardKey
Represents the logical "Numpad 7" key on the keyboard.
numpad8 → const LogicalKeyboardKey
Represents the logical "Numpad 8" key on the keyboard.
numpad9 → const LogicalKeyboardKey
Represents the logical "Numpad 9" key on the keyboard.
numpadAdd → const LogicalKeyboardKey
Represents the logical "Numpad Add" key on the keyboard.
numpadComma → const LogicalKeyboardKey
Represents the logical "Numpad Comma" key on the keyboard.
numpadDecimal → const LogicalKeyboardKey
Represents the logical "Numpad Decimal" key on the keyboard.
numpadDivide → const LogicalKeyboardKey
Represents the logical "Numpad Divide" key on the keyboard.
numpadEnter → const LogicalKeyboardKey
Represents the logical "Numpad Enter" key on the keyboard.
numpadEqual → const LogicalKeyboardKey
Represents the logical "Numpad Equal" key on the keyboard.
numpadMultiply → const LogicalKeyboardKey
Represents the logical "Numpad Multiply" key on the keyboard.
numpadParenLeft → const LogicalKeyboardKey
Represents the logical "Numpad Paren Left" key on the keyboard.
numpadParenRight → const LogicalKeyboardKey
Represents the logical "Numpad Paren Right" key on the keyboard.
numpadSubtract → const LogicalKeyboardKey
Represents the logical "Numpad Subtract" key on the keyboard.
onDemand → const LogicalKeyboardKey
Represents the logical "On Demand" key on the keyboard.
open → const LogicalKeyboardKey
Represents the logical "Open" key on the keyboard.
pageDown → const LogicalKeyboardKey
Represents the logical "Page Down" key on the keyboard.
pageUp → const LogicalKeyboardKey
Represents the logical "Page Up" key on the keyboard.
pairing → const LogicalKeyboardKey
Represents the logical "Pairing" key on the keyboard.
parenthesisLeft → const LogicalKeyboardKey
Represents the logical "Parenthesis Left" key on the keyboard.
parenthesisRight → const LogicalKeyboardKey
Represents the logical "Parenthesis Right" key on the keyboard.
paste → const LogicalKeyboardKey
Represents the logical "Paste" key on the keyboard.
pause → const LogicalKeyboardKey
Represents the logical "Pause" key on the keyboard.
percent → const LogicalKeyboardKey
Represents the logical "Percent" key on the keyboard.
period → const LogicalKeyboardKey
Represents the logical "Period" key on the keyboard.
pInPDown → const LogicalKeyboardKey
Represents the logical "P In P Down" key on the keyboard.
pInPMove → const LogicalKeyboardKey
Represents the logical "P In P Move" key on the keyboard.
pInPToggle → const LogicalKeyboardKey
Represents the logical "P In P Toggle" key on the keyboard.
pInPUp → const LogicalKeyboardKey
Represents the logical "P In P Up" key on the keyboard.
planeMask → const int
Mask for the plane prefix portion of the key code.
play → const LogicalKeyboardKey
Represents the logical "Play" key on the keyboard.
playSpeedDown → const LogicalKeyboardKey
Represents the logical "Play Speed Down" key on the keyboard.
playSpeedReset → const LogicalKeyboardKey
Represents the logical "Play Speed Reset" key on the keyboard.
playSpeedUp → const LogicalKeyboardKey
Represents the logical "Play Speed Up" key on the keyboard.
power → const LogicalKeyboardKey
Represents the logical "Power" key on the keyboard.
powerOff → const LogicalKeyboardKey
Represents the logical "Power Off" key on the keyboard.
previousCandidate → const LogicalKeyboardKey
Represents the logical "Previous Candidate" key on the keyboard.
print → const LogicalKeyboardKey
Represents the logical "Print" key on the keyboard.
printScreen → const LogicalKeyboardKey
Represents the logical "Print Screen" key on the keyboard.
process → const LogicalKeyboardKey
Represents the logical "Process" key on the keyboard.
props → const LogicalKeyboardKey
Represents the logical "Props" key on the keyboard.
question → const LogicalKeyboardKey
Represents the logical "Question" key on the keyboard.
quote → const LogicalKeyboardKey
Represents the logical "Quote" key on the keyboard.
quoteSingle → const LogicalKeyboardKey
Represents the logical "Quote Single" key on the keyboard.
randomToggle → const LogicalKeyboardKey
Represents the logical "Random Toggle" key on the keyboard.
rcLowBattery → const LogicalKeyboardKey
Represents the logical "Rc Low Battery" key on the keyboard.
recordSpeedNext → const LogicalKeyboardKey
Represents the logical "Record Speed Next" key on the keyboard.
redo → const LogicalKeyboardKey
Represents the logical "Redo" key on the keyboard.
resume → const LogicalKeyboardKey
Represents the logical "Resume" key on the keyboard.
rfBypass → const LogicalKeyboardKey
Represents the logical "Rf Bypass" key on the keyboard.
romaji → const LogicalKeyboardKey
Represents the logical "Romaji" key on the keyboard.
save → const LogicalKeyboardKey
Represents the logical "Save" key on the keyboard.
scanChannelsToggle → const LogicalKeyboardKey
Represents the logical "Scan Channels Toggle" key on the keyboard.
screenModeNext → const LogicalKeyboardKey
Represents the logical "Screen Mode Next" key on the keyboard.
scrollLock → const LogicalKeyboardKey
Represents the logical "Scroll Lock" key on the keyboard.
select → const LogicalKeyboardKey
Represents the logical "Select" key on the keyboard.
semicolon → const LogicalKeyboardKey
Represents the logical "Semicolon" key on the keyboard.
settings → const LogicalKeyboardKey
Represents the logical "Settings" key on the keyboard.
shift → const LogicalKeyboardKey
Represents the logical "Shift" key on the keyboard.
shiftLeft → const LogicalKeyboardKey
Represents the logical "Shift Left" key on the keyboard.
shiftLevel5 → const LogicalKeyboardKey
Represents the logical "Shift Level 5" key on the keyboard.
shiftRight → const LogicalKeyboardKey
Represents the logical "Shift Right" key on the keyboard.
singleCandidate → const LogicalKeyboardKey
Represents the logical "Single Candidate" key on the keyboard.
slash → const LogicalKeyboardKey
Represents the logical "Slash" key on the keyboard.
sleep → const LogicalKeyboardKey
Represents the logical "Sleep" key on the keyboard.
soft1 → const LogicalKeyboardKey
Represents the logical "Soft 1" key on the keyboard.
soft2 → const LogicalKeyboardKey
Represents the logical "Soft 2" key on the keyboard.
soft3 → const LogicalKeyboardKey
Represents the logical "Soft 3" key on the keyboard.
soft4 → const LogicalKeyboardKey
Represents the logical "Soft 4" key on the keyboard.
soft5 → const LogicalKeyboardKey
Represents the logical "Soft 5" key on the keyboard.
soft6 → const LogicalKeyboardKey
Represents the logical "Soft 6" key on the keyboard.
soft7 → const LogicalKeyboardKey
Represents the logical "Soft 7" key on the keyboard.
soft8 → const LogicalKeyboardKey
Represents the logical "Soft 8" key on the keyboard.
space → const LogicalKeyboardKey
Represents the logical "Space" key on the keyboard.
speechCorrectionList → const LogicalKeyboardKey
Represents the logical "Speech Correction List" key on the keyboard.
speechInputToggle → const LogicalKeyboardKey
Represents the logical "Speech Input Toggle" key on the keyboard.
spellCheck → const LogicalKeyboardKey
Represents the logical "Spell Check" key on the keyboard.
splitScreenToggle → const LogicalKeyboardKey
Represents the logical "Split Screen Toggle" key on the keyboard.
standby → const LogicalKeyboardKey
Represents the logical "Standby" key on the keyboard.
startOfPlatformPlanes → const int
The platform plane with the lowest mask value, beyond which the keys are considered autogenerated.
stbInput → const LogicalKeyboardKey
Represents the logical "STB Input" key on the keyboard.
stbPower → const LogicalKeyboardKey
Represents the logical "STB Power" key on the keyboard.
subtitle → const LogicalKeyboardKey
Represents the logical "Subtitle" key on the keyboard.
superKey → const LogicalKeyboardKey
Represents the logical "Super" key on the keyboard.
suspend → const LogicalKeyboardKey
Represents the logical "Suspend" key on the keyboard.
symbol → const LogicalKeyboardKey
Represents the logical "Symbol" key on the keyboard.
symbolLock → const LogicalKeyboardKey
Represents the logical "Symbol Lock" key on the keyboard.
tab → const LogicalKeyboardKey
Represents the logical "Tab" key on the keyboard.
teletext → const LogicalKeyboardKey
Represents the logical "Teletext" key on the keyboard.
tilde → const LogicalKeyboardKey
Represents the logical "Tilde" key on the keyboard.
tv → const LogicalKeyboardKey
Represents the logical "TV" key on the keyboard.
tv3DMode → const LogicalKeyboardKey
Represents the logical "TV 3 D Mode" key on the keyboard.
tvAntennaCable → const LogicalKeyboardKey
Represents the logical "TV Antenna Cable" key on the keyboard.
tvAudioDescription → const LogicalKeyboardKey
Represents the logical "TV Audio Description" key on the keyboard.
tvAudioDescriptionMixDown → const LogicalKeyboardKey
Represents the logical "TV Audio Description Mix Down" key on the keyboard.
tvAudioDescriptionMixUp → const LogicalKeyboardKey
Represents the logical "TV Audio Description Mix Up" key on the keyboard.
tvContentsMenu → const LogicalKeyboardKey
Represents the logical "TV Contents Menu" key on the keyboard.
tvDataService → const LogicalKeyboardKey
Represents the logical "TV Data Service" key on the keyboard.
tvInput → const LogicalKeyboardKey
Represents the logical "TV Input" key on the keyboard.
tvInputComponent1 → const LogicalKeyboardKey
Represents the logical "TV Input Component 1" key on the keyboard.
tvInputComponent2 → const LogicalKeyboardKey
Represents the logical "TV Input Component 2" key on the keyboard.
tvInputComposite1 → const LogicalKeyboardKey
Represents the logical "TV Input Composite 1" key on the keyboard.
tvInputComposite2 → const LogicalKeyboardKey
Represents the logical "TV Input Composite 2" key on the keyboard.
tvInputHDMI1 → const LogicalKeyboardKey
Represents the logical "TV Input HDMI 1" key on the keyboard.
tvInputHDMI2 → const LogicalKeyboardKey
Represents the logical "TV Input HDMI 2" key on the keyboard.
tvInputHDMI3 → const LogicalKeyboardKey
Represents the logical "TV Input HDMI 3" key on the keyboard.
tvInputHDMI4 → const LogicalKeyboardKey
Represents the logical "TV Input HDMI 4" key on the keyboard.
tvInputVGA1 → const LogicalKeyboardKey
Represents the logical "TV Input VGA 1" key on the keyboard.
tvMediaContext → const LogicalKeyboardKey
Represents the logical "TV Media Context" key on the keyboard.
tvNetwork → const LogicalKeyboardKey
Represents the logical "TV Network" key on the keyboard.
tvNumberEntry → const LogicalKeyboardKey
Represents the logical "TV Number Entry" key on the keyboard.
tvPower → const LogicalKeyboardKey
Represents the logical "TV Power" key on the keyboard.
tvRadioService → const LogicalKeyboardKey
Represents the logical "TV Radio Service" key on the keyboard.
tvSatellite → const LogicalKeyboardKey
Represents the logical "TV Satellite" key on the keyboard.
tvSatelliteBS → const LogicalKeyboardKey
Represents the logical "TV Satellite BS" key on the keyboard.
tvSatelliteCS → const LogicalKeyboardKey
Represents the logical "TV Satellite CS" key on the keyboard.
tvSatelliteToggle → const LogicalKeyboardKey
Represents the logical "TV Satellite Toggle" key on the keyboard.
tvTerrestrialAnalog → const LogicalKeyboardKey
Represents the logical "TV Terrestrial Analog" key on the keyboard.
tvTerrestrialDigital → const LogicalKeyboardKey
Represents the logical "TV Terrestrial Digital" key on the keyboard.
tvTimer → const LogicalKeyboardKey
Represents the logical "TV Timer" key on the keyboard.
underscore → const LogicalKeyboardKey
Represents the logical "Underscore" key on the keyboard.
undo → const LogicalKeyboardKey
Represents the logical "Undo" key on the keyboard.
unicodePlane → const int
The plane value for keys which have a Unicode representation.
unidentified → const LogicalKeyboardKey
Represents the logical "Unidentified" key on the keyboard.
unprintablePlane → const int
The plane value for keys defined by Chromium and does not have a Unicode representation.
valueMask → const int
Mask for the 32-bit value portion of the key code.
videoModeNext → const LogicalKeyboardKey
Represents the logical "Video Mode Next" key on the keyboard.
voiceDial → const LogicalKeyboardKey
Represents the logical "Voice Dial" key on the keyboard.
wakeUp → const LogicalKeyboardKey
Represents the logical "Wake Up" key on the keyboard.
webPlane → const int
The plane value for the private keys defined by the Web embedding.
windowsPlane → const int
The plane value for the private keys defined by the Windows embedding.
wink → const LogicalKeyboardKey
Represents the logical "Wink" key on the keyboard.
zenkaku → const LogicalKeyboardKey
Represents the logical "Zenkaku" key on the keyboard.
zenkakuHankaku → const LogicalKeyboardKey
Represents the logical "Zenkaku Hankaku" key on the keyboard.
zoomIn → const LogicalKeyboardKey
Represents the logical "Zoom In" key on the keyboard.
zoomOut → const LogicalKeyboardKey
Represents the logical "Zoom Out" key on the keyboard.
zoomToggle → const LogicalKeyboardKey
Represents the logical "Zoom Toggle" key on the keyboard.