Exemple #1
0
 public void SetupActivatorListening()
 {
     KeyboardHook.ClearKeyPressedEvent();
     KeyboardHook.KeyPressedEvent += GetNextPressedKeyAsActivator;
     BotHelper.WaitingForKeyPressIndicator();
 }
Exemple #2
0
 public void GetNextPressedKeyAsActivator(object sender, KeyPressedEventArgs e)
 {
     ActivatorvkCode = e.vkCode;
     KeyboardHook.KeyPressedEvent -= GetNextPressedKeyAsActivator;
     BotHelper.VkCodeSet(e.vkCode);
 }