Simulate/Emulate Xbox Controller in C++ or C#

丶灬走出姿态 提交于 2019-12-23 02:45:36

问题


I have a cooperative PC game, but the second player need Xbox joystick to play. Well i don't have Xbox Controller i have some other 10 buck piece of shit joystick and the game don't recognize him. So i tried different programs to emulate any joystick to XBox joystick, but because mine is cheap the program wont recognize it too.

So i want try to create a program which Simulate XBox joystick inputs.

Then i will capture mine joystick clicks and send the Xbox simulated one. I know how to capture mine joystick clicks i have done that already.

The question is simple - How to send XBox360 Controller inputs to my PC?


回答1:


If you're forced to use XBOX Controller, i assume you're using XNA

If that's the case, you could try this Wrapper: http://sourceforge.net/projects/xnadirectinput/



来源:https://stackoverflow.com/questions/7284854/simulate-emulate-xbox-controller-in-c-or-c-sharp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!