Make your Raspberry Pi act like a Keyboard via HID emulation.
The main purpose of this script is to make the Pi emulate a keyboard when connected to a computer.
This project is voluntary work and is small and simple designed to be used as a base for more complex projects (like hot keyboard remapping, etc)
This has been tested on my Raspberry Pi Zero W on the 21st of March 2016.
Since 2017 the default Kernel on the Rpi W seems broken with keyboard emulation. To fix the problem upgrade to the latest version with the rpi-update
command (not installed by default)
On the Pi and run the setup script.
$ sudo ./setup.sh
$ sudo reboot
This script will send scancodes to the computer connected to the Pi.
$ sudo test.sh