I tried four types of mouse controller to move my mouse in video game(like valorant), but they all didn't work. why?
import time
import win32api
import pyautogui
import pydirectinput
import mouse
print('start')
time.sleep(1)
print("type1")
pyautogui.moveTo(300, 300, 2)
time.sleep(1)
print("type2")
pydirectinput.moveTo(300, 300)
time.sleep(1)
print("type3")
mouse.move("300", "300")
time.sleep(1)
print("type4")
win32api.SetCursorPos((300,300))
print("done")