mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Allow pausing gameplay via middle mouse button
This commit is contained in:
@ -56,6 +56,7 @@ namespace osu.Game.Input.Bindings
|
||||
new KeyBinding(new[] { InputKey.Control, InputKey.Tilde }, GlobalAction.QuickExit),
|
||||
new KeyBinding(new[] { InputKey.Control, InputKey.Plus }, GlobalAction.IncreaseScrollSpeed),
|
||||
new KeyBinding(new[] { InputKey.Control, InputKey.Minus }, GlobalAction.DecreaseScrollSpeed),
|
||||
new KeyBinding(InputKey.MouseMiddle, GlobalAction.PauseGameplay),
|
||||
};
|
||||
|
||||
public IEnumerable<KeyBinding> AudioControlKeyBindings => new[]
|
||||
@ -157,5 +158,8 @@ namespace osu.Game.Input.Bindings
|
||||
|
||||
[Description("Home")]
|
||||
Home,
|
||||
|
||||
[Description("Pause")]
|
||||
PauseGameplay,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user