summaryrefslogtreecommitdiffstats
path: root/docs/custom_quantum_functions.md
diff options
context:
space:
mode:
authorkamisamamizu <pacouniversitario69@gmail.com>2017-12-16 18:25:16 +0100
committerJack Humbert <jack.humb@gmail.com>2017-12-17 17:52:06 +0100
commiteab41f7b389d66906e0c3a83837f65b80de9235b (patch)
tree83b325030f360035cfb51a67a3be9e359a4eb576 /docs/custom_quantum_functions.md
parentcca3dcc5ec21f974d000ccf819f0a595d8e19454 (diff)
downloadqmk_firmware-eab41f7b389d66906e0c3a83837f65b80de9235b.tar.gz
qmk_firmware-eab41f7b389d66906e0c3a83837f65b80de9235b.tar.xz
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.
Diffstat (limited to 'docs/custom_quantum_functions.md')
-rw-r--r--docs/custom_quantum_functions.md2
1 files changed, 2 insertions, 0 deletions
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
}
}
```