Browse Source

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 7 years ago
parent
commit
eab41f7b38
1 changed files with 2 additions and 0 deletions
  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
   }
 }
 ```