Hello everyone.
The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
Options
Xbox One S controller - right stick doesn't work in HL
Hello,
I'm experimenting with using the Xbox One S controller with HoloLens. The left stick and the triggers work like a charm, but I can't get the right stick working. Using Unity, I have configured the Input Manager so that the right analog stick works in the Unity player - however, when deployed to the HoloLens device, it seems like I can't get any input.
The relevant code (go is the GameObject I am trying to move and rotate with the controller):
//Move var x = Input.GetAxis(XAxisName) * XAxisMultiplier; go.transform.RotateAround(cameraTransform.position, cameraTransform.up, x); var y = Input.GetAxis(YAxisName) * YAxisMultiplier; go.transform.RotateAround(cameraTransform.position, cameraTransform.right, y); var z = Input.GetAxis(ZAxisName) * ZAxisMultiplier; go.transform.position += cameraTransform.forward * z * -0.03f; var stickInFrontOfMe = Input.GetButton(StickInFrontOfMeButtonName); if (stickInFrontOfMe) go.transform.position = cameraTransform.position + cameraTransform.forward * StickInFrontOfMeDistance; //Rotate var rz = Input.GetAxis(RotateAroundZAxisName)*RotateAroundZAxisSpeed; go.transform.Rotate(cameraTransform.forward, rz); var ry = Input.GetAxis(RotateAroundYAxisName)*RotateAroundYAxisSpeed; go.transform.Rotate(cameraTransform.up, ry);
The Move works as it should, the Rotate does not. Again, the Input Manager is configured properly, using the 4th and 5th axis of the joystick and it works in the Unity player.
Is this a HoloLens bug or am I doing something wrong?
Thanks,
András
Tagged:
0
Answers
Hi @vbandi,
This is a bug in Unity and we are working with them to get it resolved.
Thank-you for reporting this issue!
@vbandi : to get input from all sticks and buttons, we put a free asset on the Unity Asset Store:
https://www.assetstore.unity3d.com/en/#!/content/70068
Thank you, @ahiller! Looking forward to the fix.
@Jeff - thank you, looks interesting. I hope that the real fix will happen soon though...
has this been fixed yet?
@ahillier Status?
Stephen Hodgson
Microsoft HoloLens Agency Readiness Program
Virtual Solutions Developer at Saab
HoloToolkit-Unity Moderator
@ahillier I would also like to know if that has been fixed. Thanks!
any news on this? I like that there's an asset on the store to alleviate in the meantime, but ideally this would just work with Unity like the other stick does (for several reasons!)
@ahiller Ping
@ahillier ping too.