DirectInput replaced with SDL's input routines. Keyboard works, but joystick and pump are untested.
This commit is contained in:
@@ -71,7 +71,7 @@ void Screen::Input( const DeviceInput& DeviceI, const InputEventType type, const
|
||||
if(type == IET_RELEASE) return; // don't care
|
||||
|
||||
/* Don't make the user hold the back button if they're pressing escape. */
|
||||
if( DeviceI.device == DEVICE_KEYBOARD && DeviceI.button == DIK_ESCAPE )
|
||||
if( DeviceI.device == DEVICE_KEYBOARD && DeviceI.button == SDLK_ESCAPE )
|
||||
{
|
||||
this->MenuBack( MenuI.player );
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user