kGtkToLogicalKey top-level constant Null safety

Map<int, LogicalKeyboardKey> const kGtkToLogicalKey

Maps GTK-specific key codes to the matching LogicalKeyboardKey.

Implementation

const Map<int, LogicalKeyboardKey> kGtkToLogicalKey = <int, LogicalKeyboardKey>{
  165: LogicalKeyboardKey.intlYen,
  64774: LogicalKeyboardKey.eraseEof,
  64782: LogicalKeyboardKey.attn,
  64789: LogicalKeyboardKey.copy,
  64790: LogicalKeyboardKey.mediaPlay,
  64795: LogicalKeyboardKey.exSel,
  64797: LogicalKeyboardKey.printScreen,
  64798: LogicalKeyboardKey.enter,
  65027: LogicalKeyboardKey.altRight,
  65032: LogicalKeyboardKey.groupNext,
  65034: LogicalKeyboardKey.groupPrevious,
  65036: LogicalKeyboardKey.groupFirst,
  65038: LogicalKeyboardKey.groupLast,
  65056: LogicalKeyboardKey.tab,
  65076: LogicalKeyboardKey.enter,
  65288: LogicalKeyboardKey.backspace,
  65289: LogicalKeyboardKey.tab,
  65291: LogicalKeyboardKey.clear,
  65293: LogicalKeyboardKey.enter,
  65299: LogicalKeyboardKey.pause,
  65300: LogicalKeyboardKey.scrollLock,
  65307: LogicalKeyboardKey.escape,
  65313: LogicalKeyboardKey.kanjiMode,
  65316: LogicalKeyboardKey.romaji,
  65317: LogicalKeyboardKey.hiragana,
  65318: LogicalKeyboardKey.katakana,
  65319: LogicalKeyboardKey.hiraganaKatakana,
  65320: LogicalKeyboardKey.zenkaku,
  65321: LogicalKeyboardKey.hankaku,
  65322: LogicalKeyboardKey.zenkakuHankaku,
  65327: LogicalKeyboardKey.eisu,
  65329: LogicalKeyboardKey.hangulMode,
  65332: LogicalKeyboardKey.hanjaMode,
  65335: LogicalKeyboardKey.codeInput,
  65340: LogicalKeyboardKey.singleCandidate,
  65342: LogicalKeyboardKey.previousCandidate,
  65360: LogicalKeyboardKey.home,
  65361: LogicalKeyboardKey.arrowLeft,
  65362: LogicalKeyboardKey.arrowUp,
  65363: LogicalKeyboardKey.arrowRight,
  65364: LogicalKeyboardKey.arrowDown,
  65365: LogicalKeyboardKey.pageUp,
  65366: LogicalKeyboardKey.pageDown,
  65367: LogicalKeyboardKey.end,
  65376: LogicalKeyboardKey.select,
  65377: LogicalKeyboardKey.print,
  65378: LogicalKeyboardKey.execute,
  65379: LogicalKeyboardKey.insert,
  65381: LogicalKeyboardKey.undo,
  65382: LogicalKeyboardKey.redo,
  65383: LogicalKeyboardKey.contextMenu,
  65384: LogicalKeyboardKey.find,
  65385: LogicalKeyboardKey.cancel,
  65386: LogicalKeyboardKey.help,
  65406: LogicalKeyboardKey.modeChange,
  65407: LogicalKeyboardKey.numLock,
  65408: LogicalKeyboardKey.space,
  65417: LogicalKeyboardKey.tab,
  65421: LogicalKeyboardKey.numpadEnter,
  65425: LogicalKeyboardKey.f1,
  65426: LogicalKeyboardKey.f2,
  65427: LogicalKeyboardKey.f3,
  65428: LogicalKeyboardKey.f4,
  65429: LogicalKeyboardKey.numpad7,
  65430: LogicalKeyboardKey.numpad4,
  65431: LogicalKeyboardKey.numpad8,
  65432: LogicalKeyboardKey.numpad6,
  65433: LogicalKeyboardKey.numpad2,
  65434: LogicalKeyboardKey.numpad9,
  65435: LogicalKeyboardKey.numpad3,
  65436: LogicalKeyboardKey.numpad1,
  65438: LogicalKeyboardKey.numpad0,
  65439: LogicalKeyboardKey.numpadDecimal,
  65450: LogicalKeyboardKey.numpadMultiply,
  65451: LogicalKeyboardKey.numpadAdd,
  65453: LogicalKeyboardKey.numpadSubtract,
  65454: LogicalKeyboardKey.period,
  65455: LogicalKeyboardKey.numpadDivide,
  65456: LogicalKeyboardKey.numpad0,
  65457: LogicalKeyboardKey.numpad1,
  65458: LogicalKeyboardKey.numpad2,
  65459: LogicalKeyboardKey.numpad3,
  65460: LogicalKeyboardKey.numpad4,
  65461: LogicalKeyboardKey.numpad5,
  65462: LogicalKeyboardKey.numpad6,
  65463: LogicalKeyboardKey.numpad7,
  65464: LogicalKeyboardKey.numpad8,
  65465: LogicalKeyboardKey.numpad9,
  65469: LogicalKeyboardKey.numpadEqual,
  65470: LogicalKeyboardKey.f1,
  65471: LogicalKeyboardKey.f2,
  65472: LogicalKeyboardKey.f3,
  65473: LogicalKeyboardKey.f4,
  65474: LogicalKeyboardKey.f5,
  65475: LogicalKeyboardKey.f6,
  65476: LogicalKeyboardKey.f7,
  65477: LogicalKeyboardKey.f8,
  65478: LogicalKeyboardKey.f9,
  65479: LogicalKeyboardKey.f10,
  65480: LogicalKeyboardKey.f11,
  65481: LogicalKeyboardKey.f12,
  65482: LogicalKeyboardKey.f13,
  65483: LogicalKeyboardKey.f14,
  65484: LogicalKeyboardKey.f15,
  65485: LogicalKeyboardKey.f16,
  65486: LogicalKeyboardKey.f17,
  65487: LogicalKeyboardKey.f18,
  65488: LogicalKeyboardKey.f19,
  65489: LogicalKeyboardKey.f20,
  65490: LogicalKeyboardKey.f21,
  65491: LogicalKeyboardKey.f22,
  65492: LogicalKeyboardKey.f23,
  65493: LogicalKeyboardKey.f24,
  65505: LogicalKeyboardKey.shiftLeft,
  65506: LogicalKeyboardKey.shiftRight,
  65507: LogicalKeyboardKey.controlLeft,
  65508: LogicalKeyboardKey.controlRight,
  65509: LogicalKeyboardKey.capsLock,
  65511: LogicalKeyboardKey.metaLeft,
  65512: LogicalKeyboardKey.metaRight,
  65513: LogicalKeyboardKey.altLeft,
  65514: LogicalKeyboardKey.altRight,
  65515: LogicalKeyboardKey.superKey,
  65516: LogicalKeyboardKey.superKey,
  65517: LogicalKeyboardKey.hyper,
  65518: LogicalKeyboardKey.hyper,
  65535: LogicalKeyboardKey.delete,
  269025026: LogicalKeyboardKey.brightnessUp,
  269025027: LogicalKeyboardKey.brightnessDown,
  269025040: LogicalKeyboardKey.standby,
  269025041: LogicalKeyboardKey.audioVolumeDown,
  269025042: LogicalKeyboardKey.audioVolumeMute,
  269025043: LogicalKeyboardKey.audioVolumeUp,
  269025044: LogicalKeyboardKey.mediaPlay,
  269025045: LogicalKeyboardKey.mediaStop,
  269025046: LogicalKeyboardKey.mediaTrackPrevious,
  269025047: LogicalKeyboardKey.mediaTrackNext,
  269025048: LogicalKeyboardKey.browserHome,
  269025049: LogicalKeyboardKey.launchMail,
  269025051: LogicalKeyboardKey.browserSearch,
  269025052: LogicalKeyboardKey.mediaRecord,
  269025056: LogicalKeyboardKey.launchCalendar,
  269025062: LogicalKeyboardKey.browserBack,
  269025063: LogicalKeyboardKey.browserForward,
  269025064: LogicalKeyboardKey.browserStop,
  269025065: LogicalKeyboardKey.browserRefresh,
  269025066: LogicalKeyboardKey.powerOff,
  269025067: LogicalKeyboardKey.wakeUp,
  269025068: LogicalKeyboardKey.eject,
  269025069: LogicalKeyboardKey.launchScreenSaver,
  269025071: LogicalKeyboardKey.sleep,
  269025072: LogicalKeyboardKey.browserFavorites,
  269025073: LogicalKeyboardKey.mediaPause,
  269025086: LogicalKeyboardKey.mediaRewind,
  269025110: LogicalKeyboardKey.close,
  269025111: LogicalKeyboardKey.copy,
  269025112: LogicalKeyboardKey.cut,
  269025121: LogicalKeyboardKey.logOff,
  269025128: LogicalKeyboardKey.newKey,
  269025131: LogicalKeyboardKey.open,
  269025133: LogicalKeyboardKey.paste,
  269025134: LogicalKeyboardKey.launchPhone,
  269025138: LogicalKeyboardKey.mailReply,
  269025143: LogicalKeyboardKey.save,
  269025147: LogicalKeyboardKey.mailSend,
  269025148: LogicalKeyboardKey.spellCheck,
  269025163: LogicalKeyboardKey.zoomIn,
  269025164: LogicalKeyboardKey.zoomOut,
  269025168: LogicalKeyboardKey.mailForward,
  269025175: LogicalKeyboardKey.mediaFastForward,
  269025191: LogicalKeyboardKey.suspend,
};