nefarius / ViGEmClient

ViGEm Client SDK for feeder development.
https://docs.nefarius.at/projects/ViGEm/
MIT License
134 stars 65 forks source link

Explicit XInput User Index #2

Closed michael-fadely closed 5 years ago

michael-fadely commented 5 years ago

Is your feature request related to a problem? Please describe. It appears that this client interface doesn't provide a method to explicitly manage XInput user indices, which is a useful feature to have.

Describe the solution you'd like A method to specify the desired index would be ideal.

Describe alternatives you've considered If the driver allows it at a lower level, I could do the driver communication myself. I just figured it would be a nice-to-have for a higher-level API like this one.

Additional context I'm migrating my personal DualShock 4 utility (branch) from ScpVBus over to ViGEm because ViGEm affords me some conveniences (like callbacks for emulated state changes).

nefarius commented 5 years ago

What you request is unfortunately impossible. The User Index gets dictated and assigned by pad connection order by the XInput sub-system, I have no influence about it.

michael-fadely commented 5 years ago

Alright, no big deal. I can work around this. Thanks!