mirror of
https://github.com/sipeed/NanoKVM-USB.git
synced 2026-09-12 06:29:59 -05:00
feat: add desktop version mouse jiggler function
feat: update mouse jiggler translation in English and Chinese
This commit is contained in:
@@ -37,6 +37,7 @@ class MouseJiggler {
|
||||
|
||||
timeoutCallback(): void {
|
||||
if (Date.now() - this.lastMoveTime > MOUSE_JIGGLER_INTERVAL) {
|
||||
this.lastMoveTime = Date.now() - 1_000
|
||||
this.sendJiggle()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user