Use scroll lock instead of control. Control's a nice, useful key; we
might want to use it for eg. jumping to a song title by initial in the music wheel. Scroll lock is out of the way. Don't send the operator button to windows.
This commit is contained in:
@@ -412,13 +412,14 @@ static void HandleInputEvents(float fDeltaTime)
|
||||
or in the step editor. This will save the hassle of an "accidental
|
||||
keystroke, and your edit is gone". -- Miryokuteki
|
||||
*/
|
||||
if( DeviceI.device == DEVICE_KEYBOARD && DeviceI.button == SDLK_LCTRL && type == IET_FIRST_PRESS )
|
||||
if( DeviceI.device == DEVICE_KEYBOARD && DeviceI.button == SDLK_SCROLLOCK )
|
||||
{
|
||||
if( !GAMESTATE->m_bIsOnSystemMenu )
|
||||
{
|
||||
if( type != IET_FIRST_PRESS ) continue;
|
||||
if( GAMESTATE->m_bIsOnSystemMenu ) continue;
|
||||
|
||||
SCREENMAN->SystemMessage("OPERATOR");
|
||||
SCREENMAN->SetNewScreen("ScreenOptionsMenu");
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
// Global credit key.. accepts a credit anywhere, like the arcade -- Mirykouteki
|
||||
@@ -436,10 +437,10 @@ static void HandleInputEvents(float fDeltaTime)
|
||||
default:
|
||||
ASSERT(0);
|
||||
}
|
||||
/* Fall through, so screens will receive MenuCoin. */
|
||||
}
|
||||
|
||||
|
||||
|
||||
if(DeviceI == DeviceInput(DEVICE_KEYBOARD, SDLK_F4))
|
||||
{
|
||||
if(type != IET_FIRST_PRESS) continue;
|
||||
|
||||
Reference in New Issue
Block a user