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 {
// 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) {

View File

@ -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;