1
0
Fork 0

kbd67/mkiirgb - allow disabling rgb matrix (#10147)

* kbd67/mkiirgb - allow disabling rgb matrix

wrap rgb matrix funs in defines

* kbd67mkiirgb - changes per review

remove kb funcs that just call the user version. what's left is all rgb
matrix stuff so we can just wrap the whole file.
This commit is contained in:
rupa 2020-08-26 04:09:45 -04:00 committed by GitHub
parent 78362b1dc1
commit c3ab20511d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,17 +95,7 @@ led_config_t g_led_config = { {
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
1, 1, 1, 4, 1, 1, 1, 1, 1
} };
#endif
void matrix_init_kb(void) {
matrix_init_user();
}
void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return process_record_user(keycode, record);
}
void suspend_power_down_kb(void)
{
rgb_matrix_set_suspend_state(true);
@ -126,6 +116,4 @@ void rgb_matrix_indicators_user(void)
rgb_matrix_set_color(30, 0xFF, 0xFF, 0xFF);
}
}
#endif