kFuchsiaToLogicalKey top-level constant
Maps Fuchsia-specific IDs to the matching LogicalKeyboardKey
.
Implementation
const Map<int, LogicalKeyboardKey> kFuchsiaToLogicalKey = <int, LogicalKeyboardKey>{
0x1200000010: LogicalKeyboardKey.hyper,
0x1200000011: LogicalKeyboardKey.superKey,
0x1200000012: LogicalKeyboardKey.fn,
0x1200000013: LogicalKeyboardKey.fnLock,
0x1200000014: LogicalKeyboardKey.suspend,
0x1200000015: LogicalKeyboardKey.resume,
0x1200010082: LogicalKeyboardKey.sleep,
0x1200010083: LogicalKeyboardKey.wakeUp,
0x120005ff01: LogicalKeyboardKey.gameButton1,
0x120005ff02: LogicalKeyboardKey.gameButton2,
0x120005ff03: LogicalKeyboardKey.gameButton3,
0x120005ff04: LogicalKeyboardKey.gameButton4,
0x120005ff05: LogicalKeyboardKey.gameButton5,
0x120005ff06: LogicalKeyboardKey.gameButton6,
0x120005ff07: LogicalKeyboardKey.gameButton7,
0x120005ff08: LogicalKeyboardKey.gameButton8,
0x120005ff09: LogicalKeyboardKey.gameButton9,
0x120005ff0a: LogicalKeyboardKey.gameButton10,
0x120005ff0b: LogicalKeyboardKey.gameButton11,
0x120005ff0c: LogicalKeyboardKey.gameButton12,
0x120005ff0d: LogicalKeyboardKey.gameButton13,
0x120005ff0e: LogicalKeyboardKey.gameButton14,
0x120005ff0f: LogicalKeyboardKey.gameButton15,
0x120005ff10: LogicalKeyboardKey.gameButton16,
0x120005ff11: LogicalKeyboardKey.gameButtonA,
0x120005ff12: LogicalKeyboardKey.gameButtonB,
0x120005ff13: LogicalKeyboardKey.gameButtonC,
0x120005ff14: LogicalKeyboardKey.gameButtonLeft1,
0x120005ff15: LogicalKeyboardKey.gameButtonLeft2,
0x120005ff16: LogicalKeyboardKey.gameButtonMode,
0x120005ff17: LogicalKeyboardKey.gameButtonRight1,
0x120005ff18: LogicalKeyboardKey.gameButtonRight2,
0x120005ff19: LogicalKeyboardKey.gameButtonSelect,
0x120005ff1a: LogicalKeyboardKey.gameButtonStart,
0x120005ff1b: LogicalKeyboardKey.gameButtonThumbLeft,
0x120005ff1c: LogicalKeyboardKey.gameButtonThumbRight,
0x120005ff1d: LogicalKeyboardKey.gameButtonX,
0x120005ff1e: LogicalKeyboardKey.gameButtonY,
0x120005ff1f: LogicalKeyboardKey.gameButtonZ,
0x1200070004: LogicalKeyboardKey.keyA,
0x1200070005: LogicalKeyboardKey.keyB,
0x1200070006: LogicalKeyboardKey.keyC,
0x1200070007: LogicalKeyboardKey.keyD,
0x1200070008: LogicalKeyboardKey.keyE,
0x1200070009: LogicalKeyboardKey.keyF,
0x120007000a: LogicalKeyboardKey.keyG,
0x120007000b: LogicalKeyboardKey.keyH,
0x120007000c: LogicalKeyboardKey.keyI,
0x120007000d: LogicalKeyboardKey.keyJ,
0x120007000e: LogicalKeyboardKey.keyK,
0x120007000f: LogicalKeyboardKey.keyL,
0x1200070010: LogicalKeyboardKey.keyM,
0x1200070011: LogicalKeyboardKey.keyN,
0x1200070012: LogicalKeyboardKey.keyO,
0x1200070013: LogicalKeyboardKey.keyP,
0x1200070014: LogicalKeyboardKey.keyQ,
0x1200070015: LogicalKeyboardKey.keyR,
0x1200070016: LogicalKeyboardKey.keyS,
0x1200070017: LogicalKeyboardKey.keyT,
0x1200070018: LogicalKeyboardKey.keyU,
0x1200070019: LogicalKeyboardKey.keyV,
0x120007001a: LogicalKeyboardKey.keyW,
0x120007001b: LogicalKeyboardKey.keyX,
0x120007001c: LogicalKeyboardKey.keyY,
0x120007001d: LogicalKeyboardKey.keyZ,
0x120007001e: LogicalKeyboardKey.digit1,
0x120007001f: LogicalKeyboardKey.digit2,
0x1200070020: LogicalKeyboardKey.digit3,
0x1200070021: LogicalKeyboardKey.digit4,
0x1200070022: LogicalKeyboardKey.digit5,
0x1200070023: LogicalKeyboardKey.digit6,
0x1200070024: LogicalKeyboardKey.digit7,
0x1200070025: LogicalKeyboardKey.digit8,
0x1200070026: LogicalKeyboardKey.digit9,
0x1200070027: LogicalKeyboardKey.digit0,
0x1200070028: LogicalKeyboardKey.enter,
0x1200070029: LogicalKeyboardKey.escape,
0x120007002a: LogicalKeyboardKey.backspace,
0x120007002b: LogicalKeyboardKey.tab,
0x120007002c: LogicalKeyboardKey.space,
0x120007002d: LogicalKeyboardKey.minus,
0x120007002e: LogicalKeyboardKey.equal,
0x120007002f: LogicalKeyboardKey.bracketLeft,
0x1200070030: LogicalKeyboardKey.bracketRight,
0x1200070031: LogicalKeyboardKey.backslash,
0x1200070033: LogicalKeyboardKey.semicolon,
0x1200070034: LogicalKeyboardKey.quote,
0x1200070035: LogicalKeyboardKey.backquote,
0x1200070036: LogicalKeyboardKey.comma,
0x1200070037: LogicalKeyboardKey.period,
0x1200070038: LogicalKeyboardKey.slash,
0x1200070039: LogicalKeyboardKey.capsLock,
0x120007003a: LogicalKeyboardKey.f1,
0x120007003b: LogicalKeyboardKey.f2,
0x120007003c: LogicalKeyboardKey.f3,
0x120007003d: LogicalKeyboardKey.f4,
0x120007003e: LogicalKeyboardKey.f5,
0x120007003f: LogicalKeyboardKey.f6,
0x1200070040: LogicalKeyboardKey.f7,
0x1200070041: LogicalKeyboardKey.f8,
0x1200070042: LogicalKeyboardKey.f9,
0x1200070043: LogicalKeyboardKey.f10,
0x1200070044: LogicalKeyboardKey.f11,
0x1200070045: LogicalKeyboardKey.f12,
0x1200070046: LogicalKeyboardKey.printScreen,
0x1200070047: LogicalKeyboardKey.scrollLock,
0x1200070048: LogicalKeyboardKey.pause,
0x1200070049: LogicalKeyboardKey.insert,
0x120007004a: LogicalKeyboardKey.home,
0x120007004b: LogicalKeyboardKey.pageUp,
0x120007004c: LogicalKeyboardKey.delete,
0x120007004d: LogicalKeyboardKey.end,
0x120007004e: LogicalKeyboardKey.pageDown,
0x120007004f: LogicalKeyboardKey.arrowRight,
0x1200070050: LogicalKeyboardKey.arrowLeft,
0x1200070051: LogicalKeyboardKey.arrowDown,
0x1200070052: LogicalKeyboardKey.arrowUp,
0x1200070053: LogicalKeyboardKey.numLock,
0x1200070054: LogicalKeyboardKey.numpadDivide,
0x1200070055: LogicalKeyboardKey.numpadMultiply,
0x1200070056: LogicalKeyboardKey.numpadSubtract,
0x1200070057: LogicalKeyboardKey.numpadAdd,
0x1200070058: LogicalKeyboardKey.numpadEnter,
0x1200070059: LogicalKeyboardKey.numpad1,
0x120007005a: LogicalKeyboardKey.numpad2,
0x120007005b: LogicalKeyboardKey.numpad3,
0x120007005c: LogicalKeyboardKey.numpad4,
0x120007005d: LogicalKeyboardKey.numpad5,
0x120007005e: LogicalKeyboardKey.numpad6,
0x120007005f: LogicalKeyboardKey.numpad7,
0x1200070060: LogicalKeyboardKey.numpad8,
0x1200070061: LogicalKeyboardKey.numpad9,
0x1200070062: LogicalKeyboardKey.numpad0,
0x1200070063: LogicalKeyboardKey.numpadDecimal,
0x1200070064: LogicalKeyboardKey.intlBackslash,
0x1200070065: LogicalKeyboardKey.contextMenu,
0x1200070066: LogicalKeyboardKey.power,
0x1200070067: LogicalKeyboardKey.numpadEqual,
0x1200070068: LogicalKeyboardKey.f13,
0x1200070069: LogicalKeyboardKey.f14,
0x120007006a: LogicalKeyboardKey.f15,
0x120007006b: LogicalKeyboardKey.f16,
0x120007006c: LogicalKeyboardKey.f17,
0x120007006d: LogicalKeyboardKey.f18,
0x120007006e: LogicalKeyboardKey.f19,
0x120007006f: LogicalKeyboardKey.f20,
0x1200070070: LogicalKeyboardKey.f21,
0x1200070071: LogicalKeyboardKey.f22,
0x1200070072: LogicalKeyboardKey.f23,
0x1200070073: LogicalKeyboardKey.f24,
0x1200070074: LogicalKeyboardKey.open,
0x1200070075: LogicalKeyboardKey.help,
0x1200070077: LogicalKeyboardKey.select,
0x1200070079: LogicalKeyboardKey.again,
0x120007007a: LogicalKeyboardKey.undo,
0x120007007b: LogicalKeyboardKey.cut,
0x120007007c: LogicalKeyboardKey.copy,
0x120007007d: LogicalKeyboardKey.paste,
0x120007007e: LogicalKeyboardKey.find,
0x120007007f: LogicalKeyboardKey.audioVolumeMute,
0x1200070080: LogicalKeyboardKey.audioVolumeUp,
0x1200070081: LogicalKeyboardKey.audioVolumeDown,
0x1200070085: LogicalKeyboardKey.numpadComma,
0x1200070087: LogicalKeyboardKey.intlRo,
0x1200070088: LogicalKeyboardKey.kanaMode,
0x1200070089: LogicalKeyboardKey.intlYen,
0x120007008a: LogicalKeyboardKey.convert,
0x120007008b: LogicalKeyboardKey.nonConvert,
0x1200070090: LogicalKeyboardKey.lang1,
0x1200070091: LogicalKeyboardKey.lang2,
0x1200070092: LogicalKeyboardKey.lang3,
0x1200070093: LogicalKeyboardKey.lang4,
0x1200070094: LogicalKeyboardKey.lang5,
0x120007009b: LogicalKeyboardKey.abort,
0x12000700a3: LogicalKeyboardKey.props,
0x12000700b6: LogicalKeyboardKey.numpadParenLeft,
0x12000700b7: LogicalKeyboardKey.numpadParenRight,
0x12000700e0: LogicalKeyboardKey.controlLeft,
0x12000700e1: LogicalKeyboardKey.shiftLeft,
0x12000700e2: LogicalKeyboardKey.altLeft,
0x12000700e3: LogicalKeyboardKey.metaLeft,
0x12000700e4: LogicalKeyboardKey.controlRight,
0x12000700e5: LogicalKeyboardKey.shiftRight,
0x12000700e6: LogicalKeyboardKey.altRight,
0x12000700e7: LogicalKeyboardKey.metaRight,
0x12000c0060: LogicalKeyboardKey.info,
0x12000c0061: LogicalKeyboardKey.closedCaptionToggle,
0x12000c006f: LogicalKeyboardKey.brightnessUp,
0x12000c0070: LogicalKeyboardKey.brightnessDown,
0x12000c0083: LogicalKeyboardKey.mediaLast,
0x12000c008c: LogicalKeyboardKey.launchPhone,
0x12000c0094: LogicalKeyboardKey.exit,
0x12000c009c: LogicalKeyboardKey.channelUp,
0x12000c009d: LogicalKeyboardKey.channelDown,
0x12000c00b0: LogicalKeyboardKey.mediaPlay,
0x12000c00b1: LogicalKeyboardKey.mediaPause,
0x12000c00b2: LogicalKeyboardKey.mediaRecord,
0x12000c00b3: LogicalKeyboardKey.mediaFastForward,
0x12000c00b4: LogicalKeyboardKey.mediaRewind,
0x12000c00b5: LogicalKeyboardKey.mediaTrackNext,
0x12000c00b6: LogicalKeyboardKey.mediaTrackPrevious,
0x12000c00b7: LogicalKeyboardKey.mediaStop,
0x12000c00b8: LogicalKeyboardKey.eject,
0x12000c00cd: LogicalKeyboardKey.mediaPlayPause,
0x12000c00cf: LogicalKeyboardKey.speechInputToggle,
0x12000c0184: LogicalKeyboardKey.launchWordProcessor,
0x12000c0186: LogicalKeyboardKey.launchSpreadsheet,
0x12000c018a: LogicalKeyboardKey.launchMail,
0x12000c018d: LogicalKeyboardKey.launchContacts,
0x12000c018e: LogicalKeyboardKey.launchCalendar,
0x12000c019c: LogicalKeyboardKey.logOff,
0x12000c019f: LogicalKeyboardKey.launchControlPanel,
0x12000c01ab: LogicalKeyboardKey.spellCheck,
0x12000c01b1: LogicalKeyboardKey.launchScreenSaver,
0x12000c01cb: LogicalKeyboardKey.launchAssistant,
0x12000c0201: LogicalKeyboardKey.newKey,
0x12000c0203: LogicalKeyboardKey.close,
0x12000c0207: LogicalKeyboardKey.save,
0x12000c0208: LogicalKeyboardKey.print,
0x12000c0221: LogicalKeyboardKey.browserSearch,
0x12000c0223: LogicalKeyboardKey.browserHome,
0x12000c0224: LogicalKeyboardKey.browserBack,
0x12000c0225: LogicalKeyboardKey.browserForward,
0x12000c0226: LogicalKeyboardKey.browserStop,
0x12000c0227: LogicalKeyboardKey.browserRefresh,
0x12000c022a: LogicalKeyboardKey.browserFavorites,
0x12000c022d: LogicalKeyboardKey.zoomIn,
0x12000c022e: LogicalKeyboardKey.zoomOut,
0x12000c0232: LogicalKeyboardKey.zoomToggle,
0x12000c0279: LogicalKeyboardKey.redo,
0x12000c0289: LogicalKeyboardKey.mailReply,
0x12000c028b: LogicalKeyboardKey.mailForward,
0x12000c028c: LogicalKeyboardKey.mailSend,
};