Skip to content

Input: trigger rumble via XInputSetStateEx ordinal 100 (#1104) - #65

Merged
LAKSHYA-cmd-tech merged 1 commit into
integrate/gta6-world-and-shader-fixesfrom
feature/trigger-rumble
Nov 24, 2026
Merged

LAKSHYA-cmd-tech merged 1 commit into
integrate/gta6-world-and-shader-fixesfrom
feature/trigger-rumble

Conversation

@LAKSHYA-cmd-tech

Copy link
Copy Markdown
Owner

Backports PR Marvisak#1104:

  • Extends Source::rumble to accept left_trigger and right_trigger levels.
  • Queries XInputSetStateEx (ordinal 100 in xinput1_4.dll) dynamically to drive low/high motors alongside left/right impulse triggers.
  • Falls back to standard XInputSetState (low/high only) on systems where ordinal 100 is unavailable.
  • Reports rumble_motors = 0xF (Low | High | LeftTrigger | RightTrigger) in DeviceInfo for connected gamepads.
  • Updates unit tests in crates/victory-hle/src/modules/gameinput.rs.

@LAKSHYA-cmd-tech
LAKSHYA-cmd-tech merged commit 20afcee into integrate/gta6-world-and-shader-fixes Nov 24, 2026
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5b501088-7294-4801-bae1-4f5385a2b33a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant