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

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

Loading…
Cancel
Save