Skip to content

fix: mouse jiggler#92

Merged
wj-xiao merged 3 commits intosipeed:mainfrom
imguoguo:fix-jiggler
Dec 16, 2025
Merged

fix: mouse jiggler#92
wj-xiao merged 3 commits intosipeed:mainfrom
imguoguo:fix-jiggler

Conversation

@imguoguo
Copy link
Member

当前版本的鼠标抖动实际不可用,存在以下几个问题:

Desktop 版本上目前的方法参数传递有问题,在 sendJiggle 处传入了对象,而接收使用了 number
Browser 版本的实现有问题,将鼠标固定在屏幕中心不会使其产生抖动

await device.sendMouseAbsoluteData(
emptyKeyRef.current,
rect.width,
rect.height,
rect.width / 2,
rect.height / 2,
0
);

PR 回滚了 browser 版本的更改,并参考 #47 的方法重新实现了 browser 版本

@imguoguo imguoguo marked this pull request as draft December 15, 2025 08:11
@imguoguo imguoguo marked this pull request as ready for review December 15, 2025 08:23
Mouse jiggler feature of browser version has been reimplemented based on the desktop version.

Revert Pull Request: sipeed#46
Reimplemented Reference: sipeed#47
@wj-xiao wj-xiao merged commit 1afc28a into sipeed:main Dec 16, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants