Is there a reason you don't want to trigger macros directly via 'osascript'? Is that possible with Stream Deck?
Another possibility (as mentioned here:)
Is to use Karabiner to map specific device keys to mouse buttons which KM can then recognize as triggers.