摘要
Vega只提供对操纵杆的串行端口支持,而当前主流操纵杆采用USB端口,分析了Vega中输入设备和运动模式的管理方式,提出了一种基于DirectInput的USB操纵杆的控制方法,并以北通方向盘为例,实现了USB口方向盘与Vega中简单运动模式和自定义运动模式的绑定,实验结果表明,该方法很好解决了Vega与USB口输入设备驱动的兼容性问题,且响应速度快,获取数据效率高。
The mainstream PC joystick based on USB port cannot be supported in Vega which only support serial port input device. The standard managing method of input device and motion models in Vega is analyzed, and a method of control the USB joystick with Directlnput is put forward. To verify this method, the BTP-C432 wheel is taken as an example, and the USB input device is attached to simple motion models and user defined motion models. The results show that this method worked well on solving the compatibility problem between Vega and the input device with USB port, and both the response speed and the efficiency of input device are advanced.
出处
《计算机工程与设计》
CSCD
北大核心
2007年第2期492-494,共3页
Computer Engineering and Design