Skip to content

ESP32 widget that periodically waggles your mouse pointer.

Notifications You must be signed in to change notification settings

blowback/mouse-jiggler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32 BLE Mouse Jiggler

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.

setup

. ~/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

build

cargo run

use

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: 2023-11-24 10 53 58 2023-11-24 10 55 20

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:

image

To change the interval, edit the timeout in the last line of src/main.rs.

About

ESP32 widget that periodically waggles your mouse pointer.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages