summaryrefslogtreecommitdiff
path: root/keyboards/xiudi/xd84pro
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/xiudi/xd84pro')
-rw-r--r--keyboards/xiudi/xd84pro/config.h17
-rw-r--r--keyboards/xiudi/xd84pro/info.json12
-rw-r--r--keyboards/xiudi/xd84pro/rules.mk8
3 files changed, 12 insertions, 25 deletions
diff --git a/keyboards/xiudi/xd84pro/config.h b/keyboards/xiudi/xd84pro/config.h
index 1ac67535ea..7390a6cd0a 100644
--- a/keyboards/xiudi/xd84pro/config.h
+++ b/keyboards/xiudi/xd84pro/config.h
@@ -16,20 +16,12 @@
#pragma once
-#include "config_common.h"
-
-/* key matrix size */
-#define MATRIX_ROWS 6
-#define MATRIX_COLS 15
#define MATRIX_ROW_PINS { F4, D0, D1, D2, D3, D5 }
#define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B7, B5, B4, D7, D6, B3, F7 }
#define DIODE_DIRECTION COL2ROW
-#define LED_CAPS_LOCK_PIN B2
-#define LED_PIN_ON_STATE 0
-
#define RGB_DI_PIN F6
#ifdef RGB_DI_PIN
#define RGBLED_NUM 12
@@ -50,15 +42,6 @@
#define RGBLIGHT_EFFECT_TWINKLE
#endif
-/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
-#define DEBOUNCE 5
-
-/* number of backlight levels */
-#define BACKLIGHT_PIN F5
-#define BACKLIGHT_LEVELS 10
-#define BACKLIGHT_ON_STATE 0
-// #define BACKLIGHT_BREATHING
-
/* 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/xiudi/xd84pro/info.json b/keyboards/xiudi/xd84pro/info.json
index 36d52e5f72..88968b933f 100644
--- a/keyboards/xiudi/xd84pro/info.json
+++ b/keyboards/xiudi/xd84pro/info.json
@@ -8,6 +8,18 @@
"pid": "0x8450",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "F5",
+ "levels": 10,
+ "on_state": 0
+ },
+ "indicators": {
+ "caps_lock": "B2",
+ "on_state": 0
+ },
+ "processor": "atmega32u4",
+ "bootloader": "atmel-dfu",
+ "community_layouts": ["75_ansi", "75_iso"],
"layouts": {
"LAYOUT_all": {
"layout": [
diff --git a/keyboards/xiudi/xd84pro/rules.mk b/keyboards/xiudi/xd84pro/rules.mk
index da21836459..1955f1d315 100644
--- a/keyboards/xiudi/xd84pro/rules.mk
+++ b/keyboards/xiudi/xd84pro/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = atmel-dfu
-
# Build Options
# change yes to no to disable
#
@@ -16,5 +10,3 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
-
-LAYOUTS = 75_ansi 75_iso