Преглед на файлове

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 години
родител
ревизия
eab41f7b38
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  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
   }
 }
 ```