2018-04-13 17:19:50 +08:00
|
|
|
|
// Copyright (c) 2007-2018 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;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Taiko
|
|
|
|
|
{
|
|
|
|
|
public class TaikoInputManager : RulesetInputManager<TaikoAction>
|
|
|
|
|
{
|
|
|
|
|
public TaikoInputManager(RulesetInfo ruleset)
|
|
|
|
|
: base(ruleset, 0, SimultaneousBindingMode.Unique)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum TaikoAction
|
|
|
|
|
{
|
2018-09-15 22:30:11 +08:00
|
|
|
|
[Description("Left (rim)")]
|
2018-04-13 17:19:50 +08:00
|
|
|
|
LeftRim,
|
2018-09-15 22:30:11 +08:00
|
|
|
|
[Description("Left (centre)")]
|
2018-04-13 17:19:50 +08:00
|
|
|
|
LeftCentre,
|
2018-09-15 22:30:11 +08:00
|
|
|
|
[Description("Right (centre)")]
|
2018-04-13 17:19:50 +08:00
|
|
|
|
RightCentre,
|
2018-09-15 22:30:11 +08:00
|
|
|
|
[Description("Right (rim)")]
|
2018-04-13 17:19:50 +08:00
|
|
|
|
RightRim
|
|
|
|
|
}
|
|
|
|
|
}
|