ndeadly / MissionControl

Use controllers from other consoles natively on your Nintendo Switch via Bluetooth. No dongles or other external hardware neccessary.
GNU General Public License v2.0
2.38k stars 137 forks source link

DualSense Adaptive Triggers Support #757

Open VHemmekam opened 7 months ago

VHemmekam commented 7 months ago

DualSense Adaptive Triggers Support

The changes introduced in this pull request aim to provide resistance to adaptive triggers before the ZR/ZL buttons are pressed, offering a more immersive and responsive gaming experience. I also resolved a bug for the DualSense controller, ensuring that setting analog_trigger_activation_threshold to 100% is now reachable.

The adaptive triggers can be customized through the missioncontrol.ini file, and they are enabled by default. They perform best (by my opinion) when the analog_trigger_activation_threshold is set to 100%.

Configuration

analog_trigger_activation_threshold This existing property influences the end section of the adaptive triggers. dualsense_enable_adaptive_triggers Enables or disables adaptive triggers for the DualSense controller. dualsense_adaptive_triggers_resistance Allows the customization of the DualSense adaptive triggers resistance. Valid range is [0-9], where 0 represents light resistance and 9 represents heavy resistance.

Future

In the future, it would be interesting to enable users to create scripts (or files with memory addresses) for specific game titles, which MissionControl can utilize to adjust the adaptive triggers according to the game's current state.

Credits

I would also like to thank Mxater for his valuable contribution of the DualSenseSupport project. His code served as an essential reference and inspiration throughout the development of this pull request.

Binaries

MissionControl-0.10.0-dualsense-adaptive-triggers-2e08477.zip