summaryrefslogtreecommitdiff
path: root/converter/usb_usb/README
blob: 2ffa46ca4c6576cb107a4ce0fe4668de4227fbf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
USB to USB keyboard protocol converter
======================================

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

Circuit@Home USB Host Sheild 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.