2017-08-10 09:28:43 +00:00
|
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
2017-08-14 11:19:25 +00:00
|
|
|
|
using System.ComponentModel;
|
2017-08-11 07:11:46 +00:00
|
|
|
|
using osu.Framework.Input.Bindings;
|
2017-08-21 03:31:21 +00:00
|
|
|
|
using osu.Game.Rulesets.UI;
|
2017-08-10 09:28:43 +00:00
|
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Osu
|
|
|
|
|
{
|
2017-08-21 03:31:21 +00:00
|
|
|
|
public class OsuInputManager : RulesetInputManager<OsuAction>
|
2017-08-10 09:28:43 +00:00
|
|
|
|
{
|
2017-08-17 08:47:44 +00:00
|
|
|
|
public OsuInputManager(RulesetInfo ruleset) : base(ruleset, 0, SimultaneousBindingMode.Unique)
|
2017-08-10 09:28:43 +00:00
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum OsuAction
|
|
|
|
|
{
|
2017-08-14 11:19:25 +00:00
|
|
|
|
[Description("Left Button")]
|
2017-08-10 09:28:43 +00:00
|
|
|
|
LeftButton,
|
2017-08-14 11:19:25 +00:00
|
|
|
|
[Description("Right Button")]
|
2017-08-10 09:28:43 +00:00
|
|
|
|
RightButton
|
|
|
|
|
}
|
|
|
|
|
}
|