# a mapping between XK_FOO and VK_FOO (X11 keysyms and mingw virtual key codes)
# This file was manually derived from X11/keysymdef.h and mingw's winuser.h
# It is used together with keysymdef.h to generate mingw/keysym.b

	VK_LBUTTON	1
	VK_RBUTTON	2
	VK_CANCEL	3
	VK_MBUTTON	4
	VK_XBUTTON1	5
	VK_XBUTTON2	6

XK_BackSpace	VK_BACK	8
XK_Tab	VK_TAB	9
XK_Clear	VK_CLEAR	12
XK_Return	VK_RETURN	13
XK_Shift_L	VK_SHIFT	16
XK_Shift_R	VK_SHIFT	16
XK_Control_L	VK_CONTROL	17
XK_Control_R	VK_CONTROL	17
XK_Menu	VK_MENU	18
XK_Pause	VK_PAUSE	19
XK_Caps_Lock	VK_CAPITAL	20
XK_Kana_Lock	VK_KANA	0x15
XK_Kana_Shift	VK_KANA	0x15
XK_Hangul	VK_HANGEUL	0x15
XK_Hangul	VK_HANGUL	0x15
XK_Hangul_Jeonja	VK_JUNJA	0x17
XK_Hangul_End	VK_FINAL	0x18
XK_Hangul_Hanja	VK_HANJA	0x19
XK_Kanji	VK_KANJI	0x19
XK_Escape	VK_ESCAPE	0x1B
XK_Henkan_Mode	VK_CONVERT	0x1C
XK_Muhenkan	VK_NONCONVERT	0x1D
	VK_ACCEPT	0x1E
XK_Mode_switch	VK_MODECHANGE	0x1F
XK_space	VK_SPACE	32
XK_Prior	VK_PRIOR	33
XK_Page_Up	VK_PRIOR	33
XK_Next	VK_NEXT	34
XK_Page_Down	VK_NEXT	34
XK_End	VK_END	35
XK_Home	VK_HOME	36
XK_Left	VK_LEFT	37
XK_Up	VK_UP	38
XK_Right	VK_RIGHT	39
XK_Down	VK_DOWN	40
XK_Select	VK_SELECT	41
XK_Print	VK_PRINT	42
XK_Execute	VK_EXECUTE	43
	VK_SNAPSHOT	44
XK_Insert	VK_INSERT	45
XK_Delete	VK_DELETE	46
XK_Help	VK_HELP	47
XK_Meta_L	VK_LWIN	0x5B
XK_Meta_R	VK_RWIN	0x5C
	VK_APPS	0x5D
	VK_SLEEP	0x5F
XK_KP_0	VK_NUMPAD0	0x60
XK_KP_1	VK_NUMPAD1	0x61
XK_KP_2	VK_NUMPAD2	0x62
XK_KP_3	VK_NUMPAD3	0x63
XK_KP_4	VK_NUMPAD4	0x64
XK_KP_5	VK_NUMPAD5	0x65
XK_KP_6	VK_NUMPAD6	0x66
XK_KP_7	VK_NUMPAD7	0x67
XK_KP_8	VK_NUMPAD8	0x68
XK_KP_9	VK_NUMPAD9	0x69
XK_KP_Multiply	VK_MULTIPLY	0x6A
XK_KP_Add	VK_ADD	0x6B
XK_KP_Separator	VK_SEPARATOR	0x6C
XK_KP_Subtract	VK_SUBTRACT	0x6D
XK_KP_Decimal	VK_DECIMAL	0x6E
XK_KP_Divide	VK_DIVIDE	0x6F
XK_F1	VK_F1	0x70
XK_F2	VK_F2	0x71
XK_F3	VK_F3	0x72
XK_F4	VK_F4	0x73
XK_F5	VK_F5	0x74
XK_F6	VK_F6	0x75
XK_F7	VK_F7	0x76
XK_F8	VK_F8	0x77
XK_F9	VK_F9	0x78
XK_F10	VK_F10	0x79
XK_F11	VK_F11	0x7A
XK_F12	VK_F12	0x7B
XK_F13	VK_F13	0x7C
XK_F14	VK_F14	0x7D
XK_F15	VK_F15	0x7E
XK_F16	VK_F16	0x7F
XK_F17	VK_F17	0x80
XK_F18	VK_F18	0x81
XK_F19	VK_F19	0x82
XK_F20	VK_F20	0x83
XK_F21	VK_F21	0x84
XK_F22	VK_F22	0x85
XK_F23	VK_F23	0x86
XK_F24	VK_F24	0x87
XK_Num_Lock	VK_NUMLOCK	0x90
XK_Scroll_Lock	VK_SCROLL	0x91
XK_Shift_L	VK_LSHIFT	0xA0
XK_Shift_R	VK_RSHIFT	0xA1
XK_Control_L	VK_LCONTROL	0xA2
XK_Control_R	VK_RCONTROL	0xA3
XK_Menu	VK_LMENU	0xA4
XK_Menu	VK_RMENU	0xA5
	VK_BROWSER_BACK	0xA6
	VK_BROWSER_FORWARD	0xA7
	VK_BROWSER_REFRESH	0xA8
	VK_BROWSER_STOP	0xA9
	VK_BROWSER_SEARCH	0xAA
	VK_BROWSER_FAVORITES	0xAB
	VK_BROWSER_HOME	0xAC
	VK_VOLUME_MUTE	0xAD
	VK_VOLUME_DOWN	0xAE
	VK_VOLUME_UP	0xAF
	VK_MEDIA_NEXT_TRACK	0xB0
	VK_MEDIA_PREV_TRACK	0xB1
	VK_MEDIA_STOP	0xB2
	VK_MEDIA_PLAY_PAUSE	0xB3
	VK_LAUNCH_MAIL	0xB4
	VK_LAUNCH_MEDIA_SELECT	0xB5
	VK_LAUNCH_APP1	0xB6
	VK_LAUNCH_APP2	0xB7
	VK_OEM_1	0xBA
	VK_OEM_PLUS	0xBB
	VK_OEM_COMMA	0xBC
	VK_OEM_MINUS	0xBD
	VK_OEM_PERIOD	0xBE
	VK_OEM_2	0xBF
	VK_OEM_3	0xC0
	VK_OEM_4	0xDB
	VK_OEM_5	0xDC
	VK_OEM_6	0xDD
	VK_OEM_7	0xDE
	VK_OEM_8	0xDF
	VK_OEM_102	0xE2
	VK_PROCESSKEY	0xE5
	VK_PACKET	0xE7
XK_3270_Attn	VK_ATTN	0xF6
XK_3270_CursorSelect	VK_CRSEL	0xF7
XK_3270_ExSelect	VK_EXSEL	0xF8
XK_3270_EraseEOF	VK_EREOF	0xF9
XK_3270_Play	VK_PLAY	0xFA
	VK_ZOOM	0xFB
	VK_NONAME	0xFC
XK_3270_PA1	VK_PA1	0xFD
	VK_OEM_CLEAR	0xFE
