开发者

How to use a Play Station 2 controller connected through USB port in XNA

I'm planning to do a simple game using the XNA and I would like to add the possibility of using a Play Station 2 controller. Is there a way to detect its 开发者_如何学编程inputs?


There is no API in XNA / .NET Framework which gives you simple access to generic gamepads. There is a .NET wrapper around DirectInput which you could use for that purpose.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜