mirror of
https://github.com/ppy/osu
synced 2025-01-02 12:22:13 +00:00
Use media keys as default bindings for jukebox.
This commit is contained in:
parent
fdf76be967
commit
7825923cb6
@ -45,9 +45,9 @@ namespace osu.Game.Input.Bindings
|
||||
new KeyBinding(InputKey.Enter, GlobalAction.Select),
|
||||
new KeyBinding(InputKey.KeypadEnter, GlobalAction.Select),
|
||||
|
||||
new KeyBinding(InputKey.F1, GlobalAction.MusicPrev),
|
||||
new KeyBinding(InputKey.F5, GlobalAction.MusicNext),
|
||||
new KeyBinding(InputKey.F3, GlobalAction.MusicPlay),
|
||||
new KeyBinding(InputKey.TrackPrevious, GlobalAction.MusicPrev),
|
||||
new KeyBinding(InputKey.TrackNext, GlobalAction.MusicNext),
|
||||
new KeyBinding(InputKey.PlayPause, GlobalAction.MusicPlay),
|
||||
};
|
||||
|
||||
public IEnumerable<KeyBinding> InGameKeyBindings => new[]
|
||||
|
@ -565,7 +565,7 @@ namespace osu.Game.Overlays
|
||||
{
|
||||
if (beatmap.Disabled) return false;
|
||||
|
||||
play();
|
||||
togglePause();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user