Skip to content

Syntax: Allow anonymous or inline macros #334

@v1ld

Description

@v1ld

Please consider allowing short macros to be inline within a remap for readability, possibly using the presence of a list to distinguish itself from other forms of remap target.

This example uses and motivates the global macro_step_delay from #333.

macro_step_delay = 50

[remap]
M1 = [  { down = "RB" }, { down = "X" }, "pause_for_release", { up = "X" }, { up = "RB" } ]

#335 if implemented would add to the readability of such inline macros.

macro_step_delay = 50

[remap]
M1 = [  { press = "RB" }, { press = "X" }, "pause_for_release" ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions