Automatic Keystrokes (AutoKey) is a project with the aim of automating text copying in closed systems
- Arduino Leonardo
- USB UART
- USBasp Programmer
This device allows connection to the COM/Serial port between the Arduino and the machine that will send the commands for automatic text copying
https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads
This device will allow you to upload the Autokey program to the Arduino, configure the core files and eliminate the bootloader
Remove CDC Class disables the Arduino Serial Port, the Arduino will only be detected as a HID device (keyboard or mouse)
On Windows the file is commonly located in:
C:\Users\{USER}\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino\USBDesc.h
//#define CDC_DISABLED
https://github.com/smenaaliaga/autokey/main/main.ino
-> Tools -> Board -> Arduino AVR Boards -> Arduino Leonardo
-> Tools -> Programmer -> USBasp
-> Sketch -> Upload Using Programmer
https://github.com/smenaaliaga/autokey_webui
#define CDC_DISABLED
-> Tools -> Burn Bootloader
- https://www.instructables.com/Fixing-Bootloader-on-Arduino-Leonardo-ProMicro-Wit/
- https://www.fischl.de/usbasp/
- https://electronics.stackexchange.com/questions/416714/avrdude-does-not-recognize-usbasp-device/417509#417509
- https://forum.arduino.cc/t/removing-the-bootloader/534266
- arduino/ArduinoCore-avr#383