本文介绍了[C ++] [UWP] [Windows .Gaming .Input]输入设备标识的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,有没有办法识别连接到PC的输入设备? (如游戏手柄,街机棒等)?在Xbox One SDK中,Windows :: Xbox :: Input :: IController中的每个设备都有自己的ID,但Windows :: Gaming :: Input :: IGameController没有
任何id字段。 

如何识别连接的设备?



祝你好运,Radek

Hello, is there any way to identify an input device that is connected to PC? (such as gamepad, arcade stick etc)? In Xbox One SDK every device in Windows::Xbox::Input::IController has got his own ID, but Windows::Gaming::Input::IGameController don't have any id fields. 
How to identify connected devices?

Best regards, Radek

推荐答案


这篇关于[C ++] [UWP] [Windows .Gaming .Input]输入设备标识的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 11:21