mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-10 05:59:44 +00:00
parent
01ac8a6051
commit
b91ffba4be
1 changed files with 3 additions and 0 deletions
|
@ -619,6 +619,7 @@ void register_code(uint8_t code)
|
||||||
#endif
|
#endif
|
||||||
add_key(KC_CAPSLOCK);
|
add_key(KC_CAPSLOCK);
|
||||||
send_keyboard_report();
|
send_keyboard_report();
|
||||||
|
wait_ms(100);
|
||||||
del_key(KC_CAPSLOCK);
|
del_key(KC_CAPSLOCK);
|
||||||
send_keyboard_report();
|
send_keyboard_report();
|
||||||
}
|
}
|
||||||
|
@ -629,6 +630,7 @@ void register_code(uint8_t code)
|
||||||
#endif
|
#endif
|
||||||
add_key(KC_NUMLOCK);
|
add_key(KC_NUMLOCK);
|
||||||
send_keyboard_report();
|
send_keyboard_report();
|
||||||
|
wait_ms(100);
|
||||||
del_key(KC_NUMLOCK);
|
del_key(KC_NUMLOCK);
|
||||||
send_keyboard_report();
|
send_keyboard_report();
|
||||||
}
|
}
|
||||||
|
@ -639,6 +641,7 @@ void register_code(uint8_t code)
|
||||||
#endif
|
#endif
|
||||||
add_key(KC_SCROLLLOCK);
|
add_key(KC_SCROLLLOCK);
|
||||||
send_keyboard_report();
|
send_keyboard_report();
|
||||||
|
wait_ms(100);
|
||||||
del_key(KC_SCROLLLOCK);
|
del_key(KC_SCROLLLOCK);
|
||||||
send_keyboard_report();
|
send_keyboard_report();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue