コード例 #1
0
 /// <summary>
 /// This is to register two callbacks when keys are pressed some key combos wont raise the OnCharacterKeysPressed
 /// As for control keys at the moment its required that update is called for it to function properly.
 /// </summary>
 public static void AddMethodsToRaiseOnKeyBoardActivity <T>(Action <char, Keys> textInputMethodToCall, Action <Keys, Keys, Keys> controlKeysMethodToCall, T t)
 {
     ActionTextInputPoolingList.InitialRegistration(textInputMethodToCall, t);
     ActionKeyCommandsInputPoolingList.InitialRegistration(controlKeysMethodToCall, t);
 }
コード例 #2
0
 public static void AddMethodToRaiseOnCommandInput <T>(Action <Keys, Keys, Keys> method, T t)
 {
     ActionKeyCommandsInputPoolingList.InitialRegistration(method, t);
 }