XInput 操作罗技手柄测试程序

上传者: owldestiny | 上传时间: 2019-12-21 20:25:24 | 文件大小: 90KB | 文件类型: rar
正常使用该程序手柄设定(仅在罗技手柄F710做过测试):DX键拨到X,MODE灯灭掉,VIBRATION打开(按下时震动时间较长即为打开),该程序只能对一个手柄进行操作,但修改后可对最多4个手柄进行操作. 1.按下Initialize Joystick按键,测试是否能够读取到手柄数据来测试是否有手柄连接,若有手柄连接,则开启读取手柄数据线程,并且enable震动手柄按键. 2.在读取手柄数据线程中,读取tigger以及thumbstick控制量数据并输出到对应控件中,若某一按键被按下,对应的button也会enable. 3.当按下vibrate button,手柄会高速震动,直到关闭程序或者stop vibration. 4.当关闭程序时,读取手柄控制bool型变量为false,使得读取手柄数据线程终止,等待读取手柄数据线程终止后程序退出.

文件下载

资源详情

[{"title":"( 20 个子文件 90KB ) XInput 操作罗技手柄测试程序","children":[{"title":"Joystick_Test1","children":[{"title":"resource.h <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"Joystick_Test1.jpg <span style='color:#111;'> 33.36KB </span>","children":null,"spread":false},{"title":"Joystick_Test1.cpp <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"Joystick_Test1.vcproj <span style='color:#111;'> 5.41KB </span>","children":null,"spread":false},{"title":"Joystick_Test1.aps <span style='color:#111;'> 58.59KB </span>","children":null,"spread":false},{"title":"Joystick_Test1.h <span style='color:#111;'> 489B </span>","children":null,"spread":false},{"title":"Joystick_Test1.vcproj.WIN-KLBG9RPA7AV.Administrator.user <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"magic.txt <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false},{"title":"magic.txt.bak <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"BuildLog.htm <span style='color:#111;'> 6.72KB </span>","children":null,"spread":false}],"spread":true},{"title":"stdafx.cpp <span style='color:#111;'> 145B </span>","children":null,"spread":false},{"title":"Joystick_Test1.rc <span style='color:#111;'> 6.40KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false},{"title":"Release","children":[{"title":"BuildLog.htm <span style='color:#111;'> 7.77KB </span>","children":null,"spread":false}],"spread":false},{"title":"Joystick_Test1_2011_08_04_17_24.exe <span style='color:#111;'> 52.00KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"Joystick_Test1.rc2 <span style='color:#111;'> 370B </span>","children":null,"spread":false},{"title":"Joystick_Test1.ico <span style='color:#111;'> 21.12KB </span>","children":null,"spread":false}],"spread":false},{"title":"Joystick_Test1Dlg.cpp <span style='color:#111;'> 7.66KB </span>","children":null,"spread":false},{"title":"Joystick_Test1Dlg.h <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • mlxdaa :
    支持一下~~~!
    2018-12-17
  • 安静的沉默 :
    难得一个这么多年了的 MFC 程序,VS2017 直接编译通过!
    2018-03-07
  • 执手画眉弯 :
    不错的东西,很好用
    2018-01-16
  • 泥巴娃 :
    难得一个这么多年了的 MFC 程序,VS2015 直接编译通过!
    2017-02-28
  • MCUBOOS :
    罗技F510,能用,挺好
    2016-05-26

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明