diff options
Diffstat (limited to 'users/konstantin/konstantin.c')
| -rw-r--r-- | users/konstantin/konstantin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/users/konstantin/konstantin.c b/users/konstantin/konstantin.c index 686ff32ec..239252d9c 100644 --- a/users/konstantin/konstantin.c +++ b/users/konstantin/konstantin.c | |||
| @@ -6,7 +6,7 @@ static void toggle_numpad(void) { | |||
| 6 | bool numpad_on = IS_LAYER_ON(L_NUMPAD); | 6 | bool numpad_on = IS_LAYER_ON(L_NUMPAD); |
| 7 | bool num_lock_on = IS_HOST_LED_ON(USB_LED_NUM_LOCK); | 7 | bool num_lock_on = IS_HOST_LED_ON(USB_LED_NUM_LOCK); |
| 8 | if (num_lock_on != numpad_on) { | 8 | if (num_lock_on != numpad_on) { |
| 9 | tap_code(KC_NLCK); // Toggle Num Lock to match layer state | 9 | tap_code(KC_NLCK); // Toggle Num Lock to match layer state |
| 10 | } | 10 | } |
| 11 | } | 11 | } |
| 12 | #endif | 12 | #endif |
| @@ -45,7 +45,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 45 | 45 | ||
| 46 | case FN_FNLK: | 46 | case FN_FNLK: |
| 47 | if (record->event.pressed && record->tap.count == TAPPING_TOGGLE) { | 47 | if (record->event.pressed && record->tap.count == TAPPING_TOGGLE) { |
| 48 | fn_lock = !IS_LAYER_ON(L_FN); // Fn layer will be toggled after this | 48 | fn_lock = !IS_LAYER_ON(L_FN); // Fn layer will be toggled after this |
| 49 | } | 49 | } |
| 50 | return true; | 50 | return true; |
| 51 | #endif | 51 | #endif |
