summaryrefslogtreecommitdiff
path: root/keyboards/bastardkb/dilemma/4x6_4
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-01-04 06:00:28 +0000
committerGitHub <noreply@github.com>2024-01-04 06:00:28 +0000
commitc412b7fc423892e16280435387a645fc6e3b2c8a (patch)
tree7233451ca7f4843a161963f31bb33707e85b9475 /keyboards/bastardkb/dilemma/4x6_4
parent5267329caa6ce08a5497d774bae0c8f386220a16 (diff)
Migrate RGB Matrix config to info.json - B (#22806)
Diffstat (limited to 'keyboards/bastardkb/dilemma/4x6_4')
-rw-r--r--keyboards/bastardkb/dilemma/4x6_4/config.h9
-rw-r--r--keyboards/bastardkb/dilemma/4x6_4/info.json12
2 files changed, 12 insertions, 9 deletions
diff --git a/keyboards/bastardkb/dilemma/4x6_4/config.h b/keyboards/bastardkb/dilemma/4x6_4/config.h
index bd595385b0..549965444d 100644
--- a/keyboards/bastardkb/dilemma/4x6_4/config.h
+++ b/keyboards/bastardkb/dilemma/4x6_4/config.h
@@ -44,11 +44,4 @@
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
/* RGB matrix support. */
-#define SPLIT_TRANSPORT_MIRROR
-#define RGB_MATRIX_SLEEP
-#define RGB_MATRIX_KEYPRESSES
-#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
-
-// Startup values.
-#define RGB_MATRIX_DEFAULT_VAL 64
-#define RGB_MATRIX_DEFAULT_SPD 32
+#define SPLIT_TRANSPORT_MIRROR \ No newline at end of file
diff --git a/keyboards/bastardkb/dilemma/4x6_4/info.json b/keyboards/bastardkb/dilemma/4x6_4/info.json
index ba07a7fccf..23ccd533aa 100644
--- a/keyboards/bastardkb/dilemma/4x6_4/info.json
+++ b/keyboards/bastardkb/dilemma/4x6_4/info.json
@@ -17,6 +17,11 @@
"soft_serial_pin": "GP1",
"bootmagic": {
"matrix": [5, 0]
+ },
+ "transport":{
+ "sync": {
+ "matrix_state": true
+ }
}
},
"encoder": {
@@ -91,6 +96,10 @@
"solid_splash": true,
"solid_multisplash": true
},
+ "default": {
+ "speed": 32,
+ "val": 128
+ },
"layout": [
{"x": 81, "y": 4, "flags": 2},
{"x": 65, "y": 2, "flags": 2},
@@ -199,7 +208,8 @@
{"matrix": [9, 2], "x": 156, "y": 53, "flags": 4},
{"matrix": [9, 1], "x": 143, "y": 57, "flags": 4},
{"matrix": [9, 3], "x": 132, "y": 64, "flags": 4}
- ]
+ ],
+ "sleep": true
},
"layouts": {
"LAYOUT": {