summaryrefslogtreecommitdiff
path: root/keyboards/deng/djam
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/deng/djam')
-rw-r--r--keyboards/deng/djam/config.h6
-rw-r--r--keyboards/deng/djam/info.json8
2 files changed, 8 insertions, 6 deletions
diff --git a/keyboards/deng/djam/config.h b/keyboards/deng/djam/config.h
index 8193eae02f..39ea6d6e90 100644
--- a/keyboards/deng/djam/config.h
+++ b/keyboards/deng/djam/config.h
@@ -15,13 +15,7 @@
*/
#pragma once
-
-#define MATRIX_ROW_PINS { F0, F1, F4 }
-#define MATRIX_COL_PINS { C7, C6, B6, B5, B4, D7, D6, D4 }
-#define DIODE_DIRECTION COL2ROW
-
#ifdef RGB_MATRIX_ENABLE
-#define RGB_DI_PIN D5
#define RGB_MATRIX_LED_COUNT 31
#define RGB_MATRIX_KEYPRESSES
#define ENABLE_RGB_MATRIX_BREATHING
diff --git a/keyboards/deng/djam/info.json b/keyboards/deng/djam/info.json
index abf18685b2..ef1b783d96 100644
--- a/keyboards/deng/djam/info.json
+++ b/keyboards/deng/djam/info.json
@@ -8,10 +8,18 @@
"pid": "0x7325",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"],
+ "rows": ["F0", "F1", "F4"]
+ },
+ "diode_direction": "COL2ROW",
"backlight": {
"pin": "B7",
"levels": 5
},
+ "ws2812": {
+ "pin": "D5"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {