diff options
author | Joel Challis <[email protected]> | 2024-01-04 06:00:47 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-01-04 06:00:47 +0000 |
commit | a5f1438f58d42a452aaeb2df4cc0b4e01b79608e (patch) | |
tree | 5b301b9d1c837ab0e852fcd6ec70c71bc1414f7c /keyboards/chromatonemini | |
parent | c412b7fc423892e16280435387a645fc6e3b2c8a (diff) | |
download | qmk_firmware-a5f1438f58d42a452aaeb2df4cc0b4e01b79608e.tar.gz qmk_firmware-a5f1438f58d42a452aaeb2df4cc0b4e01b79608e.zip |
Migrate RGB Matrix config to info.json - C (#22807)
Diffstat (limited to 'keyboards/chromatonemini')
-rw-r--r-- | keyboards/chromatonemini/config.h | 10 | ||||
-rw-r--r-- | keyboards/chromatonemini/info.json | 3 |
2 files changed, 3 insertions, 10 deletions
diff --git a/keyboards/chromatonemini/config.h b/keyboards/chromatonemini/config.h index 42e8f0f525..18ae28c211 100644 --- a/keyboards/chromatonemini/config.h +++ b/keyboards/chromatonemini/config.h @@ -19,15 +19,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #ifdef RGB_MATRIX_ENABLE -/* ws2812 RGB MATRIX */ -# define RGB_MATRIX_LED_COUNT 116 - // reacts to keypresses -# define RGB_MATRIX_KEYPRESSES - // for all fingers used at once. # define LED_HITS_TO_REMEMBER 10 -// the above brighness setting has no effect on rgb_matrix_set_color(). +// the max brightness setting has no effect on rgb_matrix_set_color(). // Use darker colors instead. /* RGB darker COLORS */ # define RGB_DARKWHITE 0x33, 0x33, 0x33 @@ -49,9 +44,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. # define RGB_DARKMAGENTA 0x33, 0x0, 0x33 # define RGB_DARKPINK 0x33, 0x19, 0x26 -// https://docs.qmk.fm/#/feature_rgb_matrix -// Enable suspend mode. -# define RGB_MATRIX_SLEEP #endif // RGB_MATRIX_ENABLE /* Audio */ diff --git a/keyboards/chromatonemini/info.json b/keyboards/chromatonemini/info.json index fb4f0c737f..f778018273 100644 --- a/keyboards/chromatonemini/info.json +++ b/keyboards/chromatonemini/info.json @@ -187,7 +187,8 @@ "multisplash": true, "solid_splash": true, "solid_multisplash": true - } + }, + "sleep": true }, "diode_direction": "COL2ROW", "matrix_pins": { |