mirror of https://github.com/ppy/osu
Use media keys as default bindings for jukebox.
This commit is contained in:
parent
fdf76be967
commit
7825923cb6
|
@ -45,9 +45,9 @@ public GlobalActionContainer(OsuGameBase game)
|
|||
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 @@ public bool PlayTrack()
|
|||
{
|
||||
if (beatmap.Disabled) return false;
|
||||
|
||||
play();
|
||||
togglePause();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue