keychron_qmk_firmware/keyboards/converter/m0110_usb
Konstantin Đorđević 4d9b11af14 Fix Command feature: use get_mods() instead of keyboard_report->mods (#4955)
* Remove unnecessary IS_COMMAND definition in clueboard/66/rev4

* Replace keyboard_report->mods with get_mods() in IS_COMMAND definitions

* Update docs to use get_mods() instead of keyboard_report->mods

* Replace keyboard_report->mods with get_mods() in tmk_core/protocol/usb_hid/test

For some reason, this occurrence used KB_LSHIFT and KB_RSHIFT, which don't exist

* Replace keyboard_report->mods with get_mods() in Massdrop keyboards (as per @patrickmt)
2019-01-27 00:28:40 -08:00
..
keymaps/default
config.h Fix Command feature: use get_mods() instead of keyboard_report->mods (#4955) 2019-01-27 00:28:40 -08:00
info.json converter/m0110_usb Configurator support and readme cleanup (#4421) 2018-11-13 14:20:42 -08:00
m0110_usb.c
m0110_usb.h
matrix.c
README.md converter/m0110_usb Configurator support and readme cleanup (#4421) 2018-11-13 14:20:42 -08:00
rules.mk

M0110(A) keyboard converter

This is a port of the original M0110 converter from TMK to QMK. The original converter was designed to work with ATmega32U2 and ATmega32U4 based microcontrollers to convert Apple M0110/M0110A keyboards and M0120 numpads to USB. This port has been tested to be compatible with the Adafruit Feather 32U4 BLE.

Enabling Bluetooth for the Adafruit Feather 32U4 BLE

Simply add BLUETOOTH = AdafruitBLE to your rules.mk file. This enables code specifically for the Adafruit Feather 32U4 BLE. If enabled, the device will use the PRODUCT and DESCRIPTION values from config.h for the device name displayed by the Feather on host devices. You can simply change these values to change the device name.

Pins

This port utilizes the same pins that the TMK converter used. PD1 is used for CLOCK and PD0 is used for the DATA from the keyboard. These pins can be changed in config.h.

Other important hardware notes from the original TMK converter Readme:

Hardware


You can buy preassembled TMK converter or make yourown with AVR dev board like PJRC Teensy.

Port of the MCU PD1 is assigned to CLOCK line and PD0 to DATA by default, you can change pin configuration with editing config.h.

M0110 Converter

4P4C phone handset cable

Note that original cable used with Mac is straight while phone handset cable is crossover.

http://en.wikipedia.org/wiki/Modular_connector#4P4C

Socket Pinout

Jack fig

Pull-up Resistor

You may need pull-up resistors on signal lines(CLOCK, DATA) in particular when you have long or coiled cable. 1k-10k Ohm will be OK >for this purpose. In that case the converter may not read signal from keyboard correctly without pull-up resistors.

View the original TMK converter Readme
View the original TMK converter Repository

QMK Port Changelog

  • 2018/08/01 - Original Release