summaryrefslogtreecommitdiff
path: root/keyboards/chosfox
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-01-04 06:00:47 +0000
committerGitHub <noreply@github.com>2024-01-04 06:00:47 +0000
commita5f1438f58d42a452aaeb2df4cc0b4e01b79608e (patch)
tree5b301b9d1c837ab0e852fcd6ec70c71bc1414f7c /keyboards/chosfox
parentc412b7fc423892e16280435387a645fc6e3b2c8a (diff)
Migrate RGB Matrix config to info.json - C (#22807)
Diffstat (limited to 'keyboards/chosfox')
-rw-r--r--keyboards/chosfox/cf81/config.h8
-rw-r--r--keyboards/chosfox/cf81/info.json4
2 files changed, 3 insertions, 9 deletions
diff --git a/keyboards/chosfox/cf81/config.h b/keyboards/chosfox/cf81/config.h
index 7ecf8dd905..71e783f2bc 100644
--- a/keyboards/chosfox/cf81/config.h
+++ b/keyboards/chosfox/cf81/config.h
@@ -36,12 +36,4 @@
#define I2C1_OPMODE OPMODE_I2C
#define I2C1_CLOCK_SPEED 400000 /* 400000 */
-#define DRIVER_1_LED_TOTAL 63
-#define DRIVER_2_LED_TOTAL 20
-#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/chosfox/cf81/info.json b/keyboards/chosfox/cf81/info.json
index 5dff610071..de125801b7 100644
--- a/keyboards/chosfox/cf81/info.json
+++ b/keyboards/chosfox/cf81/info.json
@@ -174,7 +174,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": {