summaryrefslogtreecommitdiff
path: root/keyboards/monsgeek/m1
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-01-16 01:04:09 +0000
committerGitHub <noreply@github.com>2024-01-16 01:04:09 +0000
commite30d0e52871ce46e6f94d5535c1d60aa75668fe5 (patch)
treeb5966e5a4019b17d3d0ebe4325ea15ade7c7bf55 /keyboards/monsgeek/m1
parenta90b45e8320389160ee1a649ccf95d6d820fd277 (diff)
Migrate RGB Matrix config to info.json - M (#22908)
Diffstat (limited to 'keyboards/monsgeek/m1')
-rw-r--r--keyboards/monsgeek/m1/config.h9
-rw-r--r--keyboards/monsgeek/m1/info.json4
2 files changed, 4 insertions, 9 deletions
diff --git a/keyboards/monsgeek/m1/config.h b/keyboards/monsgeek/m1/config.h
index cd17ce67ce..4aa6012330 100644
--- a/keyboards/monsgeek/m1/config.h
+++ b/keyboards/monsgeek/m1/config.h
@@ -35,15 +35,8 @@
/* I2C Config for LED Driver */
#define SNLED27351_I2C_ADDRESS_1 SNLED27351_I2C_ADDRESS_GND
#define SNLED27351_I2C_ADDRESS_2 SNLED27351_I2C_ADDRESS_VDDIO
+
#define I2C1_OPMODE OPMODE_I2C
#define I2C1_CLOCK_SPEED 400000 /* 400000 */
-#define DRIVER_1_LED_TOTAL 63
-#define DRIVER_2_LED_TOTAL 21
-#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL + 22)
-
-#define RGB_MATRIX_SLEEP // turn off effects when suspended
#define RGB_TRIGGER_ON_KEYDOWN
-#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
-#define RGB_MATRIX_KEYPRESSES
-#define RGB_MATRIX_KEYRELEASES
diff --git a/keyboards/monsgeek/m1/info.json b/keyboards/monsgeek/m1/info.json
index 23d3d714c6..5d5d030214 100644
--- a/keyboards/monsgeek/m1/info.json
+++ b/keyboards/monsgeek/m1/info.json
@@ -178,7 +178,9 @@
{ "flags": 2, "x":224, "y":51},
{ "flags": 2, "x":224, "y":57},
{ "flags": 2, "x":224, "y":64}
- ]
+ ],
+ "react_on_keyup": true,
+ "sleep": true
},
"layouts": {
"LAYOUT_all": {