Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COM Hook/detour (PNP Device enum) #6

Open
xan105 opened this issue Dec 30, 2024 · 0 comments
Open

COM Hook/detour (PNP Device enum) #6

xan105 opened this issue Dec 30, 2024 · 0 comments
Labels
enhancement New feature or request XInput

Comments

@xan105
Copy link
Owner

xan105 commented Dec 30, 2024

In the list of API sniffing tricks to determine whether to use XInput or not, some game will enumerate PNP device using WMI (COM) and check each device ID to see if it contains IG_ (ex. "VID_0000&PID_0000&IG_00"). If it does, then it's an XInput device.

cf: https://learn.microsoft.com/en-us/windows/win32/xinput/xinput-and-directinput#xinput-and-directinput-side-by-side

@xan105 xan105 added enhancement New feature or request XInput labels Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request XInput
Projects
None yet
Development

No branches or pull requests

1 participant