snolab / CapsLockX

Manipulate your computer like a hacker! 像黑客一样操作电脑!
https://snolab.github.io/CapsLockX/
GNU General Public License v3.0
249 stars 24 forks source link

请问有把脚本升到V2版本的打算吗? #100

Closed zhaochengcube closed 1 month ago

zhaochengcube commented 2 months ago

最近在使用你脚本中的模拟鼠标功能,觉得用着特别丝滑,我现在主用的版本是V2,所以我想用V2版本实现一下

Issues-translate-bot commented 2 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: Can anyone upgrade the script to the V2 version? Planning to?

Recently, I have been using the simulated mouse function in your script, and I feel it is very smooth. The version I am mainly using now is V2, so I want to use the V2 version to implement it

snomiao commented 2 months ago

好啊,我也想升级但最近太忙了。。你可以先自己试试,有进展或问题在这里更新一下

Issues-translate-bot commented 2 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


OK, I want to upgrade too but I'm too busy lately. . You can try it yourself first, and update here if you have any progress or questions.

zhaochengcube commented 2 months ago

研究了一下之后发现,使用定时器就可以实现鼠标丝滑移动的效果了,我简单的实现了一下,正常按wasd是鼠标正常速度匀速移动,按住j后变成慢速移动,按住k后变成快速移动,不过老师提供的加速模型确实厉害

Issues-translate-bot commented 2 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


After some research, I found that using a timer can achieve the effect of silky mouse movement. I simply implemented it. Normally pressing wasd will cause the mouse to move at a normal speed and at a constant speed. After holding down j, it will move at a slow speed. Press and hold k. Later it became fast movement, but the acceleration model provided by the teacher is really powerful

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.