1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-07 05:07:21 +08:00
osu-lazer/osu.Game.Rulesets.Taiko/TaikoInputManager.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
775 B
C#
Raw Permalink Normal View History

// 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 18:19:50 +09:00
2017-08-20 22:21:16 +09:00
using System.ComponentModel;
using osu.Framework.Input.Bindings;
using osu.Game.Rulesets.UI;
2018-04-13 18:19:50 +09:00
2017-08-20 22:21:16 +09:00
namespace osu.Game.Rulesets.Taiko
{
public class TaikoInputManager : RulesetInputManager<TaikoAction>
2017-08-20 22:21:16 +09:00
{
public TaikoInputManager(RulesetInfo ruleset)
: base(ruleset, 0, SimultaneousBindingMode.Unique)
{
}
}
2018-04-13 18:19:50 +09:00
2017-08-20 22:21:16 +09:00
public enum TaikoAction
{
2018-09-15 07:30:11 -07:00
[Description("Left (rim)")]
2017-08-20 22:21:16 +09:00
LeftRim,
2019-02-28 13:31:40 +09:00
2018-09-15 07:30:11 -07:00
[Description("Left (centre)")]
2017-08-20 22:21:16 +09:00
LeftCentre,
2019-02-28 13:31:40 +09:00
2018-09-15 07:30:11 -07:00
[Description("Right (centre)")]
2017-08-20 22:21:16 +09:00
RightCentre,
2019-02-28 13:31:40 +09:00
2018-09-15 07:30:11 -07:00
[Description("Right (rim)")]
2017-08-20 22:21:16 +09:00
RightRim
}
}