Is it possible to use a Virtual button instead of a Pin in Gcode macros?

You may have a look on this:

#general-discussion New "virtual pins" module for testing purposes

1 Like