17 lines
365 B
Ucode
Raw Normal View History

2017-10-19 21:00:49 -05:00
Class MS_Input extends PlayerInput;
event bool FilterButtonInput(int ControllerId, Name Key, EInputEvent Event, float AmountDepressed, bool bGamepad)
{
2020-11-28 23:04:55 +03:00
if (Event==IE_Pressed && (Key == 'Escape' || Key == 'XboxTypeS_Start'))
2017-10-19 21:00:49 -05:00
{
MS_PC(Outer).AbortConnection();
return true;
}
return false;
}
defaultproperties
{
OnReceivedNativeInputKey=FilterButtonInput
2023-05-14 05:49:12 +03:00
}