|
|
|
@ -1035,6 +1035,10 @@ void clear_keyboard_but_mods(void) {
|
|
|
|
* FIXME: Needs documentation.
|
|
|
|
* FIXME: Needs documentation.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
void clear_keyboard_but_mods_and_keys() {
|
|
|
|
void clear_keyboard_but_mods_and_keys() {
|
|
|
|
|
|
|
|
#ifdef EXTRAKEY_ENABLE
|
|
|
|
|
|
|
|
host_system_send(0);
|
|
|
|
|
|
|
|
host_consumer_send(0);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
clear_weak_mods();
|
|
|
|
clear_weak_mods();
|
|
|
|
clear_macro_mods();
|
|
|
|
clear_macro_mods();
|
|
|
|
send_keyboard_report();
|
|
|
|
send_keyboard_report();
|
|
|
|
@ -1042,10 +1046,6 @@ void clear_keyboard_but_mods_and_keys() {
|
|
|
|
mousekey_clear();
|
|
|
|
mousekey_clear();
|
|
|
|
mousekey_send();
|
|
|
|
mousekey_send();
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#ifdef EXTRAKEY_ENABLE
|
|
|
|
|
|
|
|
host_system_send(0);
|
|
|
|
|
|
|
|
host_consumer_send(0);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/** \brief Utilities for actions. (FIXME: Needs better description)
|
|
|
|
/** \brief Utilities for actions. (FIXME: Needs better description)
|
|
|
|
|