diff options
Diffstat (limited to 'keyboards/kbdfans/kbd75rgb')
-rw-r--r-- | keyboards/kbdfans/kbd75rgb/config.h | 3 | ||||
-rw-r--r-- | keyboards/kbdfans/kbd75rgb/info.json | 3 | ||||
-rw-r--r-- | keyboards/kbdfans/kbd75rgb/kbd75rgb.c | 2 | ||||
-rw-r--r-- | keyboards/kbdfans/kbd75rgb/rules.mk | 7 |
4 files changed, 4 insertions, 11 deletions
diff --git a/keyboards/kbdfans/kbd75rgb/config.h b/keyboards/kbdfans/kbd75rgb/config.h index 7b0b538493..14159e81a0 100644 --- a/keyboards/kbdfans/kbd75rgb/config.h +++ b/keyboards/kbdfans/kbd75rgb/config.h @@ -16,7 +16,6 @@ #pragma once -#include "config_common.h" /* key matrix size */ #define MATRIX_ROWS 6 @@ -26,8 +25,6 @@ /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 5 #define USB_SUSPEND_WAKEUP_DELAY 5000 #define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/kbdfans/kbd75rgb/info.json b/keyboards/kbdfans/kbd75rgb/info.json index 32201ff192..63ce9ebf36 100644 --- a/keyboards/kbdfans/kbd75rgb/info.json +++ b/keyboards/kbdfans/kbd75rgb/info.json @@ -8,6 +8,9 @@ "pid": "0x6063", "device_version": "0.0.1" }, + "processor": "atmega32u4", + "bootloader": "lufa-ms", + "community_layouts": ["75_ansi"], "layouts": { "LAYOUT_75_ansi": { "layout": [ diff --git a/keyboards/kbdfans/kbd75rgb/kbd75rgb.c b/keyboards/kbdfans/kbd75rgb/kbd75rgb.c index 8cc522c75b..cd0f656974 100644 --- a/keyboards/kbdfans/kbd75rgb/kbd75rgb.c +++ b/keyboards/kbdfans/kbd75rgb/kbd75rgb.c @@ -44,7 +44,7 @@ bool rgb_matrix_indicators_kb(void) { if (!rgb_matrix_indicators_user()) { return false; } - if (IS_HOST_LED_ON(USB_LED_CAPS_LOCK)) + if (host_keyboard_led_state().caps_lock) { rgb_matrix_set_color(59, 0xFF, 0xFF, 0xFF); } diff --git a/keyboards/kbdfans/kbd75rgb/rules.mk b/keyboards/kbdfans/kbd75rgb/rules.mk index 477bc16bdc..d8e620b77d 100644 --- a/keyboards/kbdfans/kbd75rgb/rules.mk +++ b/keyboards/kbdfans/kbd75rgb/rules.mk @@ -1,8 +1,3 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = lufa-ms # Build Options # change yes to no to disable # @@ -18,5 +13,3 @@ AUDIO_ENABLE = no # Audio output RGB_MATRIX_ENABLE = yes # Use RGB matrix RGB_MATRIX_DRIVER = WS2812 LTO_ENABLE = yes - -LAYOUTS = 75_ansi |