Keyboard firmwares for Atmel AVR and Cortex-M
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 11 година
пре 11 година
12345678910111213141516171819202122232425262728293031323334
  1. USB to USB keyboard protocol converter
  2. ======================================
  3. Hardware requirement
  4. --------------------
  5. Arduino Leonardo
  6. http://arduino.cc/en/Main/ArduinoBoardLeonardo
  7. Circuit@Home USB Host Shield 2.0
  8. http://www.circuitsathome.com/products-page/arduino-shields/usb-host-shield-2-0-for-arduino
  9. Build firmware
  10. --------------
  11. $ git clone git://github.com/tmk/tmk_keyboard.git
  12. $ cd tmk_keyboard
  13. $ git submodule init
  14. $ git submodule update
  15. and download LUFA and unzip under protocol/lufa and edit LUFA_PATH in protocol/lufa.mk. Then,
  16. $ cd converter/usb_usb
  17. $ make
  18. You will get usb_usb.hex if you are lucky.
  19. Program your Leonardo with avrdude(or easy-going Arduino IDE):
  20. $ avrdude -patmega32u4 -cavr109 -PCOM17 -b57600 -Uflash:w:usb_usb.hex
  21. Limitation
  22. ----------
  23. Only supports 'HID Boot protocol'.
  24. Not support keyboard LED yet.