Keyboard firmwares for Atmel AVR and Cortex-M
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Scott Jaderholm c35e3e8596 usb_usb: Remove mention of merged usb_hid branch 9 年前
..
Makefile Fix BOOTLOADER_SIZE setting 11 年前
README usb_usb: Remove mention of merged usb_hid branch 9 年前
config.h Fix projects for new keycodes 11 年前
keymap.c Fix keymap to adjust new keyboard.c. 11 年前
led.c Add USB to USB converter. unmature. 11 年前
main.cpp changes function name keyboard_proc to keyboard_task 11 年前
matrix.c Fix projects for new keycodes 11 年前

README

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

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.