bool numpad_on = IS_LAYER_ON(L_NUMPAD);
bool num_lock_on = IS_HOST_LED_ON(USB_LED_NUM_LOCK);
if (num_lock_on != numpad_on) {
- tap_code(KC_NLCK); // Toggle Num Lock to match layer state
+ tap_code(KC_NLCK); // Toggle Num Lock to match layer state
}
}
#endif
case FN_FNLK:
if (record->event.pressed && record->tap.count == TAPPING_TOGGLE) {
- fn_lock = !IS_LAYER_ON(L_FN); // Fn layer will be toggled after this
+ fn_lock = !IS_LAYER_ON(L_FN); // Fn layer will be toggled after this
}
return true;
#endif