So I've been toying (briefly) with the official Streamdeck plugin for Keyboard Maestro. Previously I'd been using my applescript Streamdeck plugin ( https://github.com/mushoo/streamdeck-applescript ), just copying/pasting the applescript trigger. Works great, and is really easy to set up since I don't need to bounce back and forth between KM and SD.
The new plugin gives some features I've wanted (specifically 'set title' and 'set image' in the macro itself) but I'm not sure defining button position as X/Y really makes the most sense? For triggering the macro, at least. Is there a way to trigger a macro based on the "Button ID" you set in the SD plugin? From what I can tell I can edit the "Virtual Row" and "Virtual Column" to be whatever number I want, and keyboard maestro will pick that up (so I could have Row 35 and Column 761, waaaay outside of the bounds of the actual streamdeck). But I have to set that every time I'd make a new button.
I use a LOT of profiles on my streamdeck, so the default row/column positions are going to be repeated constantly. Trying to keep track of which profile is using which buttonIDs/rows/columns is going to be hellish. Why not just have each new instance of a button get a UUID (similar to how each macro gets a UUID) and trigger/refer to that? Would just be a single variable to keep track of instead of 2-3.