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