diff options
Diffstat (limited to 'keyboards/deng/thirty')
-rw-r--r-- | keyboards/deng/thirty/config.h | 10 | ||||
-rw-r--r-- | keyboards/deng/thirty/info.json | 8 | ||||
-rw-r--r-- | keyboards/deng/thirty/rules.mk | 4 |
3 files changed, 8 insertions, 14 deletions
diff --git a/keyboards/deng/thirty/config.h b/keyboards/deng/thirty/config.h index 3db84edba5..e80b0d97a4 100644 --- a/keyboards/deng/thirty/config.h +++ b/keyboards/deng/thirty/config.h @@ -15,22 +15,12 @@ */ #pragma once -#include "config_common.h" /* Matrix */ -#define MATRIX_ROWS 6 -#define MATRIX_COLS 5 #define MATRIX_ROW_PINS { B15, A5, A3, A15, B7, B8 } #define MATRIX_COL_PINS { B13, B14, B3, A4, A6 } #define DIODE_DIRECTION COL2ROW -/* Backlight */ -#ifdef BACKLIGHT_ENABLE -#define BACKLIGHT_PIN B11 -#define BACKLIGHT_LEVELS 5 -#define BACKLIGHT_ON_STATE 0 -#endif - /* RGB Matrix */ #ifdef RGB_MATRIX_ENABLE #define RGB_DI_PIN B12 diff --git a/keyboards/deng/thirty/info.json b/keyboards/deng/thirty/info.json index 9d3fbc6426..0fda78c76d 100644 --- a/keyboards/deng/thirty/info.json +++ b/keyboards/deng/thirty/info.json @@ -8,6 +8,14 @@ "pid": "0x7342", "device_version": "0.0.1" }, + "backlight": { + "driver": "software", + "pin": "B11", + "levels": 5, + "on_state": 0 + }, + "processor": "STM32F103", + "bootloader": "stm32duino", "layouts": { "LAYOUT_ortho_3x10": { "layout": [ diff --git a/keyboards/deng/thirty/rules.mk b/keyboards/deng/thirty/rules.mk index da3b298940..91837f3d45 100644 --- a/keyboards/deng/thirty/rules.mk +++ b/keyboards/deng/thirty/rules.mk @@ -1,6 +1,3 @@ -MCU = STM32F103 -BOOTLOADER = stm32duino - # Enter lower-power sleep mode when on the ChibiOS idle thread OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE @@ -15,7 +12,6 @@ CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = no # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BACKLIGHT_DRIVER = software RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output RGB_MATRIX_ENABLE = yes |