Is it possible to combine the button presses from 2 different generic devices?
For example: I have 2 nintendo switch joycons.
I would like to be able to hold a trigger button on the left joycon and press the X button on the right joycon, in order to trigger an action.
you could keep a global state object outside of your analyzer function, once defined it should be accessible from both of your analyzers (however I haven't verified ).
Alternatively you could use the scripting functions to read/set variables (Using Java Script (not JXA) ยท GitBook)