kWebToLogicalKey top-level constant

Map<String, LogicalKeyboardKey> const kWebToLogicalKey

Maps Web KeyboardEvent codes to the matching LogicalKeyboardKey.

Implementation

const Map<String, LogicalKeyboardKey> kWebToLogicalKey = <String, LogicalKeyboardKey>{
  'None': LogicalKeyboardKey.none,
  'Hyper': LogicalKeyboardKey.hyper,
  'Super': LogicalKeyboardKey.superKey,
  'FnLock': LogicalKeyboardKey.fnLock,
  'Suspend': LogicalKeyboardKey.suspend,
  'Resume': LogicalKeyboardKey.resume,
  'Turbo': LogicalKeyboardKey.turbo,
  'PrivacyScreenToggle': LogicalKeyboardKey.privacyScreenToggle,
  'Sleep': LogicalKeyboardKey.sleep,
  'WakeUp': LogicalKeyboardKey.wakeUp,
  'DisplayToggleIntExt': LogicalKeyboardKey.displayToggleIntExt,
  'KeyA': LogicalKeyboardKey.keyA,
  'KeyB': LogicalKeyboardKey.keyB,
  'KeyC': LogicalKeyboardKey.keyC,
  'KeyD': LogicalKeyboardKey.keyD,
  'KeyE': LogicalKeyboardKey.keyE,
  'KeyF': LogicalKeyboardKey.keyF,
  'KeyG': LogicalKeyboardKey.keyG,
  'KeyH': LogicalKeyboardKey.keyH,
  'KeyI': LogicalKeyboardKey.keyI,
  'KeyJ': LogicalKeyboardKey.keyJ,
  'KeyK': LogicalKeyboardKey.keyK,
  'KeyL': LogicalKeyboardKey.keyL,
  'KeyM': LogicalKeyboardKey.keyM,
  'KeyN': LogicalKeyboardKey.keyN,
  'KeyO': LogicalKeyboardKey.keyO,
  'KeyP': LogicalKeyboardKey.keyP,
  'KeyQ': LogicalKeyboardKey.keyQ,
  'KeyR': LogicalKeyboardKey.keyR,
  'KeyS': LogicalKeyboardKey.keyS,
  'KeyT': LogicalKeyboardKey.keyT,
  'KeyU': LogicalKeyboardKey.keyU,
  'KeyV': LogicalKeyboardKey.keyV,
  'KeyW': LogicalKeyboardKey.keyW,
  'KeyX': LogicalKeyboardKey.keyX,
  'KeyY': LogicalKeyboardKey.keyY,
  'KeyZ': LogicalKeyboardKey.keyZ,
  'Digit1': LogicalKeyboardKey.digit1,
  'Digit2': LogicalKeyboardKey.digit2,
  'Digit3': LogicalKeyboardKey.digit3,
  'Digit4': LogicalKeyboardKey.digit4,
  'Digit5': LogicalKeyboardKey.digit5,
  'Digit6': LogicalKeyboardKey.digit6,
  'Digit7': LogicalKeyboardKey.digit7,
  'Digit8': LogicalKeyboardKey.digit8,
  'Digit9': LogicalKeyboardKey.digit9,
  'Digit0': LogicalKeyboardKey.digit0,
  'Enter': LogicalKeyboardKey.enter,
  'Escape': LogicalKeyboardKey.escape,
  'Backspace': LogicalKeyboardKey.backspace,
  'Tab': LogicalKeyboardKey.tab,
  'Space': LogicalKeyboardKey.space,
  'Minus': LogicalKeyboardKey.minus,
  'Equal': LogicalKeyboardKey.equal,
  'BracketLeft': LogicalKeyboardKey.bracketLeft,
  'BracketRight': LogicalKeyboardKey.bracketRight,
  'Backslash': LogicalKeyboardKey.backslash,
  'Semicolon': LogicalKeyboardKey.semicolon,
  'Quote': LogicalKeyboardKey.quote,
  'Backquote': LogicalKeyboardKey.backquote,
  'Comma': LogicalKeyboardKey.comma,
  'Period': LogicalKeyboardKey.period,
  'Slash': LogicalKeyboardKey.slash,
  'CapsLock': LogicalKeyboardKey.capsLock,
  'F1': LogicalKeyboardKey.f1,
  'F2': LogicalKeyboardKey.f2,
  'F3': LogicalKeyboardKey.f3,
  'F4': LogicalKeyboardKey.f4,
  'F5': LogicalKeyboardKey.f5,
  'F6': LogicalKeyboardKey.f6,
  'F7': LogicalKeyboardKey.f7,
  'F8': LogicalKeyboardKey.f8,
  'F9': LogicalKeyboardKey.f9,
  'F10': LogicalKeyboardKey.f10,
  'F11': LogicalKeyboardKey.f11,
  'F12': LogicalKeyboardKey.f12,
  'PrintScreen': LogicalKeyboardKey.printScreen,
  'ScrollLock': LogicalKeyboardKey.scrollLock,
  'Pause': LogicalKeyboardKey.pause,
  'Insert': LogicalKeyboardKey.insert,
  'Home': LogicalKeyboardKey.home,
  'PageUp': LogicalKeyboardKey.pageUp,
  'Delete': LogicalKeyboardKey.delete,
  'End': LogicalKeyboardKey.end,
  'PageDown': LogicalKeyboardKey.pageDown,
  'ArrowRight': LogicalKeyboardKey.arrowRight,
  'ArrowLeft': LogicalKeyboardKey.arrowLeft,
  'ArrowDown': LogicalKeyboardKey.arrowDown,
  'ArrowUp': LogicalKeyboardKey.arrowUp,
  'NumLock': LogicalKeyboardKey.numLock,
  'NumpadDivide': LogicalKeyboardKey.numpadDivide,
  'NumpadMultiply': LogicalKeyboardKey.numpadMultiply,
  'NumpadSubtract': LogicalKeyboardKey.numpadSubtract,
  'NumpadAdd': LogicalKeyboardKey.numpadAdd,
  'NumpadEnter': LogicalKeyboardKey.numpadEnter,
  'Numpad1': LogicalKeyboardKey.numpad1,
  'Numpad2': LogicalKeyboardKey.numpad2,
  'Numpad3': LogicalKeyboardKey.numpad3,
  'Numpad4': LogicalKeyboardKey.numpad4,
  'Numpad5': LogicalKeyboardKey.numpad5,
  'Numpad6': LogicalKeyboardKey.numpad6,
  'Numpad7': LogicalKeyboardKey.numpad7,
  'Numpad8': LogicalKeyboardKey.numpad8,
  'Numpad9': LogicalKeyboardKey.numpad9,
  'Numpad0': LogicalKeyboardKey.numpad0,
  'NumpadDecimal': LogicalKeyboardKey.numpadDecimal,
  'IntlBackslash': LogicalKeyboardKey.intlBackslash,
  'ContextMenu': LogicalKeyboardKey.contextMenu,
  'Power': LogicalKeyboardKey.power,
  'NumpadEqual': LogicalKeyboardKey.numpadEqual,
  'F13': LogicalKeyboardKey.f13,
  'F14': LogicalKeyboardKey.f14,
  'F15': LogicalKeyboardKey.f15,
  'F16': LogicalKeyboardKey.f16,
  'F17': LogicalKeyboardKey.f17,
  'F18': LogicalKeyboardKey.f18,
  'F19': LogicalKeyboardKey.f19,
  'F20': LogicalKeyboardKey.f20,
  'F21': LogicalKeyboardKey.f21,
  'F22': LogicalKeyboardKey.f22,
  'F23': LogicalKeyboardKey.f23,
  'F24': LogicalKeyboardKey.f24,
  'Open': LogicalKeyboardKey.open,
  'Help': LogicalKeyboardKey.help,
  'Select': LogicalKeyboardKey.select,
  'Again': LogicalKeyboardKey.again,
  'Undo': LogicalKeyboardKey.undo,
  'Cut': LogicalKeyboardKey.cut,
  'Copy': LogicalKeyboardKey.copy,
  'Paste': LogicalKeyboardKey.paste,
  'Find': LogicalKeyboardKey.find,
  'AudioVolumeMute': LogicalKeyboardKey.audioVolumeMute,
  'AudioVolumeUp': LogicalKeyboardKey.audioVolumeUp,
  'AudioVolumeDown': LogicalKeyboardKey.audioVolumeDown,
  'NumpadComma': LogicalKeyboardKey.numpadComma,
  'IntlRo': LogicalKeyboardKey.intlRo,
  'KanaMode': LogicalKeyboardKey.kanaMode,
  'IntlYen': LogicalKeyboardKey.intlYen,
  'Convert': LogicalKeyboardKey.convert,
  'NonConvert': LogicalKeyboardKey.nonConvert,
  'Lang1': LogicalKeyboardKey.lang1,
  'Lang2': LogicalKeyboardKey.lang2,
  'Lang3': LogicalKeyboardKey.lang3,
  'Lang4': LogicalKeyboardKey.lang4,
  'Lang5': LogicalKeyboardKey.lang5,
  'Abort': LogicalKeyboardKey.abort,
  'Props': LogicalKeyboardKey.props,
  'NumpadParenLeft': LogicalKeyboardKey.numpadParenLeft,
  'NumpadParenRight': LogicalKeyboardKey.numpadParenRight,
  'NumpadBackspace': LogicalKeyboardKey.numpadBackspace,
  'NumpadMemoryStore': LogicalKeyboardKey.numpadMemoryStore,
  'NumpadMemoryRecall': LogicalKeyboardKey.numpadMemoryRecall,
  'NumpadMemoryClear': LogicalKeyboardKey.numpadMemoryClear,
  'NumpadMemoryAdd': LogicalKeyboardKey.numpadMemoryAdd,
  'NumpadMemorySubtract': LogicalKeyboardKey.numpadMemorySubtract,
  'NumpadClear': LogicalKeyboardKey.numpadClear,
  'NumpadClearEntry': LogicalKeyboardKey.numpadClearEntry,
  'ControlLeft': LogicalKeyboardKey.controlLeft,
  'ShiftLeft': LogicalKeyboardKey.shiftLeft,
  'AltLeft': LogicalKeyboardKey.altLeft,
  'MetaLeft': LogicalKeyboardKey.metaLeft,
  'ControlRight': LogicalKeyboardKey.controlRight,
  'ShiftRight': LogicalKeyboardKey.shiftRight,
  'AltRight': LogicalKeyboardKey.altRight,
  'MetaRight': LogicalKeyboardKey.metaRight,
  'BrightnessUp': LogicalKeyboardKey.brightnessUp,
  'BrightnessDown': LogicalKeyboardKey.brightnessDown,
  'MediaPlay': LogicalKeyboardKey.mediaPlay,
  'MediaPause': LogicalKeyboardKey.mediaPause,
  'MediaRecord': LogicalKeyboardKey.mediaRecord,
  'MediaFastForward': LogicalKeyboardKey.mediaFastForward,
  'MediaRewind': LogicalKeyboardKey.mediaRewind,
  'MediaTrackNext': LogicalKeyboardKey.mediaTrackNext,
  'MediaTrackPrevious': LogicalKeyboardKey.mediaTrackPrevious,
  'MediaStop': LogicalKeyboardKey.mediaStop,
  'Eject': LogicalKeyboardKey.eject,
  'MediaPlayPause': LogicalKeyboardKey.mediaPlayPause,
  'MediaSelect': LogicalKeyboardKey.mediaSelect,
  'LaunchMail': LogicalKeyboardKey.launchMail,
  'LaunchApp2': LogicalKeyboardKey.launchApp2,
  'LaunchApp1': LogicalKeyboardKey.launchApp1,
  'LaunchControlPanel': LogicalKeyboardKey.launchControlPanel,
  'SelectTask': LogicalKeyboardKey.selectTask,
  'LaunchScreenSaver': LogicalKeyboardKey.launchScreenSaver,
  'LaunchAssistant': LogicalKeyboardKey.launchAssistant,
  'BrowserSearch': LogicalKeyboardKey.browserSearch,
  'BrowserHome': LogicalKeyboardKey.browserHome,
  'BrowserBack': LogicalKeyboardKey.browserBack,
  'BrowserForward': LogicalKeyboardKey.browserForward,
  'BrowserStop': LogicalKeyboardKey.browserStop,
  'BrowserRefresh': LogicalKeyboardKey.browserRefresh,
  'BrowserFavorites': LogicalKeyboardKey.browserFavorites,
  'ZoomToggle': LogicalKeyboardKey.zoomToggle,
  'MailReply': LogicalKeyboardKey.mailReply,
  'MailForward': LogicalKeyboardKey.mailForward,
  'MailSend': LogicalKeyboardKey.mailSend,
  'KeyboardLayoutSelect': LogicalKeyboardKey.keyboardLayoutSelect,
  'ShowAllWindows': LogicalKeyboardKey.showAllWindows,
  'GameButton1': LogicalKeyboardKey.gameButton1,
  'GameButton2': LogicalKeyboardKey.gameButton2,
  'GameButton3': LogicalKeyboardKey.gameButton3,
  'GameButton4': LogicalKeyboardKey.gameButton4,
  'GameButton5': LogicalKeyboardKey.gameButton5,
  'GameButton6': LogicalKeyboardKey.gameButton6,
  'GameButton7': LogicalKeyboardKey.gameButton7,
  'GameButton8': LogicalKeyboardKey.gameButton8,
  'GameButton9': LogicalKeyboardKey.gameButton9,
  'GameButton10': LogicalKeyboardKey.gameButton10,
  'GameButton11': LogicalKeyboardKey.gameButton11,
  'GameButton12': LogicalKeyboardKey.gameButton12,
  'GameButton13': LogicalKeyboardKey.gameButton13,
  'GameButton14': LogicalKeyboardKey.gameButton14,
  'GameButton15': LogicalKeyboardKey.gameButton15,
  'GameButton16': LogicalKeyboardKey.gameButton16,
  'GameButtonA': LogicalKeyboardKey.gameButtonA,
  'GameButtonB': LogicalKeyboardKey.gameButtonB,
  'GameButtonC': LogicalKeyboardKey.gameButtonC,
  'GameButtonLeft1': LogicalKeyboardKey.gameButtonLeft1,
  'GameButtonLeft2': LogicalKeyboardKey.gameButtonLeft2,
  'GameButtonMode': LogicalKeyboardKey.gameButtonMode,
  'GameButtonRight1': LogicalKeyboardKey.gameButtonRight1,
  'GameButtonRight2': LogicalKeyboardKey.gameButtonRight2,
  'GameButtonSelect': LogicalKeyboardKey.gameButtonSelect,
  'GameButtonStart': LogicalKeyboardKey.gameButtonStart,
  'GameButtonThumbLeft': LogicalKeyboardKey.gameButtonThumbLeft,
  'GameButtonThumbRight': LogicalKeyboardKey.gameButtonThumbRight,
  'GameButtonX': LogicalKeyboardKey.gameButtonX,
  'GameButtonY': LogicalKeyboardKey.gameButtonY,
  'GameButtonZ': LogicalKeyboardKey.gameButtonZ,
  'Fn': LogicalKeyboardKey.fn,
}