summaryrefslogtreecommitdiff
path: root/keyboards/xiudi/xd004
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/xiudi/xd004')
-rw-r--r--keyboards/xiudi/xd004/info.json4
-rw-r--r--keyboards/xiudi/xd004/v1/config.h5
2 files changed, 4 insertions, 5 deletions
diff --git a/keyboards/xiudi/xd004/info.json b/keyboards/xiudi/xd004/info.json
index 175b7873f3..a404780eea 100644
--- a/keyboards/xiudi/xd004/info.json
+++ b/keyboards/xiudi/xd004/info.json
@@ -7,6 +7,10 @@
"pid": "0x0404",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D5",
+ "levels": 6
+ },
"processor": "atmega16u2",
"bootloader": "atmel-dfu",
"matrix_pins": {
diff --git a/keyboards/xiudi/xd004/v1/config.h b/keyboards/xiudi/xd004/v1/config.h
index 0b4e44336c..1e747adeaf 100644
--- a/keyboards/xiudi/xd004/v1/config.h
+++ b/keyboards/xiudi/xd004/v1/config.h
@@ -23,11 +23,6 @@ where some things are disabled to save space as well.
#pragma once
-/* Backlight Setup */
-// Looks like each backlight LED is connected to a single output, D5 is the one furtherst away from USB port
-#define BACKLIGHT_PIN D5
-#define BACKLIGHT_LEVELS 6
-
/* RGB Underglow
This will not be used, as RGBLIGHT_ENABLE is set to 'no' in rules.mk
We do not have enough space in the flash for this at the moment, maybe