remove STOP_FEATURE

This commit is contained in:
Jack Humbert 2017-07-29 16:05:32 -04:00
parent 151b7a4ae5
commit 8ec77eb620
2 changed files with 4 additions and 4 deletions

View File

@ -53,7 +53,7 @@ level_t process_user(uint16_t keycode, keyrecord_t *record) {
} else { } else {
// Do something else when release // 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: case KC_ENTER:
// Play a tone when enter is pressed // Play a tone when enter is pressed
if (record->event.pressed) { if (record->event.pressed) {

View File

@ -162,19 +162,19 @@ level_t process_user(uint16_t keycode, keyrecord_t *record) {
if (record->event.pressed) { if (record->event.pressed) {
persistent_default_layer_set(1UL<<_QWERTY); persistent_default_layer_set(1UL<<_QWERTY);
} }
return STOP_FEATURE; return STOP_PROCESSING;
break; break;
case COLEMAK: case COLEMAK:
if (record->event.pressed) { if (record->event.pressed) {
persistent_default_layer_set(1UL<<_COLEMAK); persistent_default_layer_set(1UL<<_COLEMAK);
} }
return STOP_FEATURE; return STOP_PROCESSING;
break; break;
case DVORAK: case DVORAK:
if (record->event.pressed) { if (record->event.pressed) {
persistent_default_layer_set(1UL<<_DVORAK); persistent_default_layer_set(1UL<<_DVORAK);
} }
return STOP_FEATURE; return STOP_PROCESSING;
break; break;
} }
return CONTINUE_PROCESSING; return CONTINUE_PROCESSING;