diff --git a/osu.Game.Rulesets.Gitaroo/GitarooInputManager.cs b/osu.Game.Rulesets.Gitaroo/GitarooInputManager.cs index b6f37e9..b651edb 100644 --- a/osu.Game.Rulesets.Gitaroo/GitarooInputManager.cs +++ b/osu.Game.Rulesets.Gitaroo/GitarooInputManager.cs @@ -17,10 +17,10 @@ public GitarooInputManager(RulesetInfo ruleset) public enum GitarooAction { - [Description("Button 1")] - Button1, + [Description("Left button")] + LeftButton, - [Description("Button 2")] - Button2, + [Description("Right button")] + RightButton, } } diff --git a/osu.Game.Rulesets.Gitaroo/GitarooRuleset.cs b/osu.Game.Rulesets.Gitaroo/GitarooRuleset.cs index ae2b0ae..cb242c8 100644 --- a/osu.Game.Rulesets.Gitaroo/GitarooRuleset.cs +++ b/osu.Game.Rulesets.Gitaroo/GitarooRuleset.cs @@ -44,8 +44,8 @@ public override IEnumerable GetModsFor(ModType type) public override IEnumerable GetDefaultKeyBindings(int variant = 0) => new[] { - new KeyBinding(InputKey.Z, GitarooAction.Button1), - new KeyBinding(InputKey.X, GitarooAction.Button2), + new KeyBinding(InputKey.Z, GitarooAction.LeftButton), + new KeyBinding(InputKey.X, GitarooAction.RightButton), }; public override Drawable CreateIcon() => new SpriteText diff --git a/osu.Game.Rulesets.Gitaroo/UI/CenterCircle/CenterCircle.cs b/osu.Game.Rulesets.Gitaroo/UI/CenterCircle/CenterCircle.cs index 7f8d022..e6ddc95 100644 --- a/osu.Game.Rulesets.Gitaroo/UI/CenterCircle/CenterCircle.cs +++ b/osu.Game.Rulesets.Gitaroo/UI/CenterCircle/CenterCircle.cs @@ -72,8 +72,8 @@ public bool OnPressed(KeyBindingPressEvent e) { switch (e.Action) { - case GitarooAction.Button1: - case GitarooAction.Button2: + case GitarooAction.LeftButton: + case GitarooAction.RightButton: downCount++; UpdateCircle(downCount); break; @@ -86,8 +86,8 @@ public void OnReleased(KeyBindingReleaseEvent e) { switch (e.Action) { - case GitarooAction.Button1: - case GitarooAction.Button2: + case GitarooAction.LeftButton: + case GitarooAction.RightButton: downCount = Math.Max(0, downCount - 1); if (downCount == 0)