mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
ActionMapping doesn't support concurrent actions by default
But can when required. Also supports key combination bindings now.
This commit is contained in:
@ -9,11 +9,11 @@ namespace osu.Game.Rulesets.Catch
|
||||
{
|
||||
public class CatchInputManager : ActionMappingInputManager<CatchAction>
|
||||
{
|
||||
public CatchInputManager(RulesetInfo ruleset) : base(ruleset)
|
||||
public CatchInputManager(RulesetInfo ruleset) : base(ruleset, allowConcurrentActions: true)
|
||||
{
|
||||
}
|
||||
|
||||
protected override IDictionary<Key, CatchAction> CreateDefaultMappings() => new Dictionary<Key, CatchAction>
|
||||
protected override IDictionary<KeyCombination, CatchAction> CreateDefaultMappings() => new Dictionary<KeyCombination, CatchAction>
|
||||
{
|
||||
{ Key.Z, CatchAction.MoveLeft },
|
||||
{ Key.Left, CatchAction.MoveLeft },
|
||||
|
Reference in New Issue
Block a user