QtGamepad模块与游戏手柄交互小示例

上传者: zbw1185 | 上传时间: 2019-12-21 22:16:50 | 文件大小: 349KB | 文件类型: zip
Qt中的QtGamepad模块与游戏手柄交互小示例。按下手柄按键时,在页面上显示按键名称和键值。

文件下载

资源详情

[{"title":"( 34 个子文件 349KB ) QtGamepad模块与游戏手柄交互小示例","children":[{"title":"QtGamepad模块与游戏手柄交互示例","children":[{"title":"quickGamepad","children":[{"title":"quickGamepad80.png <span style='color:#111;'> 4.83KB </span>","children":null,"spread":false},{"title":"quickGamepad.pro.user <span style='color:#111;'> 23.43KB </span>","children":null,"spread":false},{"title":"doc","children":[{"title":"src","children":[{"title":"quickgamepadexample.qdoc <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"images","children":[{"title":"qtquickgamepad-example.png <span style='color:#111;'> 49.47KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"quickGamepad.pro <span style='color:#111;'> 274B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 2.71KB </span>","children":null,"spread":false},{"title":"qml","children":[{"title":"xboxControllerDPad.png <span style='color:#111;'> 32.25KB </span>","children":null,"spread":false},{"title":"DPad.qml <span style='color:#111;'> 4.08KB </span>","children":null,"spread":false},{"title":"JoystickViewer.qml <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false},{"title":"xboxControllerRightTrigger.png <span style='color:#111;'> 13.82KB </span>","children":null,"spread":false},{"title":"xboxControllerButtonB.png <span style='color:#111;'> 13.16KB </span>","children":null,"spread":false},{"title":"xboxControllerButtonGuide.png <span style='color:#111;'> 36.42KB </span>","children":null,"spread":false},{"title":"ButtonImage.qml <span style='color:#111;'> 3.11KB </span>","children":null,"spread":false},{"title":"xboxControllerLeftThumbstick.png <span style='color:#111;'> 28.29KB </span>","children":null,"spread":false},{"title":"xboxControllerBack.png <span style='color:#111;'> 10.75KB </span>","children":null,"spread":false},{"title":"main.qml <span style='color:#111;'> 8.74KB </span>","children":null,"spread":false},{"title":"xboxControllerButtonX.png <span style='color:#111;'> 13.69KB </span>","children":null,"spread":false},{"title":"xboxControllerRightShoulder.png <span style='color:#111;'> 20.71KB </span>","children":null,"spread":false},{"title":"LeftThumbstick.qml <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false},{"title":"xboxControllerLeftTrigger.png <span style='color:#111;'> 13.59KB </span>","children":null,"spread":false},{"title":"xboxControllerLeftShoulder.png <span style='color:#111;'> 21.70KB </span>","children":null,"spread":false},{"title":"RightThumbstick.qml <span style='color:#111;'> 2.97KB </span>","children":null,"spread":false},{"title":"xboxControllerButtonY.png <span style='color:#111;'> 13.58KB </span>","children":null,"spread":false},{"title":"xboxControllerStart.png <span style='color:#111;'> 11.01KB </span>","children":null,"spread":false},{"title":"xboxControllerRightThumbstick.png <span style='color:#111;'> 28.70KB </span>","children":null,"spread":false},{"title":"xboxControllerButtonA.png <span style='color:#111;'> 13.44KB </span>","children":null,"spread":false}],"spread":false},{"title":"qml.qrc <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"quickGamepad64.png <span style='color:#111;'> 3.32KB </span>","children":null,"spread":false}],"spread":true},{"title":"test_handle_widget","children":[{"title":"widget.ui <span style='color:#111;'> 3.88KB </span>","children":null,"spread":false},{"title":"test_handle_widget.pro.user <span style='color:#111;'> 23.33KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 175B </span>","children":null,"spread":false},{"title":"widget.cpp <span style='color:#111;'> 4.36KB </span>","children":null,"spread":false},{"title":"widget.h <span style='color:#111;'> 478B </span>","children":null,"spread":false},{"title":"test_handle_widget.pro <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • 天崖天涯 :
    给的是官方的示例,qml写的,不是博主自己写的C++的示例。qml的示例倒是可以运行,但是没有说清楚。我想找的是qt环境,C++写的示例。
    2021-07-26
  • /*小马*/ :
    代码可以运行,可以得到xbox手柄的反馈值
    2019-11-16

免责申明

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