A device which periodically randomly perturbs the mouse, for keeping you active on chat media, stopping screen savers from kicking in etc
It's a BLE HID peripheral that identifies as a mouse. It's indistinguishable from a regular bluetooth mouse, because it is a bluetooth mouse.
. ~/export-esp.sh
cargo generate esp-rs/esp-idf-template cargo # simple templates, target esp32
cargo add esp-idf-hal esp-idf-sys anyhow esp32-nimble
cargo run
Flash an ESP32 board (I used an AdaFruit Huzzah ESP32, but any variant should work) with the code:
cargo run
I built mine into an old film canister and powered it from the monitor's USB port:
Then on your target computer, enable Bluetooth and pair with "BT Mouse". For some reason it later changes its name to "nimble" on a mac, not sure what that is all about.
Every 60 seconds, it will give your mouse a little jiggle!
2023-11-24_11-04-55.mp4
If you monitor the debug console you'll see this when it jiggles:
To change the interval, edit the timeout in the last line of src/main.rs
.