Skip to content

Macro: fix and redesign #116

@tmk

Description

@tmk

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

add_weak_mods(MOD_BIT(macro));

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions