Skip to content
This repository has been archived by the owner on Jan 5, 2022. It is now read-only.

Trigger input won't work properly if multiple controllers are plugged in a Windows web build #10

Closed
JISyed opened this issue Nov 8, 2013 · 1 comment

Comments

@JISyed
Copy link
Owner

JISyed commented Nov 8, 2013

When using XCI on a Windows web build, getting trigger input with multiple controllers plugged in will not work properly. What might happen is that trigger input will go though only if all triggers on all controllers are pressed down, but your mileage may vary.

The reason this is a limitation and not a bug is because of the way Microsoft implemented DirectInput. It severely limits trigger input on Windows.

XInput is usually seen as the solution to this problem, except it won't work for web builds. XInput is already implemented for native builds because native builds support plugins while web players don't.

The good news is that having one controller plugged in doesn't seem to have any issues with any input, including triggers.

@JISyed
Copy link
Owner Author

JISyed commented Jan 10, 2017

Unity dropped support for the Web Player, so XboxCtrlrInput will follow suit.

@JISyed JISyed closed this as completed Jan 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant