Various fixes for keyboards not implementing callbacks correctly (#24092)
This commit is contained in:
parent
23c4704123
commit
e0809eade5
14 changed files with 58 additions and 16 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue