1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/converter/usb_usb
2023-01-31 06:03:30 +11:00
..
ble Move keyboard USB IDs and strings to data driven, pass 2: B-C (#17945) 2022-08-14 12:16:16 +10:00
hasu USB-USB converter cleanup (#16618) 2022-03-13 23:46:13 +00:00
keymaps Tap Dance: remove qk_ prefix (#19313) 2022-12-14 12:40:25 -08:00
pro_micro USB-USB converter cleanup (#16618) 2022-03-13 23:46:13 +00:00
config.h Remove usages of config_common.h from config.h files. (#19714) 2023-01-31 06:03:30 +11:00
custom_matrix.cpp Fixup build failures. (#19332) 2022-12-15 09:56:30 +11:00
info.json Migrate LAYOUTS to data driven (#19541) 2023-01-10 02:48:20 +00: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
readme.md Rename keyboard-level readmes to lower-case (#10759) 2020-10-25 15:23:42 +00:00
rules.mk Migrate LAYOUTS to data driven (#19541) 2023-01-10 02:48:20 +00:00
usb_usb.c restructure converters (#1825) 2017-11-08 11:11:44 -05:00
usb_usb.h converter/usb_usb: remove surplus commas (#17024) 2022-05-07 01:00:55 +01:00

USB to USB keyboard protocol converter

A small device to connect between your USB keyboard and your PC that makes (almost) every keyboard fully programmable. Original code from the TMK firmware. Ported to QMK by Balz Guenat.

Keyboard Maintainer: Balz Guenat
Hardware Supported: Hasu's USB-USB converter, Pro Micro + USB Host Shield, maybe more
Hardware Availability: GH thread, self-built

Make example for this keyboard (after setting up your build environment):

make converter/usb_usb:default

See build environment setup then the make instructions for more information.

Note that you have to choose the right hardware variant as your subproject, otherwise you will probably have issues.

Troubleshooting & Known Issues

If something doesn't work, it's probably because of the CPU clock. Be sure to select the correct subproject (the middle part of the make argument) according to your hardware. 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.

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: F_CPU = 8000000 The converter sold by Hasu runs at 16MHz and so the corresponding line in usb_usb/hasu/rules.mk is: F_CPU = 16000000

Getting the Hardware

There are two options to get a converter: You can buy one from Hasu or build one yourself.

Buy a Converter

You can buy a fully assembled converter from me here: https://geekhack.org/index.php?topic=69169.0

Build one yourself using 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.

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

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

Limitations

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.

Resources