2019-01-24 16:43:03 +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.
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
|
|
|
|
using System.ComponentModel;
|
2022-03-10 16:42:58 +08:00
|
|
|
|
using osu.Framework.Allocation;
|
2018-04-13 17:19:50 +08:00
|
|
|
|
using osu.Framework.Input.Bindings;
|
|
|
|
|
using osu.Game.Rulesets.UI;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Taiko
|
|
|
|
|
{
|
2022-03-10 16:42:58 +08:00
|
|
|
|
[Cached] // Used for touch input, see DrumTouchInputArea.
|
2022-11-24 13:32:20 +08:00
|
|
|
|
public partial class TaikoInputManager : RulesetInputManager<TaikoAction>
|
2018-04-13 17:19:50 +08:00
|
|
|
|
{
|
|
|
|
|
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,
|
2019-02-28 12:31:40 +08:00
|
|
|
|
|
2018-09-15 22:30:11 +08:00
|
|
|
|
[Description("Left (centre)")]
|
2018-04-13 17:19:50 +08:00
|
|
|
|
LeftCentre,
|
2019-02-28 12:31:40 +08:00
|
|
|
|
|
2018-09-15 22:30:11 +08:00
|
|
|
|
[Description("Right (centre)")]
|
2018-04-13 17:19:50 +08:00
|
|
|
|
RightCentre,
|
2019-02-28 12:31:40 +08:00
|
|
|
|
|
2018-09-15 22:30:11 +08:00
|
|
|
|
[Description("Right (rim)")]
|
2018-04-13 17:19:50 +08:00
|
|
|
|
RightRim
|
|
|
|
|
}
|
|
|
|
|
}
|