Hi there, I am making a project with my Arduino pro micro. To make it simple, I'm making a keyboard that can be reconfigured by a user interface on a computer.
On my Arduino, I activate the keyboard.h, Keyboard.begin(); and Serial.begin(9600); All I'm doing is reading the incoming messages on the COM port and do actions depending on the received message.
With only "keyboard.h, Keyboard.begin(); and Serial.begin(9600);" , the Arduino is on the COM Port 26. Using AutoHotKey, I connected to the COM Port 26 and then send my messages to the Arduino. Everything works flawlessly.
The problem is the following
I want to add a way to move the mouse with the keyboard too. Once I add Mouse.h and Mouse.begin(); The com port switches from COM26 to COM9. There is absolutely NO WAY to connect to COM9 using AHK and I don't know why...
TLDR; Without Mouse.h, My arduino is set to COM26. Once Mouse.h is added, My arduino is set to COM9 which doesn't work with AHK idk why.
If anyone have a clue, please help me :p