From: kamisamamizu <pacouniversitario69@gmail.com>
Date: Sat, 16 Dec 2017 17:25:16 +0000 (+0100)
Subject: Added default case to process_record_user
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=eab41f7b389d66906e0c3a83837f65b80de9235b;p=qmk_firmware.git

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.
---

diff --git a/docs/custom_quantum_functions.md b/docs/custom_quantum_functions.md
index 928dccc9c..3df1d73a2 100644
--- a/docs/custom_quantum_functions.md
+++ b/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
   }
 }
 ```