Explorar o código

Added default case to process_record_user

I tried using process_record_user and if I had to add the default case for it to compile.
kamisamamizu %!s(int64=7) %!d(string=hai) anos
pai
achega
eab41f7b38
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      docs/custom_quantum_functions.md

+ 2 - 0
docs/custom_quantum_functions.md

@@ -60,6 +60,8 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
         PLAY_NOTE_ARRAY(tone_qwerty);
       }
       return true; // Let QMK send the enter press/release events
+    default:
+      return true; // Process all other keycodes normally
   }
 }
 ```