cancel
Showing results for 
Search instead for 
Did you mean: 

Touch controller problem need help

MoonshineG
Explorer
Am working on a game where one player is in VR and the other on screen with a gamepad, I have come into a problem that when the gamepad button is pressed in the VR avatar hands disappear and lose control as they still move in the editor but cant use the triggers ect.  All the code/Inputs for the player on screen have there own naming so the oculus touch shouldn't know there being pressed. Any ideas as its slowed me right down in the game, ps tried Rewired but couldn't get my head round that didnt seam to split them up player 1 and 2, Any help would be great thanks
4 REPLIES 4

MikeF
Trustee
Are you running your gamepad calls through the oculus input api or unity's input manager?

MoonshineG
Explorer
Sorry Mike been work all day, the gamepad calls from the input manager

MoonshineG
Explorer
just noticed I didn't say the VR player was using the oculus touch controllers, and there the ones that shut off when the gamepad is pressed, its like the gamepad is set as default somewhere and if the touch has a button press it switches on until the gamepad dpad or button is pressed again any button has this effect, the triggers don't as there on a axis 

MikeF
Trustee
Thats a bit of a mystery without seeing your exact setup but it may have something to do with an input focus bug introduced with a recent home update which has very similar issues like tracking still working but trigger and button presses becoming unresponsive, though this is just a guess. 

Perhaps try using the oculus input api for both touch and gamepad calls since there might be some underlying conflict between the native input manager when using this kind of setup.