From eab41f7b389d66906e0c3a83837f65b80de9235b Mon Sep 17 00:00:00 2001 From: kamisamamizu Date: Sat, 16 Dec 2017 18:25:16 +0100 Subject: 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. --- docs/custom_quantum_functions.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/custom_quantum_functions.md') diff --git a/docs/custom_quantum_functions.md b/docs/custom_quantum_functions.md index 928dccc9c3..3df1d73a28 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 } } ``` -- cgit v1.2.3