summaryrefslogtreecommitdiff
path: root/converter/usb_usb/README
blob: 985458ed013078de8dd7e8913c756d905d1f5643 (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
36
37
38
39
40
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}