Harvie / ps2dev

Arduino library to emulate PS2 keyboard/mouse
MIT License
114 stars 27 forks source link
arduino-library ps2-keyboard-libraries

Arduino ps2dev library

This library allows arduino to emulate ps2 keyboard and/or mouse, so you can implement your own ps2 keyboard or whatever...

I want to improve this, provide better documentation and arduino library manager package for it...

Originaly from:

Further reading:

Electrical connections

The following is an easy way to get started:

Arduino pin PS/2 pin example color (on a HP mouse)
2 DATA brown
3 CLK orange
GND GND green

There is no need to connect the VCC. If you want to use different pins on the Arduino side you can just adjust the call to the PS2dev constructor. In theory this should allow you to emulate multiple keyboard on one Arduino but this has not been tested.

Notes

TODO

Special thanks