Beispiel #1
0
 public static void PerformActionThroughKeybind(LalaSlot lala, Enums.KeybindAction action, int kbWaitInMs)
 {
     if (action == Enums.KeybindAction.DiagLeft)
     {
         SendTwoKeysSync(lala.Window, Keys.W, Keys.Q, kbWaitInMs);
     }
     else if (action == Enums.KeybindAction.DiagRight)
     {
         SendTwoKeysSync(lala.Window, Keys.W, Keys.E, kbWaitInMs);
     }
     else
     {
         Keys k = Enums.GetKeyFromKeybindAction(action);
         SendSyncKey(lala.Window, k, kbWaitInMs);
     }
 }
Beispiel #2
0
        public static void PerformActionThroughKeybind(LalaSlot lala, Enums.KeybindAction action)
        {
            Keys k = Enums.GetKeyFromKeybindAction(action);

            SendSyncKey(lala.Window, k);
        }