public void SetDefault(sbyte priority, IEC commands) { Default = new PrioCommand(priority, commands); }
public KeyMap() { Default = new PrioCommand(sbyte.MinValue, new ICommand[] { new Command.Ignore() }); _map = new Dictionary<KeyInput, PrioCommand>(); }
public void Add(Key _base, ModifierType _modifiers, sbyte priority, IEC command) { _map[new KeyInput(_base, _modifiers)] = new PrioCommand(priority, command); }