1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/converter/usb_usb
2014-12-10 15:10:25 +09:00
..
config.h Change USB PID 2014-12-10 14:52:39 +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 Fix print init; print_set_sendchar in main 2014-12-10 15:10:25 +09:00
Makefile Change USB PID 2014-12-10 14:52:39 +09:00
matrix.c usb_usb: Update for new core layout 2014-12-05 09:59:08 +09:00
README Change USB PID 2014-12-10 14:52:39 +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 submodule init
    $ git submodule update
    $ cd converter/usb_usb
    $ make

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



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


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}