mirror of https://github.com/ppy/osu
Update with framework changes
This commit is contained in:
parent
e9ec544bf6
commit
c39fb9a200
|
@ -223,7 +223,7 @@ protected override bool OnKeyUp(InputState state, KeyUpEventArgs args)
|
|||
return true;
|
||||
}
|
||||
|
||||
protected override bool OnJoystickPress(InputState state, JoystickPressEventArgs args)
|
||||
protected override bool OnJoystickPress(InputState state, Framework.Input.JoystickEventArgs args)
|
||||
{
|
||||
if (!HasFocus)
|
||||
return false;
|
||||
|
@ -234,7 +234,7 @@ protected override bool OnJoystickPress(InputState state, JoystickPressEventArgs
|
|||
return true;
|
||||
}
|
||||
|
||||
protected override bool OnJoystickRelease(InputState state, JoystickReleaseEventArgs args)
|
||||
protected override bool OnJoystickRelease(InputState state, Framework.Input.JoystickEventArgs args)
|
||||
{
|
||||
if (!HasFocus)
|
||||
return base.OnJoystickRelease(state, args);
|
||||
|
|
Loading…
Reference in New Issue