WhiteMagic / JoystickGremlin

A tool for configuring and managing joystick devices.
http://whitemagic.github.io/JoystickGremlin/
GNU General Public License v3.0
313 stars 45 forks source link

Support actions with links to multiple inputs #441

Closed WhiteMagic closed 1 year ago

WhiteMagic commented 2 years ago

A significant limitation of the action system in Gremlin is that an action is always tied to exactly a single action. While the new library system allows actions to be applied to different actions with more ease it does not remove the limitation that any one action can only process inputs from a single physical source.

A prime example of this limitation is the merge axis functionality. This is a menu entry and separate dialog in R13 and earlier as there was no way to have this kind of action, which combines the data from two physical inputs, represented in the main UI. With the move to a library system, one of the issues, namely where the information ought to be stored has partially been removed. However, there are still challenges with encoding the information in a manner that allows the same library action to be assigned to different physical inputs.

The goal of this is to have any and all kinds of actions to be displayed in the main part of the UI and not have to revert back to custom UI dialogs. The action should show up in all inputs linked to it and disappear when they are reassigned.

WhiteMagic commented 1 year ago

Depends on #468 in order to support this feature.