mirror of
https://github.com/ppy/osu.git
synced 2024-12-17 05:13:21 +08:00
30 lines
817 B
C#
30 lines
817 B
C#
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|||
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|||
|
|
|||
|
using System.ComponentModel;
|
|||
|
using osu.Framework.Input.Bindings;
|
|||
|
using osu.Game.Input.Bindings;
|
|||
|
|
|||
|
namespace osu.Game.Rulesets.Taiko
|
|||
|
{
|
|||
|
public class TaikoInputManager : DatabasedKeyBindingInputManager<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
|
|||
|
}
|
|||
|
}
|