Forgot to add ifdef to optional feature
This commit is contained in:
parent
68e5c85999
commit
97472aabe6
@ -755,6 +755,7 @@ void persistant_default_layer_set(uint16_t default_layer) {
|
|||||||
default_layer_set(default_layer);
|
default_layer_set(default_layer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef DOUBLESPACE_LAYER_ENABLE
|
||||||
void process_doublespace(bool pressed, bool *isactive, bool *otheractive, bool *isemitted) {
|
void process_doublespace(bool pressed, bool *isactive, bool *otheractive, bool *isemitted) {
|
||||||
if (pressed) {
|
if (pressed) {
|
||||||
*isactive = true;
|
*isactive = true;
|
||||||
@ -778,6 +779,7 @@ void process_doublespace(bool pressed, bool *isactive, bool *otheractive, bool *
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
bool lshift = keyboard_report->mods & MOD_BIT(KC_LSFT);
|
bool lshift = keyboard_report->mods & MOD_BIT(KC_LSFT);
|
||||||
|
Loading…
Reference in New Issue
Block a user