ArduinoXInput:XInput库,用于支持USB的Arduino板-源码

上传者: 42109545 | 上传时间: 2021-02-02 12:07:55 | 文件大小: 31KB | 文件类型: ZIP
Arduino XInput库 该库使您可以使用具有USB功能的Arduino微控制器轻松地模拟Xbox 360控制器。 入门 void setup () { XInput. begin (); } void loop () { XInput. press (BUTTON_A); delay ( 1000 ); XInput. release (BUTTON_A); delay ( 1000 ); } 在库开始工作之前,您必须安装一个包含XInput USB描述符的兼容主板文件,否则微控制器的行为将不像XInput设备。 这不是可选的。 有关更多信息,请参见下面的部分。 安装兼容的板卡软件包后,必须。 安装XInput库后,打开Arduino IDE并加载位于File -> Examples -> XInput的示例草图(我建议您首先尝试使用“眨眼”草图)。 仔细检查您是否在“工具”菜单中选择了正确的XInput板和/或XInput USB类型,然后将草图上传到微控制器。 在Windows上,您可以通过打开操纵杆控制面板( )或使用来测试草图是否正常工作。 如果

文件下载

资源详情

[{"title":"( 17 个子文件 31KB ) ArduinoXInput:XInput库,用于支持USB的Arduino板-源码","children":[{"title":"ArduinoXInput-master","children":[{"title":".gitignore <span style='color:#111;'> 5.54KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 3.86KB </span>","children":null,"spread":false},{"title":"library.properties <span style='color:#111;'> 320B </span>","children":null,"spread":false},{"title":".github","children":[{"title":"workflows","children":[{"title":"ci.yml <span style='color:#111;'> 2.91KB </span>","children":null,"spread":false},{"title":"remove_teensyloader.py <span style='color:#111;'> 385B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"examples","children":[{"title":"ReceiveCallback","children":[{"title":"ReceiveCallback.ino <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false}],"spread":true},{"title":"WiiClassicController","children":[{"title":"WiiClassicController.ino <span style='color:#111;'> 3.43KB </span>","children":null,"spread":false}],"spread":true},{"title":"GamepadPins","children":[{"title":"GamepadPins.ino <span style='color:#111;'> 6.95KB </span>","children":null,"spread":false}],"spread":true},{"title":"SimulateAll","children":[{"title":"SimulateAll.ino <span style='color:#111;'> 4.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"Blink","children":[{"title":"Blink.ino <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"extras","children":[{"title":"SupportedBoards.md <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"API-Demo","children":[{"title":"API-Demo.ino <span style='color:#111;'> 3.19KB </span>","children":null,"spread":false}],"spread":true},{"title":"XInputUSB_API.md <span style='color:#111;'> 4.42KB </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"XInput.h <span style='color:#111;'> 4.86KB </span>","children":null,"spread":false},{"title":"XInput.cpp <span style='color:#111;'> 20.06KB </span>","children":null,"spread":false}],"spread":true},{"title":"keywords.txt <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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