This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
2012-09-04 17:46:34 +00:00
|
|
|
USB to USB keyboard protocol converter
|
|
|
|
======================================
|
|
|
|
|
|
|
|
Hardware requirement
|
|
|
|
--------------------
|
|
|
|
Arduino Leonardo
|
|
|
|
http://arduino.cc/en/Main/ArduinoBoardLeonardo
|
|
|
|
|
2014-01-05 03:45:52 +00:00
|
|
|
Circuit@Home USB Host Shield 2.0
|
2012-09-04 17:46:34 +00:00
|
|
|
http://www.circuitsathome.com/products-page/arduino-shields/usb-host-shield-2-0-for-arduino
|
|
|
|
|
|
|
|
|
|
|
|
Build firmware
|
|
|
|
--------------
|
|
|
|
$ git clone git://github.com/tmk/tmk_keyboard.git
|
|
|
|
$ cd tmk_keyboard
|
|
|
|
$ git submodule init
|
|
|
|
$ git submodule update
|
|
|
|
$ cd converter/usb_usb
|
|
|
|
$ make
|
|
|
|
|
2014-12-10 05:35:46 +00:00
|
|
|
Program converter. Push reset button on Leonardo before run this command. Serial port name(COM17) depends your system. On Linux I got /dev/ttyACM0.
|
|
|
|
|
|
|
|
$ DEV=COM17 make program
|
|
|
|
or
|
|
|
|
$ avrdude -patmega32u4 -cavr109 -b57600 -Uflash:w:usb_usb.hex -PCOM17
|
2012-09-04 17:46:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Limitation
|
|
|
|
----------
|
|
|
|
Only supports 'HID Boot protocol'.
|
|
|
|
Not support keyboard LED yet.
|
2014-12-10 05:35:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
Resource
|
|
|
|
--------
|
|
|
|
http://deskthority.net/workshop-f7/is-remapping-a-usb-keyboard-using-teensy-possible-t2841.html
|
|
|
|
https://github.com/felis/USB_Host_Shield_2.0
|
|
|
|
https://github.com/arduino/Arduino/hardware/arduino/{cores,variants}
|