diff options
Diffstat (limited to 'keyboards/deng')
-rw-r--r-- | keyboards/deng/djam/config.h | 7 | ||||
-rw-r--r-- | keyboards/deng/djam/info.json | 6 | ||||
-rw-r--r-- | keyboards/deng/djam/rules.mk | 7 | ||||
-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 |
6 files changed, 14 insertions, 28 deletions
diff --git a/keyboards/deng/djam/config.h b/keyboards/deng/djam/config.h index edb558930d..8193eae02f 100644 --- a/keyboards/deng/djam/config.h +++ b/keyboards/deng/djam/config.h @@ -15,17 +15,10 @@ */ #pragma once -#include "config_common.h" -#define MATRIX_ROWS 3 -#define MATRIX_COLS 8 #define MATRIX_ROW_PINS { F0, F1, F4 } #define MATRIX_COL_PINS { C7, C6, B6, B5, B4, D7, D6, D4 } #define DIODE_DIRECTION COL2ROW -#define DEBOUNCE 5 - -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 5 #ifdef RGB_MATRIX_ENABLE #define RGB_DI_PIN D5 diff --git a/keyboards/deng/djam/info.json b/keyboards/deng/djam/info.json index 3e871ae85b..abf18685b2 100644 --- a/keyboards/deng/djam/info.json +++ b/keyboards/deng/djam/info.json @@ -8,6 +8,12 @@ "pid": "0x7325", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5 + }, + "processor": "atmega32u4", + "bootloader": "atmel-dfu", "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/deng/djam/rules.mk b/keyboards/deng/djam/rules.mk index 9685c1ce76..42a6d2bd1b 100644 --- a/keyboards/deng/djam/rules.mk +++ b/keyboards/deng/djam/rules.mk @@ -1,9 +1,3 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = atmel-dfu - # Build Options # change yes to no to disable # @@ -14,7 +8,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 = pwm RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output RGB_MATRIX_ENABLE = yes 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 |