Controller support for Xbox one in Windows UWP

前端 未结 3 1341
遇见更好的自我
遇见更好的自我 2020-12-05 19:08

I am wondering how I am supposed to handle input for UWP apps targeting Xbox One. I have noticed DirectInput, but I see two issues with it for my use cases:

3条回答
  •  悲&欢浪女
    2020-12-05 19:43

    Take a look at the Windows.Gaming.Input namespace. Its GamePad class is in the Universal API contract and available on all device families and languages.

提交回复
热议问题