Why can't my 2d app apk access my quest 2's controller buttons and joystick?
I'm developing a 2D Android background app for oculus quest 2, and quest 3 and im having a problem where my app isn't able to see my A, B, X, Y buttons, and my thumbstick movement, no matter if a vr game is focused or not.
When monitoring controller inputs through the Android input subsystem or /dev/input/ (getevent):
- Index triggers (BTN_TL2 / BTN_TR2) and my Grip Triggers (BTN_TL / BTN_TR) register reliably and show up/down states.
- However, buttons A, B, X, Y and the thumbsticks produce no events at all.
My app is supposed to be able to work in the background while i'm playing a game. 2 questions about this:
- Is this intentional where face buttons and thumbstick movement are routed exclusively through the VR Runtime (VrRuntime / OpenXR) and are hidden or not sent from the standard Linux evdev layer?
- Is there any supported way or manifest setting that allows a 2D app to receive standard Android KeyEvent or MotionEvent signals for face buttons when it doesn't hold primary OpenXR focus?
Any help is greatly appreciated!
