I am a rookie in arduino and I want to know whether my plan is feasible.
I have already learned that arduino leonardo can simulate mouse and keyboard. However, I want to use a C++/Python script to tell arduino leonardo which key to press, then arduino leonardo can simulate the keyboard and mouse operation. Just like the graph shows below:
You may wonder why not using script to control mouse and keyboard directly, such as pyautogui
in python. The reason is some programs on computer will block these scripts.(Many AAA PC games such as sekiro and dark souls).
Would you please tell me whether my plan is feasible? If so, how to do ? I am looking forward to your reply and thanks in advance!