This commit is contained in:
Maxim Devaev 2025-01-10 23:48:26 +02:00
parent de53bb8111
commit 7b5451d0f1
1 changed files with 6 additions and 6 deletions

View File

@ -49,18 +49,18 @@ Here are some examples to place it to `/etc/kvmd/override.yaml`.
## Description of the algorithm
When the Jiggler is active, PiKVM counts down the time that has elapsed since the last user input:
that is, any action with the keyboard or mouse. If there have been no actions for more than **60 seconds**,
the Jiggler performs a mouse movement and waits another 60 seconds until the next iteration.
that is, any action with the keyboard or mouse. If there have been no actions for more than 15 seconds,
the Jiggler performs a mouse movement and waits another 15 seconds until the next iteration.
The Jiggler supports both [mouse modes](mouse.md): absolute and relative.
Movement patterns are deterministic:
Movement patterns looks like these:
* **Absolute:** `(-100, -100), wait, (100, 100), wait...`<br>*The coordinates are converted depending on the screen resolution.*
* **Relative:** `(-10, -10), wait, (10, 10), wait...`
* **Absolute:** `(+100, +100), wait, (-100, -100), wait...`<br>*The coordinates are converted depending on the screen resolution.*
* **Relative:** `(+10, +10), wait, (-10, -10), wait...`
The Jiggler works on the PiKVM device side, even if the Web UI was closed.
An important feature of the Jiggler is that it does not interfere with normal user work.
If the user is actively interacting with the keyboard and mouse, Jiggler will not introduce its interference
until it notices that the period of inactivity has exceeded the threshold of 60 seconds.
until it notices that the period of inactivity has exceeded the threshold of 15 seconds.