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>{
  65517: LogicalKeyboardKey.hyper,
  65518: LogicalKeyboardKey.hyper,
  65515: LogicalKeyboardKey.superKey,
  65516: LogicalKeyboardKey.superKey,
  269025191: LogicalKeyboardKey.suspend,
  269025071: LogicalKeyboardKey.sleep,
  269025067: LogicalKeyboardKey.wakeUp,
  65: LogicalKeyboardKey.keyA,
  66: LogicalKeyboardKey.keyB,
  67: LogicalKeyboardKey.keyC,
  68: LogicalKeyboardKey.keyD,
  69: LogicalKeyboardKey.keyE,
  70: LogicalKeyboardKey.keyF,
  71: LogicalKeyboardKey.keyG,
  72: LogicalKeyboardKey.keyH,
  73: LogicalKeyboardKey.keyI,
  74: LogicalKeyboardKey.keyJ,
  75: LogicalKeyboardKey.keyK,
  76: LogicalKeyboardKey.keyL,
  77: LogicalKeyboardKey.keyM,
  78: LogicalKeyboardKey.keyN,
  79: LogicalKeyboardKey.keyO,
  80: LogicalKeyboardKey.keyP,
  81: LogicalKeyboardKey.keyQ,
  82: LogicalKeyboardKey.keyR,
  83: LogicalKeyboardKey.keyS,
  84: LogicalKeyboardKey.keyT,
  85: LogicalKeyboardKey.keyU,
  86: LogicalKeyboardKey.keyV,
  87: LogicalKeyboardKey.keyW,
  88: LogicalKeyboardKey.keyX,
  89: LogicalKeyboardKey.keyY,
  90: LogicalKeyboardKey.keyZ,
  49: LogicalKeyboardKey.digit1,
  50: LogicalKeyboardKey.digit2,
  51: LogicalKeyboardKey.digit3,
  52: LogicalKeyboardKey.digit4,
  53: LogicalKeyboardKey.digit5,
  54: LogicalKeyboardKey.digit6,
  55: LogicalKeyboardKey.digit7,
  56: LogicalKeyboardKey.digit8,
  57: LogicalKeyboardKey.digit9,
  48: LogicalKeyboardKey.digit0,
  65293: LogicalKeyboardKey.enter,
  65076: LogicalKeyboardKey.enter,
  65307: LogicalKeyboardKey.escape,
  65288: LogicalKeyboardKey.backspace,
  65289: LogicalKeyboardKey.tab,
  65417: LogicalKeyboardKey.tab,
  65056: LogicalKeyboardKey.tab,
  32: LogicalKeyboardKey.space,
  65408: LogicalKeyboardKey.space,
  45: LogicalKeyboardKey.minus,
  61: LogicalKeyboardKey.equal,
  91: LogicalKeyboardKey.bracketLeft,
  93: LogicalKeyboardKey.bracketRight,
  92: LogicalKeyboardKey.backslash,
  59: LogicalKeyboardKey.semicolon,
  39: LogicalKeyboardKey.quote,
  96: LogicalKeyboardKey.backquote,
  44: LogicalKeyboardKey.comma,
  46: LogicalKeyboardKey.period,
  47: LogicalKeyboardKey.slash,
  65509: LogicalKeyboardKey.capsLock,
  65470: LogicalKeyboardKey.f1,
  65425: LogicalKeyboardKey.f1,
  65471: LogicalKeyboardKey.f2,
  65426: LogicalKeyboardKey.f2,
  65472: LogicalKeyboardKey.f3,
  65427: LogicalKeyboardKey.f3,
  65473: LogicalKeyboardKey.f4,
  65428: 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,
  64797: LogicalKeyboardKey.printScreen,
  65300: LogicalKeyboardKey.scrollLock,
  65299: LogicalKeyboardKey.pause,
  65379: LogicalKeyboardKey.insert,
  65438: LogicalKeyboardKey.insert,
  65360: LogicalKeyboardKey.home,
  65429: LogicalKeyboardKey.home,
  65365: LogicalKeyboardKey.pageUp,
  65434: LogicalKeyboardKey.pageUp,
  65535: LogicalKeyboardKey.delete,
  65439: LogicalKeyboardKey.delete,
  65367: LogicalKeyboardKey.end,
  65436: LogicalKeyboardKey.end,
  65366: LogicalKeyboardKey.pageDown,
  65435: LogicalKeyboardKey.pageDown,
  65363: LogicalKeyboardKey.arrowRight,
  65432: LogicalKeyboardKey.arrowRight,
  65361: LogicalKeyboardKey.arrowLeft,
  65430: LogicalKeyboardKey.arrowLeft,
  65364: LogicalKeyboardKey.arrowDown,
  65433: LogicalKeyboardKey.arrowDown,
  65362: LogicalKeyboardKey.arrowUp,
  65431: LogicalKeyboardKey.arrowUp,
  65407: LogicalKeyboardKey.numLock,
  65455: LogicalKeyboardKey.numpadDivide,
  65450: LogicalKeyboardKey.numpadMultiply,
  65453: LogicalKeyboardKey.numpadSubtract,
  65451: LogicalKeyboardKey.numpadAdd,
  65421: LogicalKeyboardKey.numpadEnter,
  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,
  65456: LogicalKeyboardKey.numpad0,
  65454: LogicalKeyboardKey.numpadDecimal,
  65383: LogicalKeyboardKey.contextMenu,
  269025066: LogicalKeyboardKey.power,
  65469: LogicalKeyboardKey.numpadEqual,
  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,
  269025131: LogicalKeyboardKey.open,
  65386: LogicalKeyboardKey.help,
  65376: LogicalKeyboardKey.select,
  65381: LogicalKeyboardKey.undo,
  269025111: LogicalKeyboardKey.copy,
  64789: LogicalKeyboardKey.copy,
  269025133: LogicalKeyboardKey.paste,
  65384: LogicalKeyboardKey.find,
  269025042: LogicalKeyboardKey.audioVolumeMute,
  269025043: LogicalKeyboardKey.audioVolumeUp,
  269025041: LogicalKeyboardKey.audioVolumeDown,
  65406: LogicalKeyboardKey.kanaMode,
  165: LogicalKeyboardKey.intlYen,
  65507: LogicalKeyboardKey.controlLeft,
  65505: LogicalKeyboardKey.shiftLeft,
  65513: LogicalKeyboardKey.altLeft,
  65511: LogicalKeyboardKey.metaLeft,
  65508: LogicalKeyboardKey.controlRight,
  65506: LogicalKeyboardKey.shiftRight,
  65514: LogicalKeyboardKey.altRight,
  65512: LogicalKeyboardKey.metaRight,
  269025026: LogicalKeyboardKey.brightnessUp,
  269025027: LogicalKeyboardKey.brightnessDown,
  269025029: LogicalKeyboardKey.kbdIllumUp,
  269025030: LogicalKeyboardKey.kbdIllumDown,
  269025134: LogicalKeyboardKey.launchPhone,
  269025044: LogicalKeyboardKey.mediaPlay,
  64790: LogicalKeyboardKey.mediaPlay,
  269025073: LogicalKeyboardKey.mediaPause,
  269025052: LogicalKeyboardKey.mediaRecord,
  269025175: LogicalKeyboardKey.mediaFastForward,
  269025086: LogicalKeyboardKey.mediaRewind,
  269025047: LogicalKeyboardKey.mediaTrackNext,
  269025046: LogicalKeyboardKey.mediaTrackPrevious,
  269025045: LogicalKeyboardKey.mediaStop,
  269025068: LogicalKeyboardKey.eject,
  269025049: LogicalKeyboardKey.launchMail,
  269025056: LogicalKeyboardKey.launchCalendar,
  269025070: LogicalKeyboardKey.launchInternetBrowser,
  269025121: LogicalKeyboardKey.logOff,
  269025148: LogicalKeyboardKey.spellCheck,
  269025069: LogicalKeyboardKey.launchScreenSaver,
  269025170: LogicalKeyboardKey.launchAudioBrowser,
  269025128: LogicalKeyboardKey.newKey,
  269025110: LogicalKeyboardKey.close,
  269025143: LogicalKeyboardKey.save,
  65377: LogicalKeyboardKey.print,
  269025051: LogicalKeyboardKey.browserSearch,
  269025048: LogicalKeyboardKey.browserHome,
  269025062: LogicalKeyboardKey.browserBack,
  269025063: LogicalKeyboardKey.browserForward,
  269025064: LogicalKeyboardKey.browserStop,
  269025065: LogicalKeyboardKey.browserRefresh,
  269025072: LogicalKeyboardKey.browserFavorites,
  269025163: LogicalKeyboardKey.zoomIn,
  269025164: LogicalKeyboardKey.zoomOut,
  65382: LogicalKeyboardKey.redo,
  269025138: LogicalKeyboardKey.mailReply,
  269025168: LogicalKeyboardKey.mailForward,
  269025147: LogicalKeyboardKey.mailSend,
}