remove STOP_FEATURE

process_keycode_update
Jack Humbert 7 years ago
parent 151b7a4ae5
commit 8ec77eb620

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

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

Loading…
Cancel
Save