Fix & clean up tronguylabs/m122_3270 (#13684)

This commit is contained in:
Ryan
2021-07-25 11:02:36 +10:00
committed by GitHub
parent 95730d4f96
commit 8cc568bc29
14 changed files with 333 additions and 362 deletions
@@ -16,12 +16,10 @@
#pragma once
// place overrides below
// Teensy pin assignments: I'm wiring things a bit more straightforwardly, and
// avoiding the LED on PD6
#define MATRIX_COL_PINS { B5, B6, B7, D0, D1, D2, D3, D4, D5, D7, E0, E1, C0, C1, C2, C3, C4, C5, C6, C7 }
#define MATRIX_ROW_PINS { F0, F1, F2, F3, F4, F5, F6, F7 }
// The Teensy version is version 1
#define DEVICE_VER 0x0001
#define DEVICE_VER 0x0001
@@ -1,2 +1,3 @@
# Teensy controller for m122-3270
This directory contains the Teensy++ 2.0-specific definitions for the M122-3270 keyboard.
@@ -1,7 +1,22 @@
# Overrides for the Teensy version
# MCU name
MCU = at90usb1286
# Bootloader selection
BOOTLOADER = halfkay
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = yes # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
NKRO_ENABLE = yes # USB Nkey Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
BLUETOOTH_ENABLE = no # Enable Bluetooth
AUDIO_ENABLE = no # Audio output