diff options
Diffstat (limited to 'keyboards/ydkb/grape')
-rw-r--r-- | keyboards/ydkb/grape/config.h | 13 | ||||
-rw-r--r-- | keyboards/ydkb/grape/info.json | 12 | ||||
-rw-r--r-- | keyboards/ydkb/grape/rules.mk | 6 |
3 files changed, 12 insertions, 19 deletions
diff --git a/keyboards/ydkb/grape/config.h b/keyboards/ydkb/grape/config.h index c4531a9abd..0b71d91e84 100644 --- a/keyboards/ydkb/grape/config.h +++ b/keyboards/ydkb/grape/config.h @@ -15,7 +15,6 @@ */ #pragma once -#include "config_common.h" /* key matrix size */ #define MATRIX_ROWS 7 @@ -25,23 +24,11 @@ #define SN74X138_ADDRESS_PINS { D2, D1, D0 } -#define LED_NUM_LOCK_PIN F1 -#define LED_CAPS_LOCK_PIN F0 -#define LED_SCROLL_LOCK_PIN E6 -#define LED_PIN_ON_STATE 0 - -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 3 - #ifdef RGBLIGHT_ENABLE #define RGB_DI_PIN E6 #define RGBLED_NUM 4 #endif -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/ydkb/grape/info.json b/keyboards/ydkb/grape/info.json index 80cad94330..1609ba2721 100644 --- a/keyboards/ydkb/grape/info.json +++ b/keyboards/ydkb/grape/info.json @@ -8,6 +8,18 @@ "pid": "0x6772", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, + "indicators": { + "caps_lock": "F0", + "num_lock": "F1", + "scroll_lock": "E6", + "on_state": 0 + }, + "processor": "atmega32u4", + "bootloader": "atmel-dfu", "layouts": { "LAYOUT_all": { "layout": [ diff --git a/keyboards/ydkb/grape/rules.mk b/keyboards/ydkb/grape/rules.mk index 57b231441e..d1eb5135b4 100644 --- a/keyboards/ydkb/grape/rules.mk +++ b/keyboards/ydkb/grape/rules.mk @@ -1,9 +1,3 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = atmel-dfu - # Build Options # change yes to no to disable # |