Use SDLK_PRINT instead of SDLK_SYSREQ.

This commit is contained in:
Glenn Maynard
2003-09-28 23:20:22 +00:00
parent 9e69a06d4b
commit fa27886b1c
3 changed files with 7 additions and 2 deletions
@@ -89,6 +89,11 @@ void InputHandler_SDL::Update(float fDeltaTime)
case SDL_KEYUP:
{
DeviceInput di(DEVICE_KEYBOARD, event.key.keysym.sym);
/* SDL is inconsistent about this key: */
if( di.button == SDLK_SYSREQ )
di.button = SDLK_PRINT;
ButtonPressed(di, event.key.state == SDL_PRESSED);
}
continue;