Hello all.
I am developing an UWP game for the Xbox platform.
When trying to implement a new feature, a keyboard and mouse supporting I am completely stuck with mouse input.
All input in the game handles by Rewired input system.
I have configured and mapped input devices - Xbox controller works on Xbox One and standalone platforms, mouse and keyboard are enabled on standalone and etc.
When I tried to implement keyboard/mouse input on Xbox I found out that keyboard input handles properly, but mouse never appears.
Unity version is 2018.4.16
Build type is D3D project.
I downloaded and compile UWP mouse input sample to check how it works: GitHub - microsoft/Xbox-ATG-Samples: Game development samples published by the Xbox Advanced Technology Group using the Xbox One XDK and for the Universal Windows Platform (UWP).
It sounds ridiculous but I can’t use mouse in that project. It works on Dev Home on console, cursor moves, but if I load sample - mouse not appear, I can see only two green buttons and can’t press them.
Then I tried to use UWP documentation and write simple class to test.
I used Windows.Devices.Input namespace. Create instance of MouseCapabilities class and check mousePresent property in Awake and Update.
It always returns 0, no matter if i start application with connected mouse or connect it when game runs.
I want to get physical mouse input on Xbox game.
Could someone explain is there some point in mouse/game configuration that I miss?