LLM: Why do we need the Macro?
The short answer: It fixes a tricky timing bug in ZMK.
Without the macro, combining a Hold-Tap directly with a Sticky Key causes them to fight over when the key is technically "released." Here is what happens behind the scenes:
The Problem (Without the Macro): If you assign the Sticky Key directly to the tap action, ZMK ties the sticky behavior to your physical finger. If you tap the key but lift your finger a tiny fraction of a second too slowly, ZMK gets confused. It thinks you "held" and then "released" the sticky key, which immediately cancels the Shift before you can type your next letter.
The Solution (What the Macro Does): The macro acts as a lightning-fast middleman. When you tap the physical key, the macro steps in and says, "I'll take it from here." Because the macro is set to waitMs: 0 and tapMs: 0, it triggers a perfectly clean, instant, digital "press and release" of the sticky key in zero milliseconds.
This completely separates the sticky Shift from your physical finger's timing. It guarantees the one-shot Shift activates flawlessly every single time, no matter how clumsily you press or release the physical switch.
The Parameter Messenger: Additionally, because ZMK needs to know which key to make sticky (in this case, LSHFT), the macro uses that ¯o_param_1to1 line. It simply grabs the LSHFT parameter you assigned to the Hold-Tap and safely passes it down into the Sticky Key.