Various fixes for keyboards not implementing callbacks correctly (#24092)

This commit is contained in:
Joel Challis 2024-07-11 13:47:53 +01:00 committed by GitHub
parent 23c4704123
commit e0809eade5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 58 additions and 16 deletions

View file

@ -165,6 +165,10 @@ bool rgb_matrix_indicators_kb(void) {
#endif //RGB_MATRIX_ENABLE
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
if (!process_record_user(keycode, record)) {
return false;
}
if (record->event.pressed) {
switch(keycode) {
#if defined(RGB_MATRIX_DISABLE_KEYCODES)

View file

@ -169,6 +169,10 @@ bool rgb_matrix_indicators_kb(void) {
#endif //RGB_MATRIX_ENABLE
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
if (!process_record_user(keycode, record)) {
return false;
}
if (record->event.pressed) {
switch(keycode) {
#if defined(RGB_MATRIX_DISABLE_KEYCODES)