如何将操纵杆输入添加到我的visual basic应用程序中 [英] How would add joystick input into my visual basic application

查看:77
本文介绍了如何将操纵杆输入添加到我的visual basic应用程序中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我正在开发一个基本的应用程序,我可以使用连接到我的电脑的操纵杆来控制我的遥控飞机。



即时通讯使用.NetFramework 4.6



我需要一些帮助来设置操纵杆输入,然后将它们传送到遥控飞机和遥控飞机的反应方式

我听说过有一种方法可以使用具有互联网接入功能的手机,为飞机提供飞行范围提升



有谁知道如何实现这一目标或知道文章或视频

so im currently working on an visual basic application where i can control my rc plane using a joystick connected to my pc.

im using .NetFramework 4.6

im needing some help in setting up the joystick inputs and then a way of transmitting them to the rc plane and rc plane reacting according
ive heard there is a way of using a mobile phone that has internet access giving the plane flight range boost

does anyone know how to achieve this or know of an article or video

推荐答案

请参阅我对该问题的评论。但是,很有可能,您可以使用 Microsoft.DirectX.DirectInput

https://msdn.microsoft.com/en-us/library/windows/desktop/Bb318766%28v=VS.85 %29.aspx [ ^ ]。



此CodeProject文章可能很有用:使用C#连接操纵杆 [ ^ ]。



-SA
Please see my comment to the question. However, chances are, you can use Microsoft.DirectX.DirectInput:
https://msdn.microsoft.com/en-us/library/windows/desktop/Bb318766%28v=VS.85%29.aspx[^].

This CodeProject article could be useful: Interfacing with a Joystick using C#[^].

—SA


除了 Sergey Alexandrovich Kryukov [ ^ ],我想提供VB.NET代码的链接:在Visual Basic中从操纵杆读取输入数据 [ ^ ]
In addition to solution 1 by Sergey Alexandrovich Kryukov[^], i would like to provide a link to VB.NET code: Reading Input Data From Joystick in visual basic[^]


这篇关于如何将操纵杆输入添加到我的visual basic应用程序中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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