给你的老鼠一些质量
heavymouse的Python项目详细描述
===重型车==
一个简单的程序,让您的鼠标动量和质量
–安装–
PIP3安装重型
–用法–
Python3-m重
–详细信息–
Heavymouse使用defopt作为命令行选项,您可以通过运行查看详细信息
Python3-M重-帮助
- 用法:heavymouse.py[-h][-拖动][-grav grav][-底部]
- [-左][-右][-上顶] [-allsides allsides][-maxspeed maxspeed] [–帧速率帧速率]
重型-一个python鼠标移动器
例如,对于有弹性的墙,无重力且速度较低:
python heavymouse.py–拖动.04–重力0–所有边反弹–最大速度10
- 可选参数:
-h, --help show this help message and exit --drag DRAG amount of drag. 0.0 to 1.0, default is 0.02 (default: 0.02) --grav GRAV gravity, default is 1.5 (default: 1.5) --bottom BOTTOM can be ‘bounce’, ‘wrap’ or ‘stop’ - default is bounce (default: bounce) --left LEFT can be ‘bounce’, ‘wrap’ or ‘stop’ - default is bounce (default: bounce) --right RIGHT can be ‘bounce’, ‘wrap’ or ‘stop’ - default is bounce (default: bounce) --top TOP can be ‘bounce’, ‘wrap’ or ‘stop’ - default is bounce (default: bounce) --allsides ALLSIDES will override settings for each side - no default (default: None) --maxspeed MAXSPEED prevent the mouse moving (much) faster than this each frame - default is 40 (default: 40) --framerate FRAMERATE frequency the program operates at - default is 50 (default: 50)