1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/converter/usb_usb
2014-09-22 10:42:20 +09:00
..
config.h Adhoc fix compile error of usb_usb 2014-09-22 10:42:20 +09:00
keymap.c Fix keymap to adjust new keyboard.c. 2012-10-19 15:33:02 +09:00
led.c Add USB to USB converter. unmature. 2012-08-28 21:56:15 +09:00
main.cpp Adhoc fix compile error of usb_usb 2014-09-22 10:42:20 +09:00
Makefile Fix BOOTLOADER_SIZE setting 2013-03-29 11:31:21 +09:00
matrix.c Fix projects for new keycodes 2012-10-17 21:43:44 +09:00
README Spellchecking converter README files. 2014-01-07 11:03:18 +09:00

USB to USB keyboard protocol converter
======================================

Hardware requirement
--------------------
Arduino Leonardo
    http://arduino.cc/en/Main/ArduinoBoardLeonardo 

Circuit@Home USB Host Shield 2.0
    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 checkout usb_hid
    $ git submodule init
    $ git submodule update

and download LUFA and unzip under protocol/lufa and edit LUFA_PATH in protocol/lufa.mk. Then,

    $ cd converter/usb_usb
    $ make

You will get usb_usb.hex if you are lucky.
Program your Leonardo with avrdude(or easy-going Arduino IDE):

    $ avrdude -patmega32u4 -cavr109 -PCOM17 -b57600 -Uflash:w:usb_usb.hex


Limitation
----------
Only supports 'HID Boot protocol'.
Not support keyboard LED yet.