Crate jiggy

Source
Expand description

jiggy - Minimalistic cross-platform mouse jiggler Copyright (c) 2025 Marco Ivaldi raptor@0xdeadbeef.info

“If I wanted the government in my house I’d buy an Alexa.”

– Rick Sanchez

Jiggy is a minimalistic (but effective) cross-platform mouse jiggler written in Rust. It might be useful for a number of “reasons”.

Disclaimer: I’m not responsible for any problems that might arise due to using this program to pretend you’re “working from home”.

§Features

  • Minimalistic (but effective) mouse jiggler, with no setup needed.
  • As implemented, mouse jiggling won’t interfere with your regular activities.
  • Thanks to non-invasive mouse wheel scrolling, the new Microsoft Teams should not display you as away.
  • Cross-platform support for macOS, Windows, and Linux.

§See also

§Installing

The easiest way to get the latest release is via crates.io:

cargo install jiggy

Note: if run into problems building on Linux, you need to install libxdo-dev or equivalent package.

§Compiling

Alternatively, you can build from source:

git clone https://github.com/0xdea/jiggy
cd jiggy
cargo build --release

Note: if run into problems building on Linux, you need to install libxdo-dev or equivalent package.

§Usage

Run jiggy as follows:

jiggy [check_interval_in_secs]

Note: on macOS, you might need to grant Accessibility privileges to your terminal application.

§Tested on

  • Apple macOS Sequoia 15.2
  • Ubuntu Linux 24.04.1 LTS
  • Microsoft Windows 11 23H2

§Changelog

Enums§

Void
Empty enum to emulate the never type ! and avoid using #![feature(never_type)].

Functions§

run
Check the mouse position every interval; jiggle the mouse pointer and scroll the wheel if the position hasn’t changed.