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.

69 lines
4.2 KiB

  1. USB to USB keyboard protocol converter
  2. ======================================
  3. A small device to connect between your USB keyboard and your PC that makes (almost) every keyboard fully programmable.
  4. Original code from the [TMK firmware](https://github.com/tmk/tmk_keyboard/tree/master/converter/usb_usb). Ported to QMK by [Balz Guenat](https://github.com/BalzGuenat).
  5. Keyboard Maintainer: [Balz Guenat](https://github.com/BalzGuenat)
  6. Hardware Supported: [Hasu's USB-USB converter](https://geekhack.org/index.php?topic=69169.0), [Pro Micro + USB Host Shield](https://geekhack.org/index.php?topic=80421.0), maybe more
  7. Hardware Availability: [GH thread](https://geekhack.org/index.php?topic=72052.0), self-built
  8. Make example for this keyboard (after setting up your build environment):
  9. make converter/usb_usb:default
  10. See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information.
  11. Note that you have to choose the right hardware variant as your subproject, otherwise you will probably have issues.
  12. Troubleshooting & Known Issues
  13. ------------------------------
  14. If something doesn't work, it's probably because of the CPU clock.
  15. Be sure to select the correct subproject (the middle part of the `make` argument) according to your hardware.
  16. If you are sure you have this correct, try changeing the default in `usb_usb/rules.mk` or overriding the value in the `rules.mk` of your keymap.
  17. The Pro Micro variant uses a 3.3V Pro Micro and thus runs at 8MHz, hence the following line in `usb_usb/pro_micro/rules.mk`:
  18. `F_CPU = 8000000`
  19. The converter sold by Hasu runs at 16MHz and so the corresponding line in `usb_usb/hasu/rules.mk` is:
  20. `F_CPU = 16000000`
  21. Getting the Hardware
  22. --------------------
  23. There are two options to get a converter: You can buy one from Hasu or build one yourself.
  24. ### Buy a Converter
  25. You can buy a fully assembled converter from me here:
  26. https://geekhack.org/index.php?topic=69169.0
  27. ### Build one yourself using Arduino Leonardo + Circuit@Home USB Host Shield 2.0
  28. Buying Arduino Leonardo and USB Host Shield 2.0(from Circuit@home) will be better, you won't need even soldering iron.
  29. - http://arduino.cc/en/Main/ArduinoBoardLeonardo
  30. - https://www.circuitsathome.com/arduino_usb_host_shield_projects/
  31. Other compatible boards like Arduino's Shield will also work well but I think Sparkfun's needs to be modified.
  32. - http://arduino.cc/en/Main/ArduinoUSBHostShield
  33. - https://www.sparkfun.com/products/9947
  34. Also Pro Micro 3.3V(not Mini) or Teensy with mini host shield will work with some fixes on signal/power routing.
  35. - [Build guide](https://geekhack.org/index.php?topic=80421.0)
  36. - https://www.circuitsathome.com/arduino_usb_host_shield_projects/
  37. - https://www.sparkfun.com/products/12587
  38. - https://www.pjrc.com/teensy/td_libs_USBHostShield.html
  39. Limitations
  40. ----------
  41. Only supports 'HID Boot protocol'.
  42. Note that the converter can host only USB "boot protocol" keyboard(6KRO), not NKRO, it is possible to support NKRO keyboard but you will need to write HID report parser for that. Every NKRO keyboard can have different HID report and it is difficult to support all kind of NKRO keyboards in the market.
  43. Resources
  44. --------
  45. - [Hasu's main thread for the converter](https://geekhack.org/index.php?topic=69169.0)
  46. - [Build guide for the Pro Micro variant](https://geekhack.org/index.php?topic=80421.0)
  47. - [Original TMK version of the converter](https://github.com/tmk/tmk_keyboard/tree/master/converter/usb_usb)
  48. - [USB Host Shield 2.0](https://www.circuitsathome.com/arduino_usb_host_shield_projects/)
  49. - [USB Host Shield 2.0 source](https://github.com/felis/USB_Host_Shield_2.0)
  50. - [Arduino USB Host Shield (with bootst converter)](http://arduino.cc/en/Main/ArduinoUSBHostShield)
  51. - [Arduino source](https://github.com/arduino/Arduino)
  52. - [Initial release of TMK USB-USB converter](https://geekhack.org/index.php?topic=33057.msg653549#msg653549)
  53. - [Teensy/Arduino + Host Shield](http://deskthority.net/workshop-f7/is-remapping-a-usb-keyboard-using-teensy-possible-t2841-30.html#p74854)
  54. - [Arduino-based hardware keyboard remapper - Colemak forum](http://forum.colemak.com/viewtopic.php?id=1561)
  55. - [Teensy + Host Shield](http://www.pjrc.com/teensy/td_libs_USBHostShield.html)