-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Description
At this moment macro uses add_weak_mods for all mdofiers. This is intented to prevent macro from breaking real/physical key state when the modifier in macro is released. But add_mods is needed for some macro usage, for example, when you want a macro which behaves as real modifier key.
Later I'll change macro action behaviour:
KEY_DOWN: uses register_code even for modifier
KEY_UP: uses register_code even for modifier
And add macro actions:
ADD_WEAK_MOD: uses weak_add_mods
DEL_WEAK_MOD: uses weak_del_mods
ADD_MOD:
DEL_MOD:
ADD_KEY:
DEL_KEY:
SEND: uses send_keyboard_report
tmk_keyboard/common/action_macro.c
Line 44 in a5d4a1f
| add_weak_mods(MOD_BIT(macro)); |