diff options
Diffstat (limited to 'keyboards/kegen/gboy')
-rw-r--r-- | keyboards/kegen/gboy/config.h | 15 | ||||
-rw-r--r-- | keyboards/kegen/gboy/info.json | 6 | ||||
-rw-r--r-- | keyboards/kegen/gboy/rules.mk | 6 |
3 files changed, 6 insertions, 21 deletions
diff --git a/keyboards/kegen/gboy/config.h b/keyboards/kegen/gboy/config.h index 30268122ed..e9ad8c2fee 100644 --- a/keyboards/kegen/gboy/config.h +++ b/keyboards/kegen/gboy/config.h @@ -17,12 +17,6 @@ #pragma once -#include "config_common.h" - - -/* key matrix size */ -#define MATRIX_ROWS 5 -#define MATRIX_COLS 16 /* key matrix pins */ #define MATRIX_ROW_PINS { F1, F4, F5, F6, F7 } @@ -31,15 +25,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* number of backlight levels */ -#define BACKLIGHT_PIN B7 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 15 -#endif - -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 5 - #define RGB_DI_PIN D1 #ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/kegen/gboy/info.json b/keyboards/kegen/gboy/info.json index a47bfdb7b8..909eb6c568 100644 --- a/keyboards/kegen/gboy/info.json +++ b/keyboards/kegen/gboy/info.json @@ -8,6 +8,12 @@ "pid": "0x6762", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 15 + }, + "processor": "atmega32u4", + "bootloader": "atmel-dfu", "layouts": { "LAYOUT_all": { "layout": [ diff --git a/keyboards/kegen/gboy/rules.mk b/keyboards/kegen/gboy/rules.mk index 8723047c1e..de8df1910c 100644 --- a/keyboards/kegen/gboy/rules.mk +++ b/keyboards/kegen/gboy/rules.mk @@ -1,9 +1,3 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = atmel-dfu - # Build Options # comment out to disable the options. # |