[ScreenTextEntry] Make it so only the keyboard's Enter key can finish the screen. Should fix issues with buttons whose secondary function is MenuStart.
This commit is contained in:
@@ -258,7 +258,8 @@ void ScreenTextEntry::BackspaceInAnswer()
|
||||
|
||||
void ScreenTextEntry::MenuStart( const InputEventPlus &input )
|
||||
{
|
||||
if( input.type==IET_FIRST_PRESS )
|
||||
// HACK: Only allow the screen to end on the Enter key.-aj
|
||||
if( input.DeviceI == DeviceInput(DEVICE_KEYBOARD, KEY_ENTER) && input.type==IET_FIRST_PRESS )
|
||||
End( false );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user