Home > OS >  is there any way to enable xbox cursor for uwp games?
is there any way to enable xbox cursor for uwp games?

Time:10-06

My game, built with Unity for UWP, how can i enable this pointer for my game?

enter image description here

CodePudding user response:

Mouse support is only 'enabled' for specific applications. It's not available to general UWP on Xbox applications.

CodePudding user response:

In addition to @Chuck Walbourn's answer, there is something else I want to add.

If you mean that you want to have hardware mouse support, then @Chuck Walbourn is right.

If you want to emulate a pointer with non-pointer input devices such as an Xbox gamepad or remote control, you could try to set the Application.RequiresPointerMode Property.

You could call it like this:

 public App()
    {
        this.InitializeComponent();
        this.Suspending  = OnSuspending;
        this.RequiresPointerMode = ApplicationRequiresPointerMode.WhenRequested;
    }
  • Related