Page 1 of 1

Native controller support: Toggle enhancement

Posted: Sat Apr 26, 2025 10:45 pm
by Darkenedroom
Hi,

Firstly, the native controller support is already pretty awesome, so this enhancement falls firmly into the 'nice to have' category. Had a brief scan through the other suggestions but I don't think this has come up before.

As there are a quite a number of assignable commands, the suggestion is to allow a controller button to be assigned as a dedicated toggle button. (e.g. Joystick button 4: toggle)

The other command assignments could either be a 'button x' or 'toggle + button x'. So as an example:
Fire lasers: button 1
Toggle weapons lockdown: toggle + button 1 (button 4 + button1)

If button 3 is assigned as the toggle then:
Toggle weapons lockdown: toggle + button 1 (button 3 + button1)

This effectively doubles the assignable buttons with the loss of a single controller button, which becomes the dedicated toggle. Obviously you could only use the toggle if it was assigned.

This is already possible through the use of vendor profiling software for hotas setups but I'm guessing those that use gamepads would also benefit from more command assignments.

In order to limit the scope of the enhancement, I'm not suggesting the following:
  • Axes toggling, not sure how useful this would be, so only applicable to buttons.
  • Mode select, no sort of complex multiple mode selection, just a single toggle.
Best regards,
DarkenedRoom

Re: Native controller support: Toggle enhancement

Posted: Fri May 02, 2025 9:00 am
by Cholmondely
I believe that Kanthoney wrote the vanilla game code for this sort of thing.

He disappeared yonks ago, I'm afraid. Of our remaining developers, perhaps Getafix might be up to this, but he rarely visits nowadays.

Re: Native controller support: Toggle enhancement

Posted: Sat May 03, 2025 11:21 am
by Darkenedroom
Thanks to the already awesome native controller support, it was definitely more 'nice to have' rather than needed.

But it did get me thinking, fairly shortly I'll have to add an article to my site about my TM Warthog setup for Oolite and once published I'll add a quick msg to the joystick topic, may be useful for others.