mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Add global actions; improve default assignment
This commit is contained in:
@ -11,16 +11,17 @@ namespace osu.Game.Rulesets.Catch
|
||||
{
|
||||
public CatchInputManager(RulesetInfo ruleset) : base(ruleset)
|
||||
{
|
||||
Mappings = new Dictionary<Key, CatchAction>
|
||||
{
|
||||
{ Key.Z, CatchAction.MoveLeft },
|
||||
{ Key.Left, CatchAction.MoveLeft },
|
||||
{ Key.X, CatchAction.MoveRight },
|
||||
{ Key.Right, CatchAction.MoveRight },
|
||||
{ Key.LShift, CatchAction.Dash },
|
||||
{ Key.RShift, CatchAction.Dash },
|
||||
};
|
||||
}
|
||||
|
||||
protected override IDictionary<Key, CatchAction> CreateDefaultMappings() => new Dictionary<Key, CatchAction>
|
||||
{
|
||||
{ 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
|
||||
|
Reference in New Issue
Block a user