Skip to content

Add support for joypad triggers vibration#116214

Open
Nintorch wants to merge 1 commit intogodotengine:masterfrom
Nintorch:joypad-trigger-rumble
Open

Add support for joypad triggers vibration#116214
Nintorch wants to merge 1 commit intogodotengine:masterfrom
Nintorch:joypad-trigger-rumble

Conversation

@Nintorch
Copy link
Contributor

@Nintorch Nintorch commented Feb 12, 2026

Requires either #116055 or #116101 to be merged first.

This functionality has been split from #107967 and adjusted to the new advanced joypad features system.

This PR adds the ability to use Xbox One controller's trigger rumble. Note that on Windows it's not possible to use the HIDAPI driver for Xbox controller (even if we set the corresponding environment variable to 1) and trigger rumble is not available in DirectInput or XInput, that's why WGI or GameInput are required for this PR.

I tested this PR in my fork with GameInput and it seems to be working!

TODO:

<return type="bool" />
<param index="0" name="device" type="int" />
<description>
Returns [code]true[/code] if the joypad has triggers vibration (trigger rumble).
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Returns [code]true[/code] if the joypad has triggers vibration (trigger rumble).
Returns [code]true[/code] if the joypad has triggers vibration (trigger rumble). Not to be confused with DualSense's adaptive triggers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments