// Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.Collections.Generic; using osu.Game.Input; using OpenTK.Input; namespace osu.Game.Rulesets.Catch { public class CatchInputManager : ActionMappingInputManager { public CatchInputManager(RulesetInfo ruleset) : base(ruleset) { Mappings = new Dictionary { { Key.Z, CatchAction.MoveLeft }, { Key.Left, CatchAction.MoveLeft }, { Key.X, CatchAction.MoveRight }, { Key.Right, CatchAction.MoveRight }, { Key.LShift, CatchAction.Dash }, { Key.RShift, CatchAction.Dash }, }; } } public enum CatchAction { MoveLeft, MoveRight, Dash } }