analog button python
pip install pypiwin32
installation library
import win32con
import win32api
import time
Importing
Figuratively
analog A
win32api.keybd_event (65,0,0,0) # Press
time.sleep (0.1) # delay for a while
win32api.keybd_event(65,0,win32con.KEYEVENTF_KEYUP,0) #松开
that's it
Keyboard codes corresponding to: https: //www.cnblogs.com/pygo/p/12078119.html
Here.
Q group: 592 857 363