/// <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); }
public static void AddMethodToRaiseOnCommandInput <T>(Action <Keys, Keys, Keys> method, T t) { ActionKeyCommandsInputPoolingList.InitialRegistration(method, t); }