Explorar el Código

Fix weak modifier clear in action macro

tags/v2.9
tmk hace 8 años
padre
commit
0c21b263f9
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2
    0
      tmk_core/common/action_macro.c

+ 2
- 0
tmk_core/common/action_macro.c Ver fichero

@@ -42,6 +42,7 @@ void action_macro_play(const macro_t *macro_p)
dprintf("KEY_DOWN(%02X)\n", macro);
if (IS_MOD(macro)) {
add_weak_mods(MOD_BIT(macro));
send_keyboard_report();
} else {
register_code(macro);
}
@@ -51,6 +52,7 @@ void action_macro_play(const macro_t *macro_p)
dprintf("KEY_UP(%02X)\n", macro);
if (IS_MOD(macro)) {
del_weak_mods(MOD_BIT(macro));
send_keyboard_report();
} else {
unregister_code(macro);
}

Cargando…
Cancelar
Guardar