Skip to content

This project rely on Teensy board to build a keyboard mouse emulator allowing to automate tests via hardware keyboard/mouse

Notifications You must be signed in to change notification settings

o0Zz/ozKeyboardMouseEmul

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

ozKeyboardMouseEmul

This project rely on Teensy board in order to build a keyboard/mouse emulator over UART (Usefull for automated tests)

Prerequisite for developement

  1. Download and install arduino 1.8.19 https://downloads.arduino.cc/arduino-1.8.19-windows.exe
  2. Download and install https://www.pjrc.com/teensy/td_158/TeensyduinoInstall.exe

Development

  1. Open the ino project
  2. In arduino IDE
  • Tools > Board > Teensyduino > Teensy 2.0
  • Tools > USB Type > Keyboard + Mouse + Joystick
  1. Build & Run

Getting start

Flash it

  1. Download and install https://www.pjrc.com/teensy/teensy.exe
  2. Start and load .hex file from this projet
  3. Plug your board and press the button
  4. Done the board is flash.

Use it.

Plug an UART on the Teensy 2.0 B2(RX) and B3(TX) Open a Serial Terminal with parameters: 9600 8N1 Type "help"

Example

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

Teensy 2.0 Pinout

image

Reference

https://www.pjrc.com/teensy/

https://fr.aliexpress.com/item/1005005343794027.html

About

This project rely on Teensy board to build a keyboard mouse emulator allowing to automate tests via hardware keyboard/mouse

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages