如何在WPF vb.net/C#中检测操纵杆/游戏手柄输入? [英] How to Detect Joystick/Gamepad input in WPF vb.net/C#?

查看:574
本文介绍了如何在WPF vb.net/C#中检测操纵杆/游戏手柄输入?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

经过2天的搜索,我终于决定在这里问一下......找到关于DirectX的东西,但是老实说如何使用它...



如何我可以使用vb.net(首选)或C#检测 WPF WindowsForms 中的GamePad / Joystick输入。 ..

我用USB游戏手柄制作了一个吉他控制器,只是试图制作一个应用程序,将其输入转换为键盘键...感谢大家的帮助!

After 2 days of searching Google I've finally decided to ask here... Found things about DirectX but idk how to use it honestly..

How could I detect GamePad/Joystick input in WPF and Not WindowsForms using vb.net(preferred) or C#...
I've made a guitar controller out of USB gamepad and just trying to make an app that get its input to translate them to Keyboard Keys... Thanks for Help everyone!

推荐答案

试试这个....





try this ....


http://stackoverflow.com/questions/3929764/taking-input-from-a-joystick-with-c-sharp-net

[ ^ ]


这篇关于如何在WPF vb.net/C#中检测操纵杆/游戏手柄输入?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆