diff options
Diffstat (limited to 'keyboards/machkeyboards')
-rw-r--r-- | keyboards/machkeyboards/mach3/config.h | 13 | ||||
-rw-r--r-- | keyboards/machkeyboards/mach3/info.json | 7 | ||||
-rw-r--r-- | keyboards/machkeyboards/mach3/rules.mk | 7 |
3 files changed, 7 insertions, 20 deletions
diff --git a/keyboards/machkeyboards/mach3/config.h b/keyboards/machkeyboards/mach3/config.h index 1f3533d177..ba1628e954 100644 --- a/keyboards/machkeyboards/mach3/config.h +++ b/keyboards/machkeyboards/mach3/config.h @@ -16,11 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#include "config_common.h" - -/* key matrix size */ -#define MATRIX_ROWS 3 -#define MATRIX_COLS 3 /* key pins */ #define MATRIX_ROW_PINS { D1, D0, D4 } @@ -28,11 +23,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW - -/* backlight */ -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 - -/* debounce */ -#define DEBOUNCE 5
\ No newline at end of file diff --git a/keyboards/machkeyboards/mach3/info.json b/keyboards/machkeyboards/mach3/info.json index 3eab9a1a3f..767beb2026 100644 --- a/keyboards/machkeyboards/mach3/info.json +++ b/keyboards/machkeyboards/mach3/info.json @@ -8,6 +8,13 @@ "pid": "0x4D33", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 5, + "breathing": true + }, + "processor": "atmega32u4", + "bootloader": "caterina", "layouts": { "LAYOUT_3x3": { "layout": [ diff --git a/keyboards/machkeyboards/mach3/rules.mk b/keyboards/machkeyboards/mach3/rules.mk index ada54400b2..75c6a286e5 100644 --- a/keyboards/machkeyboards/mach3/rules.mk +++ b/keyboards/machkeyboards/mach3/rules.mk @@ -1,9 +1,3 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = caterina - # Build Options # change yes to no to disable # @@ -17,4 +11,3 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output UNICODE_ENABLE = yes -BACKLIGHT_DRIVER = pwm
\ No newline at end of file |