This is giving me a headache. If I put logs in the HandleInputCB function in the LaunchAndroid.cpp I still don’t get input from the XBox controller if the OpenXR plugin is installed. If I uninstall the OpenXR plugin I get the input.
So it seems that there is some core settings like in the AndroidManifest.xml that is blocking the inputs. But if I compare them I don’t get anything that should make a difference.
Is there some other settings I should look for that I am missing?
The problem is also present in UE4 (since the implementation of the OpenXR Plugin), only if you use the Legacy OVRPlugin, it allows the gamepad to work.
It seems that the gamepad detection itself is blocked,
there are two nodes in Unreal that return information about the gamepad on Android:
Node “Get Gamepad Controller Name” always returns “none” when in OpenXR, but it correctly returns the model of the gamepad connected using the Legacy OVRPlugin.
Node “Is Controller Assigned to Gamepad” always returns “false” when in OpenXR, but correctly returns “true” if a gamepad is connected using the Legacy OVRPlugin.
I reported the problem some time ago on the Oculus branch, but it is not in their interest to look into this problem for now.