2 Star 6 Fork 2

hockel / MouseKeyboard

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

USB模拟鼠标键盘


目录

相关链接

  • 本项目加载链接: https://gitee.com/hockel/MouseKeyboard
  • 4*4 矩阵键盘库:https://gitee.com/hockel/keypad
  • AFMotor电机扩展板库:https://gitee.com/hockel/AFMotor
  • 用户库教程链接: https://mindplus.dfrobot.com.cn/extensions-user

描述

本扩展仅支持leonardo开发板,原因是它的核心是mega32u4,芯片带了硬件的USB从机外设。而uno的核心mega328,硬件上并不带usb的外设(当然也有牛人用汇编操作IO模拟实现了低速USB通信:v-usb。个人能力有限就不做相关开发了)

本扩展模拟了usb鼠标和键盘:

  • 支持了鼠标点击,移动等操作
  • 支持键盘输入等操作。

积木列表

示例程序

电路连接

示例一:模拟鼠标移动点击操作

示例二:PPT翻页笔样例程序

示例三:小恐龙游戏

打开Google浏览器输入:chrome://dino 即可开玩啦。(这里只用了一个光线传感器,所以对翼龙那关没有用,需要再加传感器)

硬件连接

详细样例教程欢迎访问个人博客:www.hockel.club

许可证

MIT

支持列表

主板型号 实时模式 ArduinoC MicroPython 备注
leonardo

更新日志

  • V0.0.1 基础功能完成
Copyright (c) DFRobot Corporation All rights reserved. MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

针对leonardo开发板写了一个USB模拟鼠标键盘扩展 展开 收起
C++ 等 2 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/hockel/MouseKeyboard.git
git@gitee.com:hockel/MouseKeyboard.git
hockel
MouseKeyboard
MouseKeyboard
master

搜索帮助

14c37bed 8189591 565d56ea 8189591