2022-06-21 19:03:46 +08:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
2022-08-07 23:11:15 +08:00
|
|
|
using osu.Framework.Localisation;
|
2022-06-21 19:03:46 +08:00
|
|
|
using osu.Game.Rulesets.Mods;
|
2022-08-07 23:11:15 +08:00
|
|
|
using osu.Game.Localisation;
|
2022-06-21 19:03:46 +08:00
|
|
|
|
|
|
|
namespace osu.Game.Overlays.Mods.Input
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// The style of hotkey handling to use on the mod select screen.
|
|
|
|
/// </summary>
|
|
|
|
public enum ModSelectHotkeyStyle
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Each letter row on the keyboard controls one of the three first <see cref="ModColumn"/>s.
|
|
|
|
/// Individual letters in a row trigger the mods in a sequential fashion.
|
|
|
|
/// Uses <see cref="SequentialModHotkeyHandler"/>.
|
|
|
|
/// </summary>
|
2022-08-09 22:35:19 +08:00
|
|
|
[LocalisableDescription(typeof(UserInterfaceStrings), nameof(UserInterfaceStrings.SequentialHotkeyStyle))]
|
2022-06-21 19:03:46 +08:00
|
|
|
Sequential,
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Matches keybindings from stable 1:1.
|
|
|
|
/// One keybinding can toggle between what used to be <see cref="MultiMod"/>s on stable,
|
|
|
|
/// and some mods in a column may not have any hotkeys at all.
|
|
|
|
/// </summary>
|
2022-08-09 22:35:19 +08:00
|
|
|
[LocalisableDescription(typeof(UserInterfaceStrings), nameof(UserInterfaceStrings.ClassicHotkeyStyle))]
|
2022-06-21 19:03:46 +08:00
|
|
|
Classic
|
|
|
|
}
|
|
|
|
}
|