mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:42:55 +08: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.Enter, GlobalAction.Select),
|
||||||
new KeyBinding(InputKey.KeypadEnter, GlobalAction.Select),
|
new KeyBinding(InputKey.KeypadEnter, GlobalAction.Select),
|
||||||
|
|
||||||
new KeyBinding(InputKey.F1, GlobalAction.MusicPrev),
|
new KeyBinding(InputKey.TrackPrevious, GlobalAction.MusicPrev),
|
||||||
new KeyBinding(InputKey.F5, GlobalAction.MusicNext),
|
new KeyBinding(InputKey.TrackNext, GlobalAction.MusicNext),
|
||||||
new KeyBinding(InputKey.F3, GlobalAction.MusicPlay),
|
new KeyBinding(InputKey.PlayPause, GlobalAction.MusicPlay),
|
||||||
};
|
};
|
||||||
|
|
||||||
public IEnumerable<KeyBinding> InGameKeyBindings => new[]
|
public IEnumerable<KeyBinding> InGameKeyBindings => new[]
|
||||||
|
@ -565,7 +565,7 @@ namespace osu.Game.Overlays
|
|||||||
{
|
{
|
||||||
if (beatmap.Disabled) return false;
|
if (beatmap.Disabled) return false;
|
||||||
|
|
||||||
play();
|
togglePause();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user