WhiteMagic / JoystickGremlin

A tool for configuring and managing joystick devices.
http://whitemagic.github.io/JoystickGremlin/
GNU General Public License v3.0
313 stars 46 forks source link

Exclusive Macros Never Queue with Repeating Macros #415

Open TheGoodIdeaFairy opened 2 years ago

TheGoodIdeaFairy commented 2 years ago

I'm unsure if I'm making a feature request or reporting a bug as I can't tell if this is the desired effect.

When a macro is marked as Exclusive, it will not run if there is a repeating macro running until the repeating macro is ended. The expected outcome is the exclusive macro would queue up after the current iteration of the repeat macro, thereby running at the soonest opportunity. If this is contrary to the intent of the Exclusive tag, an additional tag for an Interrupting-Exclusive macro would be helpful for these types of scenarios.

WhiteMagic commented 2 years ago

That would fall in the feature request category, as exclusive will get priority over any existing non-exclusive macro in the queue, however, will not interrupt running macros. A repeating or held macro is considered to be running even across repeats of the same actions.