这是我个人的探索。这段代码意在Windows上以光标的移动模拟滚动操作。适用于老式单点触控设备用触控执行滚动操作。脚本不影响拖动的操作。
环境要求:python 3.7或者更高。
请前往 https://www.python.org/ 下载安装并配置环境变量
脚本为Windows创建,在linux上我未作测试,不确保代码可以完美运行。
已知的问题:滑动不平滑
This is my personal exploration. This code is intended to simulate scrolling with cursor movement on Windows. For older single-touch devices, use touch to perform scrolling operations. Scripts do not affect dragging operations.
Environmental requirements: Python 3.7 or higher.
Please go to https://www.python.org/ to download and install and configure environment variables
The script was created for Windows, I haven't tested it on linux, so I can't make sure that the code will work perfectly.
Known issue: sliding is not smooth