keyboardio / Chrysalis

Graphical configurator for Kaleidoscope-powered keyboards
https://github.com/keyboardio/Chrysalis#chrysalis
GNU General Public License v3.0
497 stars 65 forks source link

There's no way to edit a dynamic macro that isn't assigned to a key #1282

Open algernon opened 1 year ago

algernon commented 1 year ago

Is your feature request related to a problem? Please describe.

There is currently no way to edit a dynamic macro that isn't assigned to a key. In a lot of circumstances, this is not a problem, but there are a few use-cases where this is mildly annoying. For example, if I have a dynamic macro that I update reasonably frequently, where a large part of it is static, but there's one part that changes with every update, and that part is not always the same length, this becomes a problem.

Why?

Because in this case, unless the changing part is at the end, a straightforward seeming way to approach this would be to split the macro in two: one with the changing part, not assigned to any key, and another with the static part, that invokes the other one at the right spot, and this one assigned to a key. This works beautifully, except that editing the changing part involves assigning the macro to a key, and editing it there.

Describe the solution you'd like

I do not have a solution to offer at this time, I just wish it would be possible to edit macros that aren't bound to a key. One thing we may wish to explore is adding an "Edit Macro" item to the right-click context menu of the dynamic macro keys on the selector, and to the right-click context menu of the macro key in the macro editor itself. That way I wouldn't have to remember the index of the changing part, I could just edit the main, key-bound macro, and right click the one invoked from there to edit it.