summaryrefslogtreecommitdiff
path: root/keyboards/tronguylabs/m122_3270/teensy
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-07-25 11:02:36 +1000
committerGitHub <noreply@github.com>2021-07-25 11:02:36 +1000
commit8cc568bc29b2b488dd90c686350b78a7605c58de (patch)
tree0b73ea1818850d648de47544088de2d4058c01f1 /keyboards/tronguylabs/m122_3270/teensy
parent95730d4f9605f6c7185ceec168d83508e0b9046b (diff)
Fix & clean up tronguylabs/m122_3270 (#13684)
Diffstat (limited to 'keyboards/tronguylabs/m122_3270/teensy')
-rw-r--r--keyboards/tronguylabs/m122_3270/teensy/config.h4
-rw-r--r--keyboards/tronguylabs/m122_3270/teensy/readme.md1
-rw-r--r--keyboards/tronguylabs/m122_3270/teensy/rules.mk19
3 files changed, 19 insertions, 5 deletions
diff --git a/keyboards/tronguylabs/m122_3270/teensy/config.h b/keyboards/tronguylabs/m122_3270/teensy/config.h
index c23c5931eb..33590b4064 100644
--- a/keyboards/tronguylabs/m122_3270/teensy/config.h
+++ b/keyboards/tronguylabs/m122_3270/teensy/config.h
@@ -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
diff --git a/keyboards/tronguylabs/m122_3270/teensy/readme.md b/keyboards/tronguylabs/m122_3270/teensy/readme.md
index 99946d746d..43357ea610 100644
--- a/keyboards/tronguylabs/m122_3270/teensy/readme.md
+++ b/keyboards/tronguylabs/m122_3270/teensy/readme.md
@@ -1,2 +1,3 @@
# Teensy controller for m122-3270
+
This directory contains the Teensy++ 2.0-specific definitions for the M122-3270 keyboard.
diff --git a/keyboards/tronguylabs/m122_3270/teensy/rules.mk b/keyboards/tronguylabs/m122_3270/teensy/rules.mk
index 2919fdedfa..af0bee4659 100644
--- a/keyboards/tronguylabs/m122_3270/teensy/rules.mk
+++ b/keyboards/tronguylabs/m122_3270/teensy/rules.mk
@@ -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