Skip to content

Way to get xinput controller both trigger values with rawinput #7

@mmozeiko

Description

@mmozeiko

I accidentally stumbled upon this interesting info: nefarius/ViGEmBus#40 (comment)

Turns out you can make xinput emulated HID device to report both trigger axis independently with some undocumented registry settings.
I've tried it with this Xbox One controller, and it worked for me - triggers are reported as Z Axis and Z Rotation independently:

20251202_105651.mp4

Only annoying thing is that these registry settings are in HKLM, so requires admin privileges. But if you're ok with your game installer adjusting them (or have small helper that elevates and fixes it at runtime), and you can live without rumble feature, then you can just use rawinput for xbox controller.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions