Added support for the pause key under DirectX
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40276
This commit is contained in:
parent
fb441e589b
commit
528959fcb2
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue