mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Add mania bindings.
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using System.ComponentModel;
|
||||
using osu.Framework.Input.Bindings;
|
||||
using osu.Game.Rulesets.UI;
|
||||
|
||||
@ -8,14 +9,33 @@ namespace osu.Game.Rulesets.Mania
|
||||
{
|
||||
public class ManiaInputManager : RulesetInputManager<ManiaAction>
|
||||
{
|
||||
public ManiaInputManager(RulesetInfo ruleset)
|
||||
: base(ruleset, 0, SimultaneousBindingMode.Unique)
|
||||
public ManiaInputManager(RulesetInfo ruleset, int variant)
|
||||
: base(ruleset, variant, SimultaneousBindingMode.Unique)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public enum ManiaAction
|
||||
{
|
||||
// placeholder
|
||||
[Description("Key 1")]
|
||||
Key1,
|
||||
[Description("Key 2")]
|
||||
Key2,
|
||||
[Description("Key 3")]
|
||||
Key3,
|
||||
[Description("Key 4")]
|
||||
Key4,
|
||||
[Description("Key 5")]
|
||||
Key5,
|
||||
[Description("Key 6")]
|
||||
Key6,
|
||||
[Description("Key 7")]
|
||||
Key7,
|
||||
[Description("Key 8")]
|
||||
Key8,
|
||||
[Description("Key 9")]
|
||||
Key9,
|
||||
[Description("Special")]
|
||||
Special
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user