Sending COM Commands to RR with dynamic actions
I'm using a Fusion Brain to send commands like Play,Vol-,GPS etc generated by my steering wheel controls to RoadRunner.
What I would like is Fusion to send generic commands like MODE,MODE_HOLD, TRKDOWN, etc and have RoadRunner take the appropriate action. For example, while on the GPS screen I would like TRKUP to zoom out, but on the main screen it should change tracks.
Is it possible to do this using /defines as each screen loads?
In gps_external.skin have /define TRKDOWN "ZOOM+"
in menu.skin have /define TRKDOWN "NEXT"
then call #TRKDOWN# from my Fusion code?
Or should this be handled by an EVAL command and a strcomp() with RRScreen? I need some help as to how this command would look.
Thanks for any input and for reading,