阅读背景:

使用win32 api检索操纵杆名称

来源:互联网 

I have a joystick plugged in. It has a name string "My 50cent Joystick" that shows up if I go to Game Controllers under the Control Panel on Vista. I want to retrieve this string programmatically. After some research I found joyGetDevCaps that can retrieve a lot of information except the name string. Under szPname I get "Microsoft Pc Joystick driver" and under some information. Under szOEMVxD array i get what looks like "pc joystick driver" surrounded by random characters. How do I get the name that shows up under the control panel?I have a joystick plugged in. It has a name str




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: