-
Notifications
You must be signed in to change notification settings - Fork 29
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
Key pressed events keep coming even when the controller is off in 4.24.2 #116
Comments
Hi @muchcharles - Unable to replicate this in 1.9.16 & 1.10.8 - which controller are you using? |
Knuckles DV. I just got a clean engine debug build from tag 4.24-release without any of my branch and I'm still seeing it. I held down the A button as I turned off the controller with steamvr running, and launched UE4 afterwards: (screenshot got cropped a bit, the MessageHandler->OnControllerButtonPressed line with two horizontal grey lines is where things are in the debugger) This was in the stock engine VR template. |
Hi @muchcharles - Is this test project just the standard VR Template? Can you uncomment those two UE_LOGS and send me the result you are getting? Also your SteamVR System Report with logs that were being generated at the same time as when you are observing the repeats) all to [email protected] please. Thanks, |
Sure, I'll mail you a system report taken while running it. This is what shows when those logs are uncommented
|
One thing you might make sure of in reproducing it is that the dashboard doesn't open, sometimes when turning off the controller that seems to happen and could maybe consume the inputs. |
thanks. please make sure you send me the full UE LOG as well :) Cheers, |
Looks like a couple people have reported this recently for steamvr in general: |
was tricky to replicate as turning off the controller for Index at least is difficult while a button is pressed. but it appears if you press and unpress while turning it off then subsequent shutdowns with a press works. still investigating this however, but it does point to a potential steamvr issue. |
If the controller is turned off while a key is pressed, unreal will keep firing key events for it even if the controller was turned off before Unreal launched. I got this first with grip events on index but also tested with the A button (it must have first happened due to gripping while turning the controller off, which can be hard not to do).
I saw this on both SteamVR 1.10.7 and 1.10.8 (haven't tried stable yet).
4.24.2 seems to have added some logic around triggering key repeat events that wasn't there in 4.24.1 and that may be part of why it started showing up. But it may also be that steamvr should be clearing out the controller pressed state when a controller is turned off, because it does seem to leave the stuff set and bActive true:
The text was updated successfully, but these errors were encountered: