Skip to content

Instantly share code, notes, and snippets.

@cynthia
Created July 4, 2014 08:40
Show Gist options
  • Save cynthia/0def54d918182b7c0b1c to your computer and use it in GitHub Desktop.
Save cynthia/0def54d918182b7c0b1c to your computer and use it in GitHub Desktop.
We can make this file beautiful and searchable if this error is corrected: It looks like row 57 should actually have 2 columns, instead of 1. in line 56.
Keyevent.KEYCODE_DEL, VKEY_BACK
Keyevent.KEYCODE_TAB, VKEY_TAB
Keyevent.KEYCODE_CLEAR, VKEY_CLEAR
Keyevent.KEYCODE_DPAD_CENTER, VKEY_RETURN
Keyevent.KEYCODE_ENTER, VKEY_RETURN
Keyevent.KEYCODE_SHIFT_LEFT, VKEY_LSHIFT
Keyevent.KEYCODE_SHIFT_RIGHT, VKEY_RSHIFT
Keyevent.KEYCODE_BACK, VKEY_ESCAPE
Keyevent.KEYCODE_SPACE, VKEY_SPACE
Keyevent.KEYCODE_MOVE_HOME, VKEY_HOME
Keyevent.KEYCODE_DPAD_LEFT, VKEY_LEFT
Keyevent.KEYCODE_DPAD_UP, VKEY_UP
Keyevent.KEYCODE_DPAD_RIGHT, VKEY_RIGHT
Keyevent.KEYCODE_DPAD_DOWN, VKEY_DOWN
Keyevent.KEYCODE_0, VKEY_0
Keyevent.KEYCODE_1, VKEY_1
Keyevent.KEYCODE_2, VKEY_2
Keyevent.KEYCODE_3, VKEY_3
Keyevent.KEYCODE_4, VKEY_4
Keyevent.KEYCODE_5, VKEY_5
Keyevent.KEYCODE_6, VKEY_6
Keyevent.KEYCODE_7, VKEY_7
Keyevent.KEYCODE_8, VKEY_8
Keyevent.KEYCODE_9, VKEY_9
Keyevent.KEYCODE_A, VKEY_A
Keyevent.KEYCODE_B, VKEY_B
Keyevent.KEYCODE_C, VKEY_C
Keyevent.KEYCODE_D, VKEY_D
Keyevent.KEYCODE_E, VKEY_E
Keyevent.KEYCODE_F, VKEY_F
Keyevent.KEYCODE_G, VKEY_G
Keyevent.KEYCODE_H, VKEY_H
Keyevent.KEYCODE_I, VKEY_I
Keyevent.KEYCODE_J, VKEY_J
Keyevent.KEYCODE_K, VKEY_K
Keyevent.KEYCODE_L, VKEY_L
Keyevent.KEYCODE_M, VKEY_M
Keyevent.KEYCODE_N, VKEY_N
Keyevent.KEYCODE_O, VKEY_O
Keyevent.KEYCODE_P, VKEY_P
Keyevent.KEYCODE_Q, VKEY_Q
Keyevent.KEYCODE_R, VKEY_R
Keyevent.KEYCODE_S, VKEY_S
Keyevent.KEYCODE_T, VKEY_T
Keyevent.KEYCODE_U, VKEY_U
Keyevent.KEYCODE_V, VKEY_V
Keyevent.KEYCODE_W, VKEY_W
Keyevent.KEYCODE_X, VKEY_X
Keyevent.KEYCODE_Y, VKEY_Y
Keyevent.KEYCODE_Z, VKEY_Z
Keyevent.KEYCODE_VOLUME_DOWN, VKEY_VOLUME_DOWN
Keyevent.KEYCODE_VOLUME_UP, VKEY_VOLUME_UP
Keyevent.KEYCODE_MEDIA_NEXT, VKEY_MEDIA_NEXT_TRACK
Keyevent.KEYCODE_MEDIA_PREVIOUS, VKEY_MEDIA_PREV_TRACK
Keyevent.KEYCODE_MEDIA_STOP, VKEY_MEDIA_STOP
Keyevent.KEYCODE_MEDIA_PAUSE, VKEY_MEDIA_PLAY_PAUSE
// Colon key.
Keyevent.KEYCODE_SEMICOLON, VKEY_OEM_1
Keyevent.KEYCODE_COMMA, VKEY_OEM_COMMA
Keyevent.KEYCODE_MINUS, VKEY_OEM_MINUS
Keyevent.KEYCODE_EQUALS, VKEY_OEM_PLUS
Keyevent.KEYCODE_PERIOD, VKEY_OEM_PERIOD
Keyevent.KEYCODE_SLASH, VKEY_OEM_2
Keyevent.KEYCODE_LEFT_BRACKET, VKEY_OEM_4
Keyevent.KEYCODE_BACKSLASH, VKEY_OEM_5
Keyevent.KEYCODE_RIGHT_BRACKET, VKEY_OEM_6
Keyevent.KEYCODE_MUTE, VKEY_VOLUME_MUTE
Keyevent.KEYCODE_VOLUME_MUTE, VKEY_VOLUME_MUTE
Keyevent.KEYCODE_ESCAPE, VKEY_ESCAPE
Keyevent.KEYCODE_MEDIA_PLAY, VKEY_MEDIA_PLAY_PAUSE
Keyevent.KEYCODE_MEDIA_PLAY_PAUSE, VKEY_MEDIA_PLAY_PAUSE
Keyevent.KEYCODE_MOVE_END, VKEY_END
Keyevent.KEYCODE_ALT_LEFT, VKEY_LMENU
Keyevent.KEYCODE_ALT_RIGHT, VKEY_RMENU
Keyevent.KEYCODE_GRAVE, VKEY_OEM_3
Keyevent.KEYCODE_APOSTROPHE, VKEY_OEM_3
Keyevent.KEYCODE_MEDIA_REWIND, VKEY_OEM_103
Keyevent.KEYCODE_MEDIA_FAST_FORWARD, VKEY_OEM_104
Keyevent.KEYCODE_PAGE_UP, VKEY_PRIOR
Keyevent.KEYCODE_PAGE_DOWN, VKEY_NEXT
Keyevent.KEYCODE_FORWARD_DEL, VKEY_DELETE
Keyevent.KEYCODE_CTRL_LEFT, VKEY_LCONTROL
Keyevent.KEYCODE_CTRL_RIGHT, VKEY_RCONTROL
Keyevent.KEYCODE_CAPS_LOCK, VKEY_CAPITAL
Keyevent.KEYCODE_SCROLL_LOCK, VKEY_SCROLL
Keyevent.KEYCODE_META_LEFT, VKEY_LWIN
Keyevent.KEYCODE_META_RIGHT, VKEY_RWIN
Keyevent.KEYCODE_BREAK, VKEY_PAUSE
Keyevent.KEYCODE_INSERT, VKEY_INSERT
Keyevent.KEYCODE_F1, VKEY_F1
Keyevent.KEYCODE_F2, VKEY_F2
Keyevent.KEYCODE_F3, VKEY_F3
Keyevent.KEYCODE_F4, VKEY_F4
Keyevent.KEYCODE_F5, VKEY_F5
Keyevent.KEYCODE_F6, VKEY_F6
Keyevent.KEYCODE_F7, VKEY_F7
Keyevent.KEYCODE_F8, VKEY_F8
Keyevent.KEYCODE_F9, VKEY_F9
Keyevent.KEYCODE_F10, VKEY_F10
Keyevent.KEYCODE_F11, VKEY_F11
Keyevent.KEYCODE_F12, VKEY_F12
Keyevent.KEYCODE_NUM_LOCK, VKEY_NUMLOCK
Keyevent.KEYCODE_NUMPAD_0, VKEY_NUMPAD0
Keyevent.KEYCODE_NUMPAD_1, VKEY_NUMPAD1
Keyevent.KEYCODE_NUMPAD_2, VKEY_NUMPAD2
Keyevent.KEYCODE_NUMPAD_3, VKEY_NUMPAD3
Keyevent.KEYCODE_NUMPAD_4, VKEY_NUMPAD4
Keyevent.KEYCODE_NUMPAD_5, VKEY_NUMPAD5
Keyevent.KEYCODE_NUMPAD_6, VKEY_NUMPAD6
Keyevent.KEYCODE_NUMPAD_7, VKEY_NUMPAD7
Keyevent.KEYCODE_NUMPAD_8, VKEY_NUMPAD8
Keyevent.KEYCODE_NUMPAD_9, VKEY_NUMPAD9
Keyevent.KEYCODE_NUMPAD_DIVIDE, VKEY_DIVIDE
Keyevent.KEYCODE_NUMPAD_MULTIPLY, VKEY_MULTIPLY
Keyevent.KEYCODE_NUMPAD_SUBTRACT, VKEY_SUBTRACT
Keyevent.KEYCODE_NUMPAD_ADD, VKEY_ADD
Keyevent.KEYCODE_NUMPAD_DOT, VKEY_DECIMAL
Keyevent.KEYCODE_CHANNEL_UP, VKEY_PRIOR
Keyevent.KEYCODE_CHANNEL_DOWN, VKEY_NEXT
default, VKEY_UNKNOWN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment