From 8ec77eb6203f52a55113cc1f993d90e0f7eb3e04 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Sat, 29 Jul 2017 16:05:32 -0400 Subject: [PATCH] remove STOP_FEATURE --- docs/custom_quantum_functions.md | 2 +- keyboards/clueboard/keymaps/smt/keymap.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/custom_quantum_functions.md b/docs/custom_quantum_functions.md index 544ab240..16f0cc8d 100644 --- a/docs/custom_quantum_functions.md +++ b/docs/custom_quantum_functions.md @@ -53,7 +53,7 @@ level_t process_user(uint16_t keycode, keyrecord_t *record) { } else { // Do something else when release } - return STOP_FEATURE; // Skip all further processing of this key + return STOP_PROCESSING; // Skip all further processing of this key case KC_ENTER: // Play a tone when enter is pressed if (record->event.pressed) { diff --git a/keyboards/clueboard/keymaps/smt/keymap.c b/keyboards/clueboard/keymaps/smt/keymap.c index 73a29c60..f3bdfe12 100644 --- a/keyboards/clueboard/keymaps/smt/keymap.c +++ b/keyboards/clueboard/keymaps/smt/keymap.c @@ -162,19 +162,19 @@ level_t process_user(uint16_t keycode, keyrecord_t *record) { if (record->event.pressed) { persistent_default_layer_set(1UL<<_QWERTY); } - return STOP_FEATURE; + return STOP_PROCESSING; break; case COLEMAK: if (record->event.pressed) { persistent_default_layer_set(1UL<<_COLEMAK); } - return STOP_FEATURE; + return STOP_PROCESSING; break; case DVORAK: if (record->event.pressed) { persistent_default_layer_set(1UL<<_DVORAK); } - return STOP_FEATURE; + return STOP_PROCESSING; break; } return CONTINUE_PROCESSING;