mirror of
https://github.com/yawut/SDL.git
synced 2026-08-27 03:07:10 -05:00
Added support for the pause key under DirectX
This commit is contained in:
@@ -621,6 +621,9 @@ void DX5_PumpEvents(_THIS)
|
||||
|
||||
void DX5_InitOSKeymap(_THIS)
|
||||
{
|
||||
#ifndef DIK_PAUSE
|
||||
#define DIK_PAUSE 0xC5
|
||||
#endif
|
||||
int i;
|
||||
|
||||
/* Map the DIK scancodes to SDL keysyms */
|
||||
@@ -724,6 +727,7 @@ void DX5_InitOSKeymap(_THIS)
|
||||
DIK_keymap[DIK_DIVIDE] = SDLK_KP_DIVIDE;
|
||||
DIK_keymap[DIK_SYSRQ] = SDLK_SYSREQ;
|
||||
DIK_keymap[DIK_RMENU] = SDLK_RALT;
|
||||
DIK_keymap[DIK_PAUSE] = SDLK_BREAK;
|
||||
DIK_keymap[DIK_HOME] = SDLK_HOME;
|
||||
DIK_keymap[DIK_UP] = SDLK_UP;
|
||||
DIK_keymap[DIK_PRIOR] = SDLK_PAGEUP;
|
||||
|
||||
Reference in New Issue
Block a user