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