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.
Options

Xbox Controller issue

Despite having included using HoloToolkit.Unity.InputModule, VS does not recognize the implementation of IXboxControllerHandler, even though I have downloaded the requirements for it via Enable Xbox Controller Support option of Mixed Reality Toolkit -> Configure -> Project Settings.

The following error initially made the impression that I had to manually implement the methods, which I did (what follows after this error) but it still does not recognize this interface. What am I missing or doing wrong?

error CS0535: XboxControllerHandler does not implement interface member HoloToolkit.Unity.InputModule.IXboxControllerHandler.OnXboxAxisUpdate(HoloToolkit.Unity.InputModule.XboxControllerEventData)

using UnityEngine;
using HoloToolkit.Unity.InputModule;

public class XboxControllerHandler : MonoBehaviour, IXboxControllerHandler
{
    public void OnGamePadDetected(GamePadEventData eventData)
    {
        throw new System.NotImplementedException();
    }
    public void OnGamePadLost(GamePadEventData eventData)
    {
        throw new System.NotImplementedException();
    }
    public void OnXboxAxisUpdate(GamePadEventData eventData)
    {
        throw new System.NotImplementedException();
    }
}
Sign In or Register to comment.