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