diff options
| author | Ryan <fauxpark@gmail.com> | 2023-07-03 04:35:41 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-02 19:35:41 +0100 |
| commit | 9ab16e62f75dc6228549ec0aba00ec0704bbc779 (patch) | |
| tree | 1a9d2e4ea291b6d8e25bd13f6b68c5c30a709f06 /users | |
| parent | 7ff80a57cbe57e888646c3b90e2f4f9dea977156 (diff) | |
Get rid of `USB_LED_NUM_LOCK` (#21424)
Diffstat (limited to 'users')
| -rw-r--r-- | users/doogle999/doogle999.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/doogle999/doogle999.c b/users/doogle999/doogle999.c index 5d71599687..a5bd637ece 100644 --- a/users/doogle999/doogle999.c +++ b/users/doogle999/doogle999.c | |||
| @@ -389,7 +389,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t* record) | |||
| 389 | /* KC_KP_1, KC_KP_2, ..., KC_KP_0, KC_KP_DOT */ | 389 | /* KC_KP_1, KC_KP_2, ..., KC_KP_0, KC_KP_DOT */ |
| 390 | (keycode >= KC_KP_1 && keycode <= KC_KP_DOT); | 390 | (keycode >= KC_KP_1 && keycode <= KC_KP_DOT); |
| 391 | 391 | ||
| 392 | if(numpadKeyPressed && !(host_keyboard_leds() & (1 << USB_LED_NUM_LOCK))) | 392 | if(numpadKeyPressed && !host_keyboard_led_state().num_lock) |
| 393 | { | 393 | { |
| 394 | add_key(KC_NUM_LOCK); | 394 | add_key(KC_NUM_LOCK); |
| 395 | send_keyboard_report(); | 395 | send_keyboard_report(); |
