kLinuxToPhysicalKey top-level constant
Maps XKB specific key code values representing PhysicalKeyboardKey.
Implementation
const Map<int, PhysicalKeyboardKey> kLinuxToPhysicalKey = <int, PhysicalKeyboardKey>{
0x00000009: PhysicalKeyboardKey.escape,
0x0000000a: PhysicalKeyboardKey.digit1,
0x0000000b: PhysicalKeyboardKey.digit2,
0x0000000c: PhysicalKeyboardKey.digit3,
0x0000000d: PhysicalKeyboardKey.digit4,
0x0000000e: PhysicalKeyboardKey.digit5,
0x0000000f: PhysicalKeyboardKey.digit6,
0x00000010: PhysicalKeyboardKey.digit7,
0x00000011: PhysicalKeyboardKey.digit8,
0x00000012: PhysicalKeyboardKey.digit9,
0x00000013: PhysicalKeyboardKey.digit0,
0x00000014: PhysicalKeyboardKey.minus,
0x00000015: PhysicalKeyboardKey.equal,
0x00000016: PhysicalKeyboardKey.backspace,
0x00000017: PhysicalKeyboardKey.tab,
0x00000018: PhysicalKeyboardKey.keyQ,
0x00000019: PhysicalKeyboardKey.keyW,
0x0000001a: PhysicalKeyboardKey.keyE,
0x0000001b: PhysicalKeyboardKey.keyR,
0x0000001c: PhysicalKeyboardKey.keyT,
0x0000001d: PhysicalKeyboardKey.keyY,
0x0000001e: PhysicalKeyboardKey.keyU,
0x0000001f: PhysicalKeyboardKey.keyI,
0x00000020: PhysicalKeyboardKey.keyO,
0x00000021: PhysicalKeyboardKey.keyP,
0x00000022: PhysicalKeyboardKey.bracketLeft,
0x00000023: PhysicalKeyboardKey.bracketRight,
0x00000024: PhysicalKeyboardKey.enter,
0x00000025: PhysicalKeyboardKey.controlLeft,
0x00000026: PhysicalKeyboardKey.keyA,
0x00000027: PhysicalKeyboardKey.keyS,
0x00000028: PhysicalKeyboardKey.keyD,
0x00000029: PhysicalKeyboardKey.keyF,
0x0000002a: PhysicalKeyboardKey.keyG,
0x0000002b: PhysicalKeyboardKey.keyH,
0x0000002c: PhysicalKeyboardKey.keyJ,
0x0000002d: PhysicalKeyboardKey.keyK,
0x0000002e: PhysicalKeyboardKey.keyL,
0x0000002f: PhysicalKeyboardKey.semicolon,
0x00000030: PhysicalKeyboardKey.quote,
0x00000031: PhysicalKeyboardKey.backquote,
0x00000032: PhysicalKeyboardKey.shiftLeft,
0x00000033: PhysicalKeyboardKey.backslash,
0x00000034: PhysicalKeyboardKey.keyZ,
0x00000035: PhysicalKeyboardKey.keyX,
0x00000036: PhysicalKeyboardKey.keyC,
0x00000037: PhysicalKeyboardKey.keyV,
0x00000038: PhysicalKeyboardKey.keyB,
0x00000039: PhysicalKeyboardKey.keyN,
0x0000003a: PhysicalKeyboardKey.keyM,
0x0000003b: PhysicalKeyboardKey.comma,
0x0000003c: PhysicalKeyboardKey.period,
0x0000003d: PhysicalKeyboardKey.slash,
0x0000003e: PhysicalKeyboardKey.shiftRight,
0x0000003f: PhysicalKeyboardKey.numpadMultiply,
0x00000040: PhysicalKeyboardKey.altLeft,
0x00000041: PhysicalKeyboardKey.space,
0x00000042: PhysicalKeyboardKey.capsLock,
0x00000043: PhysicalKeyboardKey.f1,
0x00000044: PhysicalKeyboardKey.f2,
0x00000045: PhysicalKeyboardKey.f3,
0x00000046: PhysicalKeyboardKey.f4,
0x00000047: PhysicalKeyboardKey.f5,
0x00000048: PhysicalKeyboardKey.f6,
0x00000049: PhysicalKeyboardKey.f7,
0x0000004a: PhysicalKeyboardKey.f8,
0x0000004b: PhysicalKeyboardKey.f9,
0x0000004c: PhysicalKeyboardKey.f10,
0x0000004d: PhysicalKeyboardKey.numLock,
0x0000004e: PhysicalKeyboardKey.scrollLock,
0x0000004f: PhysicalKeyboardKey.numpad7,
0x00000050: PhysicalKeyboardKey.numpad8,
0x00000051: PhysicalKeyboardKey.numpad9,
0x00000052: PhysicalKeyboardKey.numpadSubtract,
0x00000053: PhysicalKeyboardKey.numpad4,
0x00000054: PhysicalKeyboardKey.numpad5,
0x00000055: PhysicalKeyboardKey.numpad6,
0x00000056: PhysicalKeyboardKey.numpadAdd,
0x00000057: PhysicalKeyboardKey.numpad1,
0x00000058: PhysicalKeyboardKey.numpad2,
0x00000059: PhysicalKeyboardKey.numpad3,
0x0000005a: PhysicalKeyboardKey.numpad0,
0x0000005b: PhysicalKeyboardKey.numpadDecimal,
0x0000005d: PhysicalKeyboardKey.lang5,
0x0000005e: PhysicalKeyboardKey.intlBackslash,
0x0000005f: PhysicalKeyboardKey.f11,
0x00000060: PhysicalKeyboardKey.f12,
0x00000061: PhysicalKeyboardKey.intlRo,
0x00000062: PhysicalKeyboardKey.lang3,
0x00000063: PhysicalKeyboardKey.lang4,
0x00000064: PhysicalKeyboardKey.convert,
0x00000065: PhysicalKeyboardKey.kanaMode,
0x00000066: PhysicalKeyboardKey.nonConvert,
0x00000068: PhysicalKeyboardKey.numpadEnter,
0x00000069: PhysicalKeyboardKey.controlRight,
0x0000006a: PhysicalKeyboardKey.numpadDivide,
0x0000006b: PhysicalKeyboardKey.printScreen,
0x0000006c: PhysicalKeyboardKey.altRight,
0x0000006e: PhysicalKeyboardKey.home,
0x0000006f: PhysicalKeyboardKey.arrowUp,
0x00000070: PhysicalKeyboardKey.pageUp,
0x00000071: PhysicalKeyboardKey.arrowLeft,
0x00000072: PhysicalKeyboardKey.arrowRight,
0x00000073: PhysicalKeyboardKey.end,
0x00000074: PhysicalKeyboardKey.arrowDown,
0x00000075: PhysicalKeyboardKey.pageDown,
0x00000076: PhysicalKeyboardKey.insert,
0x00000077: PhysicalKeyboardKey.delete,
0x00000079: PhysicalKeyboardKey.audioVolumeMute,
0x0000007a: PhysicalKeyboardKey.audioVolumeDown,
0x0000007b: PhysicalKeyboardKey.audioVolumeUp,
0x0000007c: PhysicalKeyboardKey.power,
0x0000007d: PhysicalKeyboardKey.numpadEqual,
0x0000007e: PhysicalKeyboardKey.numpadSignChange,
0x0000007f: PhysicalKeyboardKey.pause,
0x00000080: PhysicalKeyboardKey.showAllWindows,
0x00000081: PhysicalKeyboardKey.numpadComma,
0x00000082: PhysicalKeyboardKey.lang1,
0x00000083: PhysicalKeyboardKey.lang2,
0x00000084: PhysicalKeyboardKey.intlYen,
0x00000085: PhysicalKeyboardKey.metaLeft,
0x00000086: PhysicalKeyboardKey.metaRight,
0x00000087: PhysicalKeyboardKey.contextMenu,
0x00000088: PhysicalKeyboardKey.browserStop,
0x00000089: PhysicalKeyboardKey.again,
0x0000008b: PhysicalKeyboardKey.undo,
0x0000008c: PhysicalKeyboardKey.select,
0x0000008d: PhysicalKeyboardKey.copy,
0x0000008e: PhysicalKeyboardKey.open,
0x0000008f: PhysicalKeyboardKey.paste,
0x00000090: PhysicalKeyboardKey.find,
0x00000091: PhysicalKeyboardKey.cut,
0x00000092: PhysicalKeyboardKey.help,
0x00000094: PhysicalKeyboardKey.launchApp2,
0x00000096: PhysicalKeyboardKey.sleep,
0x00000097: PhysicalKeyboardKey.wakeUp,
0x00000098: PhysicalKeyboardKey.launchApp1,
0x0000009e: PhysicalKeyboardKey.launchInternetBrowser,
0x000000a0: PhysicalKeyboardKey.lockScreen,
0x000000a3: PhysicalKeyboardKey.launchMail,
0x000000a4: PhysicalKeyboardKey.browserFavorites,
0x000000a6: PhysicalKeyboardKey.browserBack,
0x000000a7: PhysicalKeyboardKey.browserForward,
0x000000a9: PhysicalKeyboardKey.eject,
0x000000ab: PhysicalKeyboardKey.mediaTrackNext,
0x000000ac: PhysicalKeyboardKey.mediaPlayPause,
0x000000ad: PhysicalKeyboardKey.mediaTrackPrevious,
0x000000ae: PhysicalKeyboardKey.mediaStop,
0x000000af: PhysicalKeyboardKey.mediaRecord,
0x000000b0: PhysicalKeyboardKey.mediaRewind,
0x000000b1: PhysicalKeyboardKey.launchPhone,
0x000000b3: PhysicalKeyboardKey.mediaSelect,
0x000000b4: PhysicalKeyboardKey.browserHome,
0x000000b5: PhysicalKeyboardKey.browserRefresh,
0x000000b6: PhysicalKeyboardKey.exit,
0x000000bb: PhysicalKeyboardKey.numpadParenLeft,
0x000000bc: PhysicalKeyboardKey.numpadParenRight,
0x000000bd: PhysicalKeyboardKey.newKey,
0x000000be: PhysicalKeyboardKey.redo,
0x000000bf: PhysicalKeyboardKey.f13,
0x000000c0: PhysicalKeyboardKey.f14,
0x000000c1: PhysicalKeyboardKey.f15,
0x000000c2: PhysicalKeyboardKey.f16,
0x000000c3: PhysicalKeyboardKey.f17,
0x000000c4: PhysicalKeyboardKey.f18,
0x000000c5: PhysicalKeyboardKey.f19,
0x000000c6: PhysicalKeyboardKey.f20,
0x000000c7: PhysicalKeyboardKey.f21,
0x000000c8: PhysicalKeyboardKey.f22,
0x000000c9: PhysicalKeyboardKey.f23,
0x000000ca: PhysicalKeyboardKey.f24,
0x000000d1: PhysicalKeyboardKey.mediaPause,
0x000000d6: PhysicalKeyboardKey.close,
0x000000d7: PhysicalKeyboardKey.mediaPlay,
0x000000d8: PhysicalKeyboardKey.mediaFastForward,
0x000000d9: PhysicalKeyboardKey.bassBoost,
0x000000da: PhysicalKeyboardKey.print,
0x000000e1: PhysicalKeyboardKey.browserSearch,
0x000000e8: PhysicalKeyboardKey.brightnessDown,
0x000000e9: PhysicalKeyboardKey.brightnessUp,
0x000000eb: PhysicalKeyboardKey.displayToggleIntExt,
0x000000ed: PhysicalKeyboardKey.kbdIllumDown,
0x000000ee: PhysicalKeyboardKey.kbdIllumUp,
0x000000ef: PhysicalKeyboardKey.mailSend,
0x000000f0: PhysicalKeyboardKey.mailReply,
0x000000f1: PhysicalKeyboardKey.mailForward,
0x000000f2: PhysicalKeyboardKey.save,
0x000000f3: PhysicalKeyboardKey.launchDocuments,
0x000000fc: PhysicalKeyboardKey.brightnessAuto,
0x00000100: PhysicalKeyboardKey.microphoneMuteToggle,
0x0000016e: PhysicalKeyboardKey.info,
0x00000172: PhysicalKeyboardKey.programGuide,
0x0000017a: PhysicalKeyboardKey.closedCaptionToggle,
0x0000017c: PhysicalKeyboardKey.zoomToggle,
0x0000017e: PhysicalKeyboardKey.launchKeyboardLayout,
0x00000190: PhysicalKeyboardKey.launchAudioBrowser,
0x00000195: PhysicalKeyboardKey.launchCalendar,
0x0000019d: PhysicalKeyboardKey.mediaLast,
0x000001a2: PhysicalKeyboardKey.channelUp,
0x000001a3: PhysicalKeyboardKey.channelDown,
0x000001aa: PhysicalKeyboardKey.zoomIn,
0x000001ab: PhysicalKeyboardKey.zoomOut,
0x000001ad: PhysicalKeyboardKey.launchWordProcessor,
0x000001af: PhysicalKeyboardKey.launchSpreadsheet,
0x000001b5: PhysicalKeyboardKey.launchContacts,
0x000001b7: PhysicalKeyboardKey.brightnessToggle,
0x000001b8: PhysicalKeyboardKey.spellCheck,
0x000001b9: PhysicalKeyboardKey.logOff,
0x0000024b: PhysicalKeyboardKey.launchControlPanel,
0x0000024c: PhysicalKeyboardKey.selectTask,
0x0000024d: PhysicalKeyboardKey.launchScreenSaver,
0x0000024e: PhysicalKeyboardKey.speechInputToggle,
0x0000024f: PhysicalKeyboardKey.launchAssistant,
0x00000250: PhysicalKeyboardKey.keyboardLayoutSelect,
0x00000258: PhysicalKeyboardKey.brightnessMinimum,
0x00000259: PhysicalKeyboardKey.brightnessMaximum,
0x00000281: PhysicalKeyboardKey.privacyScreenToggle,
};