qmk_firmware/keyboards/converter/usb_usb
Balz Guenat 5bff9d6181 cleanup usb-usb converter code 2017-08-15 23:14:41 -04:00
..
keymaps cleanup usb-usb converter code 2017-08-15 23:14:41 -04:00
Makefile cleanup usb-usb converter code 2017-08-15 23:14:41 -04:00
README.md cleanup usb-usb converter code 2017-08-15 23:14:41 -04:00
config.h cleanup usb-usb converter code 2017-08-15 23:14:41 -04:00
custom_matrix.cpp wow, it builds! added empty matrix.c and moved custom matrix code to custom_matrix.cpp 2017-08-15 23:14:41 -04:00
keymap.c start working on usb-usb converter port 2017-08-15 23:14:41 -04:00
main.c start working on usb-usb converter port 2017-08-15 23:14:41 -04:00
matrix.c wow, it builds! added empty matrix.c and moved custom matrix code to custom_matrix.cpp 2017-08-15 23:14:41 -04:00
rules.mk cleanup usb-usb converter code 2017-08-15 23:14:41 -04:00
usb_usb.c start working on usb-usb converter port 2017-08-15 23:14:41 -04:00
usb_usb.h cleanup usb-usb converter code 2017-08-15 23:14:41 -04:00

README.md

USB to USB keyboard protocol converter

Original code from Hasu's TMK firmware. Ported to QMK by Coloneljesus.

This port has been tested only on the Pro Micro variant described in the next section.

See for detail and discussion. https://geekhack.org/index.php?topic=69169.0

Hardware requirement

There are two options.

TMK USB-USB Converter

You can buy a fully assembled converter from me here.

https://geekhack.org/index.php?topic=69169.0

Arduino Leonardo + Circuit@Home USB Host Shield 2.0

Buying Arduino Leonardo and USB Host Shield 2.0(from Circuit@home) will be better, you won't need even soldering iron.

http://arduino.cc/en/Main/ArduinoBoardLeonardo 
https://www.circuitsathome.com/products-page/arduino-shields/usb-host-shield-2-0-for-arduino-assembled/

Other compatible boards like Arduino's Shield will also work well but I think Sparkfun's needs to be modified.

http://arduino.cc/en/Main/ArduinoUSBHostShield
https://www.sparkfun.com/products/9947

Also Pro Micro 3.3V(not Mini) or Teensy with mini host shield will work with some fixes on signal/power routing.

https://www.circuitsathome.com/products-page/arduino-shields/usb-host-shield-for-arduino-pro-mini
https://www.sparkfun.com/products/12587
https://www.pjrc.com/teensy/td_libs_USBHostShield.html

Build firmware

Follow normal QMK build instructions to get a binary file. Flashing depends on you hardware.

Limitation

Only supports 'HID Boot protocol'.

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.

Keymap editor

You can editor keymap and download firmware with web brwoser.

Update

2014/12/11 Added Hub support(confirmed with HHKB pro2) 2016/09/10 Unimap editor support 2016/10/18 Fix LED state at startup 2017/08/16 Port to QMK

Resource

USB Host Sheild 2.0 https://www.circuitsathome.com/products-page/arduino-shields/usb-host-shield-2-0-for-arduino https://www.circuitsathome.com/products-page/arduino-shields/usb-host-shield-for-arduino-pro-mini USB Host Sheild 2.0 source https://github.com/felis/USB_Host_Shield_2.0 Arduino USB Host Shield(with bootst converter) http://arduino.cc/en/Main/ArduinoUSBHostShield Arduino source https://github.com/arduino/Arduino/hardware/arduino/{cores,variants} Initial release of TMK USB-USB converter https://geekhack.org/index.php?topic=33057.msg653549#msg653549 http://deskthority.net/workshop-f7/is-remapping-a-usb-keyboard-using-teensy-possible-t2841-30.html#p74854 Arduino-based hardware keyboard remapper - Colemak forum http://forum.colemak.com/viewtopic.php?id=1561 Teensy + Host Shield http://www.pjrc.com/teensy/td_libs_USBHostShield.html