cancel
Showing results for 
Search instead for 
Did you mean: 

GearVR no head tracking in debugging mode

Anonymous
Not applicable

Hello, I'm trying to develop GearVR application. I successfully set the development environment and run the sample native applications too. I also set the debugging mode and the apps is working with out GearVR headset but head tracking and any touch input not work in debugging mode. How can I set to properly head track and touch input work in debugging mode?

2 REPLIES 2

mduffor
Protege
Since the head tracking sensors are in the GearVR and it doesn't use the phone's IMU, there is no head tracking in debug mode.  The touch input of the screen should work, but the touchscreen is mapped to "touchscreen" type input, and the GearVR's touchpad is mapped to "mouse" type input.  So the games/apps themselves might distinguish between the two.

If you are using developer mode for development of your own apps, you might read the touchscreen for touchpad emulation, and implement a "joystick look" function with a connected bluetooth gamepad.  That is how I'm currently solving the problem.

Cheers,
mduffor

joan
Protege
If you are tracking a bug that is specifically related to head tracking, you can also set adb to work over WiFi and start the application with the phone already in the headset/untethered. Requires some fiddling and it's much longer to start but it works and you can log what you need to adb.