1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-21 11:52:55 +08:00
osu-lazer/osu.Game.Rulesets.Mania/ManiaInputManager.cs

83 lines
1.6 KiB
C#
Raw Normal View History

// 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.
2018-04-13 17:19:50 +08:00
using System.ComponentModel;
using osu.Framework.Input.Bindings;
using osu.Game.Rulesets.UI;
namespace osu.Game.Rulesets.Mania
{
public class ManiaInputManager : RulesetInputManager<ManiaAction>
{
public ManiaInputManager(RulesetInfo ruleset, int variant)
: base(ruleset, variant, SimultaneousBindingMode.Unique)
{
}
}
public enum ManiaAction
{
[Description("Special 1")]
Special1 = 1,
2019-02-28 12:31:40 +08:00
2018-04-13 17:19:50 +08:00
[Description("Special 2")]
Special2,
// This offsets the start value of normal keys in-case we add more special keys
// above at a later time, without breaking replays/configs.
[Description("Key 1")]
Key1 = 10,
2019-02-28 12:31:40 +08:00
2018-04-13 17:19:50 +08:00
[Description("Key 2")]
Key2,
2019-02-28 12:31:40 +08:00
2018-04-13 17:19:50 +08:00
[Description("Key 3")]
Key3,
2019-02-28 12:31:40 +08:00
2018-04-13 17:19:50 +08:00
[Description("Key 4")]
Key4,
2019-02-28 12:31:40 +08:00
2018-04-13 17:19:50 +08:00
[Description("Key 5")]
Key5,
2019-02-28 12:31:40 +08:00
2018-04-13 17:19:50 +08:00
[Description("Key 6")]
Key6,
2019-02-28 12:31:40 +08:00
2018-04-13 17:19:50 +08:00
[Description("Key 7")]
Key7,
2019-02-28 12:31:40 +08:00
2018-04-13 17:19:50 +08:00
[Description("Key 8")]
Key8,
2019-02-28 12:31:40 +08:00
2018-04-13 17:19:50 +08:00
[Description("Key 9")]
Key9,
2019-02-28 12:31:40 +08:00
2018-04-13 17:19:50 +08:00
[Description("Key 10")]
Key10,
2019-02-28 12:31:40 +08:00
2018-04-13 17:19:50 +08:00
[Description("Key 11")]
Key11,
2019-02-28 12:31:40 +08:00
2018-04-13 17:19:50 +08:00
[Description("Key 12")]
Key12,
2019-02-28 12:31:40 +08:00
2018-04-13 17:19:50 +08:00
[Description("Key 13")]
Key13,
2019-02-28 12:31:40 +08:00
2018-04-13 17:19:50 +08:00
[Description("Key 14")]
Key14,
2019-02-28 12:31:40 +08:00
2018-04-13 17:19:50 +08:00
[Description("Key 15")]
Key15,
2019-02-28 12:31:40 +08:00
2018-04-13 17:19:50 +08:00
[Description("Key 16")]
Key16,
2019-02-28 12:31:40 +08:00
2018-04-13 17:19:50 +08:00
[Description("Key 17")]
Key17,
2019-02-28 12:31:40 +08:00
2018-04-13 17:19:50 +08:00
[Description("Key 18")]
Key18,
}
}