Why does the touchpad on Gear VR fire multiple release events?
UE4 version 4.7.2 binary.
For some reason I am getting three Touch Released events for ever single Touch Pressed on the Gear VR touchpad, as well as a mouse button UP.
Additionally, the Gear VR BACK button is firing an Android Back as well as two Touch Released.
Frustrating because it seems hard to filter out. The Finger Index for all these touches is the same -- Touch1.
In both of the instances below I am simply pressing the touchpad once and releasing, then pushing the back button once and releasing.
Logcat output of a touchpad press:
Logcat of the BACK button being pressed:
My blueprint is nothing special. This is what I'm currently using, attached to the level blueprint:
Hey guys, Trying to repro the issue (and hopefully fix it) but how did you manage to make PrintString to work on Android? It doesn't seem to do anything for me.
answered Nov 01 '15 at 09:29 PM
At the moment, I can offer the following hot-fix. Need to modify source code and build UE4. File Engine\Source\Runtime\Launch\Private\Android\LaunchAndroid.cpp, method "static int32_t HandleInputCB(struct android_app* app, AInputEvent* event)". Find the following 'switch' statement and add two lines with the 'default' case:
This is not final fix, but let me know if it works.
answered Nov 02 '15 at 09:23 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here