This project rely on Teensy board in order to build a keyboard/mouse emulator over UART (Usefull for automated tests)
- Download and install arduino 1.8.19 https://downloads.arduino.cc/arduino-1.8.19-windows.exe
- Download and install https://www.pjrc.com/teensy/td_158/TeensyduinoInstall.exe
- Open the ino project
- In arduino IDE
- Tools > Board > Teensyduino > Teensy 2.0
- Tools > USB Type > Keyboard + Mouse + Joystick
- Build & Run
- Download and install https://www.pjrc.com/teensy/teensy.exe
- Start and load .hex file from this projet
- Plug your board and press the button
- Done the board is flash.
Plug an UART on the Teensy 2.0 B2(RX) and B3(TX) Open a Serial Terminal with parameters: 9600 8N1 Type "help"
Set the mouse pointer to absolute position 150x150 and double click
mouse move 150 150
mouse dblclick
Send string "Hello world"
str hello world
Send key "ENTER"
key ENTER
Send "CTRL+ALT+SUPPR"
key CTRL ALT DELETE