2018-01-05 11:21:19 +00:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
2017-08-20 13:21:16 +00:00
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using osu.Framework.Input.Bindings;
|
2017-08-21 03:31:21 +00:00
|
|
|
|
using osu.Game.Rulesets.UI;
|
2017-08-20 13:21:16 +00:00
|
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Taiko
|
|
|
|
|
{
|
2017-08-21 03:31:21 +00:00
|
|
|
|
public class TaikoInputManager : RulesetInputManager<TaikoAction>
|
2017-08-20 13:21:16 +00:00
|
|
|
|
{
|
|
|
|
|
public TaikoInputManager(RulesetInfo ruleset)
|
|
|
|
|
: base(ruleset, 0, SimultaneousBindingMode.Unique)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum TaikoAction
|
|
|
|
|
{
|
|
|
|
|
[Description("Left (Rim)")]
|
|
|
|
|
LeftRim,
|
|
|
|
|
[Description("Left (Centre)")]
|
|
|
|
|
LeftCentre,
|
|
|
|
|
[Description("Right (Centre)")]
|
|
|
|
|
RightCentre,
|
|
|
|
|
[Description("Right (Rim)")]
|
|
|
|
|
RightRim
|
|
|
|
|
}
|
|
|
|
|
}
|