Beispiel #1
0
 public InputChordAction(string name, IList <InputKey> keys, int button)
 {
     _name  = name;
     _chord = InputManager.CreateKeyChord(keys, button);
 }
Beispiel #2
0
 public InputChordAction(string name, IList <int> buttons)
 {
     _name  = name;
     _chord = InputManager.CreateKeyChord(buttons);
 }
Beispiel #3
0
 public InputChordAction(string name, InputKey key)
 {
     _name  = name;
     _chord = InputManager.CreateKeyChord(key);
 }
Beispiel #4
0
 public InputChordAction(string name, int button)
 {
     _name  = name;
     _chord = InputManager.CreateKeyChord(button);
 }
Beispiel #5
0
 public static void UnregisterKeyChord(InputKeyChord chord)
 {
     instance.InternalUnregisterKeyChord((KeyChord)chord);
 }