mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 17:23:22 +08:00
Add global actions for game-wide music jukebox manipulation
This commit is contained in:
parent
df75f9d312
commit
70372dd03d
@ -38,6 +38,10 @@ namespace osu.Game.Input.Bindings
|
||||
new KeyBinding(InputKey.MouseWheelDown, GlobalAction.DecreaseVolume),
|
||||
new KeyBinding(InputKey.F4, GlobalAction.ToggleMute),
|
||||
|
||||
new KeyBinding(InputKey.F5, GlobalAction.MusicPrev),
|
||||
new KeyBinding(InputKey.F6, GlobalAction.MusicNext),
|
||||
new KeyBinding(InputKey.X, GlobalAction.MusicPlay),
|
||||
|
||||
new KeyBinding(InputKey.Escape, GlobalAction.Back),
|
||||
new KeyBinding(InputKey.MouseButton1, GlobalAction.Back),
|
||||
|
||||
@ -88,6 +92,16 @@ namespace osu.Game.Input.Bindings
|
||||
[Description("Toggle mute")]
|
||||
ToggleMute,
|
||||
|
||||
// Game-wide beatmap jukebox keybindings
|
||||
[Description("Jukebox next track")]
|
||||
MusicNext,
|
||||
|
||||
[Description("Jukebox previous track")]
|
||||
MusicPrev,
|
||||
|
||||
[Description("Jukebox play / pause current track")]
|
||||
MusicPlay,
|
||||
|
||||
// In-Game Keybindings
|
||||
[Description("Skip cutscene")]
|
||||
SkipCutscene,
|
||||
|
Loading…
Reference in New Issue
Block a user