Migrate RGB Matrix config to info.json - C (#22807)

This commit is contained in:
Joel Challis 2024-01-04 06:00:47 +00:00 committed by GitHub
parent c412b7fc42
commit a5f1438f58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 211 additions and 330 deletions

View file

@ -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 */

View file

@ -187,7 +187,8 @@
"multisplash": true,
"solid_splash": true,
"solid_multisplash": true
}
},
"sleep": true
},
"diode_direction": "COL2ROW",
"matrix_pins": {