antimicrox icon indicating copy to clipboard operation
antimicrox copied to clipboard

Ability to Set "Set" from Command Line?

Open SarahSzabo opened this issue 1 year ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Is your feature request related to a problem? Please describe.

After reading the manual page, I didn't see any way to set the "set" of any profile from the command line.

This would be a great feature for me as I wish to have a series of bash scrips that change the sets of other controllers.

I have two flight sticks and plan on adding foot pedals over the summer, so the ability to change sets of (for example) the foot pedals dynamically by executing a script from one of the flight sticks would be awesome.

It would also allow for programs behind the scenes to do cool things like constantly look at applicaiton context and set the set dynamically. There is a lot of potential for future use here.

Describe the solution you'd like

Assumes AMX already running:

antimicrox select-controller 1 select-set 1

This selects controller 1's currently loaded profile (based on index number from SDL as printed by AMX) and loads the first set.

Describe alternatives you've considered

No response

Additional context

No response

SarahSzabo avatar Apr 23 '23 21:04 SarahSzabo