mirror of
https://github.com/ppy/osu
synced 2024-12-23 15:22:37 +00:00
37 lines
896 B
C#
37 lines
896 B
C#
// 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.
|
|
|
|
#nullable disable
|
|
|
|
using System.ComponentModel;
|
|
using osu.Framework.Allocation;
|
|
using osu.Framework.Input.Bindings;
|
|
using osu.Game.Rulesets.UI;
|
|
|
|
namespace osu.Game.Rulesets.Taiko
|
|
{
|
|
[Cached] // Used for touch input, see DrumTouchInputArea.
|
|
public partial class TaikoInputManager : RulesetInputManager<TaikoAction>
|
|
{
|
|
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
|
|
}
|
|
}
|