-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Controller events being emitted double (e.g., vive-controls gripup
)
#2379
Comments
is this due to #2314 (comment) ? |
Probably. Need to poke around to think of the best solution. @dmarcos would know best. Maybe introduce a property to force event listening that will be disabled by default, but enabled by replayers. What I don't think will work is trying to detect whether a different controller exists, that might be messy. |
i think if you're not going to emulate the gamepad api (which would naturally emulate presence) then you need to inject something into the appropriate isControllerPresent to only attach when actively emulating, rather than leaving multiple instances of controls components with active listeners. brings back to mind some of the earlier debates LOL. note that if you have real vive and emulate touch or other supported controls, you would still have problems in all likelihood |
Description:
gripup
) in theshowcase/tracked-controls
example.See the log shows up twice.
The text was updated successfully, but these errors were encountered: