keyEventNames constant

Map<int, String> const keyEventNames

Implementation

static const Map<int, String> keyEventNames = {
  0: "ACTION_DOWN",
  1: "ACTION_UP",
  32: "FLAG_CANCELED",
  256: "FLAG_CANCELED_LONG_PRESS",
  16: "FLAG_EDITOR_ACTION",
  1024: "FLAG_FALLBACK",
  8: "FLAG_FROM_SYSTEM",
  128: "FLAG_LONG_PRESS",
  2: "FLAG_SOFT_KEYBOARD",
  512: "FLAG_TRACKING",
  64: "FLAG_VIRTUAL_HARD_KEY",
  7: "KEYCODE_0",
  227: "KEYCODE_11",
  228: "KEYCODE_12",
  9: "KEYCODE_2",
  10: "KEYCODE_3",
  206: "KEYCODE_3D_MODE",
  11: "KEYCODE_4",
  12: "KEYCODE_5",
  13: "KEYCODE_6",
  14: "KEYCODE_7",
  15: "KEYCODE_8",
  29: "KEYCODE_A",
  284: "KEYCODE_ALL_APPS",
  57: "KEYCODE_ALT_LEFT",
  58: "KEYCODE_ALT_RIGHT",
  75: "KEYCODE_APOSTROPHE",
  187: "KEYCODE_APP_SWITCH",
  219: "KEYCODE_ASSIST",
  77: "KEYCODE_AT",
  182: "KEYCODE_AVR_INPUT",
  181: "KEYCODE_AVR_POWER",
  30: "KEYCODE_B",
  4: "KEYCODE_BACK",
  73: "KEYCODE_BACKSLASH",
  174: "KEYCODE_BOOKMARK",
  121: "KEYCODE_BREAK",
  220: "KEYCODE_BRIGHTNESS_DOWN",
  221: "KEYCODE_BRIGHTNESS_UP",
  188: "KEYCODE_BUTTON_1",
  197: "KEYCODE_BUTTON_10",
  198: "KEYCODE_BUTTON_11",
  199: "KEYCODE_BUTTON_12",
  200: "KEYCODE_BUTTON_13",
  201: "KEYCODE_BUTTON_14",
  202: "KEYCODE_BUTTON_15",
  203: "KEYCODE_BUTTON_16",
  189: "KEYCODE_BUTTON_2",
  190: "KEYCODE_BUTTON_3",
  191: "KEYCODE_BUTTON_4",
  192: "KEYCODE_BUTTON_5",
  193: "KEYCODE_BUTTON_6",
  194: "KEYCODE_BUTTON_7",
  195: "KEYCODE_BUTTON_8",
  196: "KEYCODE_BUTTON_9",
  96: "KEYCODE_BUTTON_A",
  97: "KEYCODE_BUTTON_B",
  98: "KEYCODE_BUTTON_C",
  102: "KEYCODE_BUTTON_L1",
  104: "KEYCODE_BUTTON_L2",
  110: "KEYCODE_BUTTON_MODE",
  103: "KEYCODE_BUTTON_R1",
  105: "KEYCODE_BUTTON_R2",
  109: "KEYCODE_BUTTON_SELECT",
  108: "KEYCODE_BUTTON_START",
  106: "KEYCODE_BUTTON_THUMBL",
  107: "KEYCODE_BUTTON_THUMBR",
  99: "KEYCODE_BUTTON_X",
  100: "KEYCODE_BUTTON_Y",
  101: "KEYCODE_BUTTON_Z",
  31: "KEYCODE_C",
  210: "KEYCODE_CALCULATOR",
  208: "KEYCODE_CALENDAR",
  5: "KEYCODE_CALL",
  27: "KEYCODE_CAMERA",
  115: "KEYCODE_CAPS_LOCK",
  175: "KEYCODE_CAPTIONS",
  167: "KEYCODE_CHANNEL_DOWN",
  166: "KEYCODE_CHANNEL_UP",
  28: "KEYCODE_CLEAR",
  55: "KEYCODE_COMMA",
  207: "KEYCODE_CONTACTS",
  278: "KEYCODE_COPY",
  113: "KEYCODE_CTRL_LEFT",
  114: "KEYCODE_CTRL_RIGHT",
  277: "KEYCODE_CUT",
//32:"KEYCODE_D",
  67: "KEYCODE_DEL",
  23: "KEYCODE_DPAD_CENTER",
  20: "KEYCODE_DPAD_DOWN",
  269: "KEYCODE_DPAD_DOWN_LEFT",
  271: "KEYCODE_DPAD_DOWN_RIGHT",
  21: "KEYCODE_DPAD_LEFT",
  22: "KEYCODE_DPAD_RIGHT",
  19: "KEYCODE_DPAD_UP",
  268: "KEYCODE_DPAD_UP_LEFT",
  270: "KEYCODE_DPAD_UP_RIGHT",
  173: "KEYCODE_DVR",
  33: "KEYCODE_E",
  212: "KEYCODE_EISU",
  6: "KEYCODE_ENDCALL",
  66: "KEYCODE_ENTER",
  65: "KEYCODE_ENVELOPE",
  70: "KEYCODE_EQUALS",
  111: "KEYCODE_ESCAPE",
//64:"KEYCODE_EXPLORER",
  34: "KEYCODE_F",
  131: "KEYCODE_F1",
  140: "KEYCODE_F10",
  141: "KEYCODE_F11",
  142: "KEYCODE_F12",
  132: "KEYCODE_F2",
  133: "KEYCODE_F3",
  134: "KEYCODE_F4",
  135: "KEYCODE_F5",
  136: "KEYCODE_F6",
  137: "KEYCODE_F7",
  138: "KEYCODE_F8",
  139: "KEYCODE_F9",
  80: "KEYCODE_FOCUS",
  125: "KEYCODE_FORWARD",
  112: "KEYCODE_FORWARD_DEL",
  119: "KEYCODE_FUNCTION",
  35: "KEYCODE_G",
  68: "KEYCODE_GRAVE",
  172: "KEYCODE_GUIDE",
  36: "KEYCODE_H",
  79: "KEYCODE_HEADSETHOOK",
  259: "KEYCODE_HELP",
  214: "KEYCODE_HENKAN",
  3: "KEYCODE_HOME",
  37: "KEYCODE_I",
  165: "KEYCODE_INFO",
  124: "KEYCODE_INSERT",
  38: "KEYCODE_J",
  39: "KEYCODE_K",
  218: "KEYCODE_KANA",
  215: "KEYCODE_KATAKANA_HIRAGANA",
  40: "KEYCODE_L",
  204: "KEYCODE_LANGUAGE_SWITCH",
  229: "KEYCODE_LAST_CHANNEL",
  71: "KEYCODE_LEFT_BRACKET",
  41: "KEYCODE_M",
  205: "KEYCODE_MANNER_MODE",
  222: "KEYCODE_MEDIA_AUDIO_TRACK",
  129: "KEYCODE_MEDIA_EJECT",
  90: "KEYCODE_MEDIA_FAST_FORWARD",
  87: "KEYCODE_MEDIA_NEXT",
  127: "KEYCODE_MEDIA_PAUSE",
  126: "KEYCODE_MEDIA_PLAY",
  85: "KEYCODE_MEDIA_PLAY_PAUSE",
  88: "KEYCODE_MEDIA_PREVIOUS",
  130: "KEYCODE_MEDIA_RECORD",
  89: "KEYCODE_MEDIA_REWIND",
  273: "KEYCODE_MEDIA_SKIP_BACKWARD",
  272: "KEYCODE_MEDIA_SKIP_FORWARD",
  275: "KEYCODE_MEDIA_STEP_BACKWARD",
  274: "KEYCODE_MEDIA_STEP_FORWARD",
  86: "KEYCODE_MEDIA_STOP",
  226: "KEYCODE_MEDIA_TOP_MENU",
  82: "KEYCODE_MENU",
  117: "KEYCODE_META_LEFT",
  118: "KEYCODE_META_RIGHT",
  69: "KEYCODE_MINUS",
  123: "KEYCODE_MOVE_END",
  122: "KEYCODE_MOVE_HOME",
  213: "KEYCODE_MUHENKAN",
  209: "KEYCODE_MUSIC",
  91: "KEYCODE_MUTE",
  42: "KEYCODE_N",
  262: "KEYCODE_NAVIGATE_IN",
  261: "KEYCODE_NAVIGATE_NEXT",
  263: "KEYCODE_NAVIGATE_OUT",
  260: "KEYCODE_NAVIGATE_PREVIOUS",
  83: "KEYCODE_NOTIFICATION",
  78: "KEYCODE_NUM",
  144: "KEYCODE_NUMPAD_0",
  145: "KEYCODE_NUMPAD_1",
  146: "KEYCODE_NUMPAD_2",
  147: "KEYCODE_NUMPAD_3",
  148: "KEYCODE_NUMPAD_4",
  149: "KEYCODE_NUMPAD_5",
  150: "KEYCODE_NUMPAD_6",
  151: "KEYCODE_NUMPAD_7",
  152: "KEYCODE_NUMPAD_8",
  153: "KEYCODE_NUMPAD_9",
  157: "KEYCODE_NUMPAD_ADD",
  159: "KEYCODE_NUMPAD_COMMA",
  154: "KEYCODE_NUMPAD_DIVIDE",
  158: "KEYCODE_NUMPAD_DOT",
  160: "KEYCODE_NUMPAD_ENTER",
  161: "KEYCODE_NUMPAD_EQUALS",
  162: "KEYCODE_NUMPAD_LEFT_PAREN",
  155: "KEYCODE_NUMPAD_MULTIPLY",
  163: "KEYCODE_NUMPAD_RIGHT_PAREN",
  156: "KEYCODE_NUMPAD_SUBTRACT",
  143: "KEYCODE_NUM_LOCK",
  43: "KEYCODE_O",
  44: "KEYCODE_P",
  93: "KEYCODE_PAGE_DOWN",
  92: "KEYCODE_PAGE_UP",
  225: "KEYCODE_PAIRING",
  279: "KEYCODE_PASTE",
  56: "KEYCODE_PERIOD",
  94: "KEYCODE_PICTSYMBOLS",
  81: "KEYCODE_PLUS",
  18: "KEYCODE_POUND",
  26: "KEYCODE_POWER",
  288: "KEYCODE_PROFILE_SWITCH",
  186: "KEYCODE_PROG_BLUE",
  184: "KEYCODE_PROG_GREEN",
  183: "KEYCODE_PROG_RED",
  185: "KEYCODE_PROG_YELLOW",
  45: "KEYCODE_Q",
  46: "KEYCODE_R",
  285: "KEYCODE_REFRESH",
  72: "KEYCODE_RIGHT_BRACKET",
  217: "KEYCODE_RO",
  47: "KEYCODE_S",
  116: "KEYCODE_SCROLL_LOCK",
  84: "KEYCODE_SEARCH",
  74: "KEYCODE_SEMICOLON",
  176: "KEYCODE_SETTINGS",
  59: "KEYCODE_SHIFT_LEFT",
  60: "KEYCODE_SHIFT_RIGHT",
  76: "KEYCODE_SLASH",
  223: "KEYCODE_SLEEP",
  276: "KEYCODE_SOFT_SLEEP",
  62: "KEYCODE_SPACE",
  17: "KEYCODE_STAR",
  180: "KEYCODE_STB_INPUT",
  179: "KEYCODE_STB_POWER",
  265: "KEYCODE_STEM_1",
  266: "KEYCODE_STEM_2",
  267: "KEYCODE_STEM_3",
  264: "KEYCODE_STEM_PRIMARY",
  95: "KEYCODE_SWITCH_CHARSET",
  63: "KEYCODE_SYM",
  120: "KEYCODE_SYSRQ",
  281: "KEYCODE_SYSTEM_NAVIGATION_DOWN",
  282: "KEYCODE_SYSTEM_NAVIGATION_LEFT",
  283: "KEYCODE_SYSTEM_NAVIGATION_RIGHT",
  280: "KEYCODE_SYSTEM_NAVIGATION_UP",
  48: "KEYCODE_T",
  61: "KEYCODE_TAB",
  287: "KEYCODE_THUMBS_DOWN",
  286: "KEYCODE_THUMBS_UP",
  170: "KEYCODE_TV",
  242: "KEYCODE_TV_ANTENNA_CABLE",
  252: "KEYCODE_TV_AUDIO_DESCRIPTION",
  254: "KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN",
  253: "KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP",
  230: "KEYCODE_TV_DATA_SERVICE",
  178: "KEYCODE_TV_INPUT",
  249: "KEYCODE_TV_INPUT_COMPONENT_1",
  250: "KEYCODE_TV_INPUT_COMPONENT_2",
  247: "KEYCODE_TV_INPUT_COMPOSITE_1",
  248: "KEYCODE_TV_INPUT_COMPOSITE_2",
  243: "KEYCODE_TV_INPUT_HDMI_1",
  244: "KEYCODE_TV_INPUT_HDMI_2",
  245: "KEYCODE_TV_INPUT_HDMI_3",
  246: "KEYCODE_TV_INPUT_HDMI_4",
  251: "KEYCODE_TV_INPUT_VGA_1",
  257: "KEYCODE_TV_MEDIA_CONTEXT_MENU",
  241: "KEYCODE_TV_NETWORK",
  234: "KEYCODE_TV_NUMBER_ENTRY",
  177: "KEYCODE_TV_POWER",
  232: "KEYCODE_TV_RADIO_SERVICE",
  237: "KEYCODE_TV_SATELLITE",
  238: "KEYCODE_TV_SATELLITE_BS",
  239: "KEYCODE_TV_SATELLITE_CS",
  240: "KEYCODE_TV_SATELLITE_SERVICE",
  233: "KEYCODE_TV_TELETEXT",
  235: "KEYCODE_TV_TERRESTRIAL_ANALOG",
  236: "KEYCODE_TV_TERRESTRIAL_DIGITAL",
  258: "KEYCODE_TV_TIMER_PROGRAMMING",
  255: "KEYCODE_TV_ZOOM_MODE",
  49: "KEYCODE_U",
  50: "KEYCODE_V",
  231: "KEYCODE_VOICE_ASSIST",
  25: "KEYCODE_VOLUME_DOWN",
  164: "KEYCODE_VOLUME_MUTE",
  24: "KEYCODE_VOLUME_UP",
  51: "KEYCODE_W",
  224: "KEYCODE_WAKEUP",
  171: "KEYCODE_WINDOW",
  52: "KEYCODE_X",
  53: "KEYCODE_Y",
  216: "KEYCODE_YEN",
  54: "KEYCODE_Z",
  211: "KEYCODE_ZENKAKU_HANKAKU",
  168: "KEYCODE_ZOOM_IN",
  169: "KEYCODE_ZOOM_OUT",
  1048576: "META_CAPS_LOCK_ON",
  8192: "META_CTRL_LEFT_ON",
  28672: "META_CTRL_MASK",
  4096: "META_CTRL_ON",
  16384: "META_CTRL_RIGHT_ON",
  131072: "META_META_LEFT_ON",
  458752: "META_META_MASK",
  65536: "META_META_ON",
  262144: "META_META_RIGHT_ON",
  2097152: "META_NUM_LOCK_ON",
  4194304: "META_SCROLL_LOCK_ON"
};