[Keymap] Update personal userspace and keymaps (#6654)
* Enable Fn layer tap dances only if LAYER_FN is defined * Update KBD6X keymap spacing to match LAYOUT spacing * Add regular FNLK to userspace, update keymap comment labels * Rename KC_BRK → BREAK, KC_SYSR → SYSRQ in userspace * Change mousekey positions in KBD6X * Disable Console in KBD6X to reduce firmware size * Return false in process_record_* only when overriding existing keys * Fix Caps light not working after LSFT_FN * Refactor Fn/Caps light, fix sequencing issues
This commit is contained in:
parent
55bae0a5b4
commit
d633cf3ccb
9 changed files with 77 additions and 61 deletions
|
@ -40,7 +40,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
if (record->event.pressed && record->tap.count == TAPPING_TOGGLE) {
|
||||
fn_lock = !IS_LAYER_ON(L_FN); // Fn layer will be toggled after this
|
||||
}
|
||||
return true;
|
||||
break;
|
||||
#endif
|
||||
|
||||
case KC_ESC:
|
||||
|
@ -58,7 +58,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
}
|
||||
#endif
|
||||
}
|
||||
return true;
|
||||
break;
|
||||
|
||||
case CLEAR:
|
||||
if (record->event.pressed) {
|
||||
|
@ -66,25 +66,24 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
SEND_STRING(SS_LCTRL("a") SS_TAP(X_DELETE));
|
||||
)
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
|
||||
case DST_P_R:
|
||||
kc = (get_mods() & DST_MOD_MASK) ? DST_REM : DST_PRV;
|
||||
CLEAN_MODS(
|
||||
(record->event.pressed ? register_code16 : unregister_code16)(kc);
|
||||
)
|
||||
return false;
|
||||
break;
|
||||
|
||||
case DST_N_A:
|
||||
kc = (get_mods() & DST_MOD_MASK) ? DST_ADD : DST_NXT;
|
||||
CLEAN_MODS(
|
||||
(record->event.pressed ? register_code16 : unregister_code16)(kc);
|
||||
)
|
||||
return false;
|
||||
|
||||
default:
|
||||
return true;
|
||||
break;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
__attribute__((weak))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue