cd /news/ai-tools/mouse-control-the-discovery-engine · home topics ai-tools article
[ARTICLE · art-133379] src=dev.to ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

Mouse Control "The Discovery Engine"

A developer has built an open-source Linux mouse configuration tool, dubbed a "discovery engine," that reads HID reports and behavioral evidence to automatically determine how to enable every function of a given mouse, including DPI switches and button remaps. The project began as a basic Python script with a libratbag backend and grew into a larger program after the developer used AI-assisted coding to handle the complexity. The developer says the tool has been security-tested and is now seeking testers.

by read1 min views1 publishedSep 18, 2026

Honestly, I started building this as a basic Python script with a libratbag backend that could support my mouse DPI switches and button remaps without needing two separate programs—and without the dang notifications being broken for those DPI switches.

After I started coding with AI more, mostly because some of this became very complicated and I just wanted something that worked, I discovered something by actually reading the HID reports: there is a missing piece of the puzzle when it comes to supporting mice on Linux.

When you make these devices work, you’re essentially piecing together HID bits and protocol behavior. So I started wondering: what if the program could understand those pieces itself, using a broad repertoire of knowledge that dozens of people have worked hard to uncover over the years?

That’s what I think I ended up making.

The engine essentially pieces together HID information and behavioral evidence to figure out how to get every possible function of a mouse working. It has become an insane program compared with what I originally intended to build.

At this point, I mostly need testers.

I’ve tried to improve the readability of the program, but I’ve also security-tested it and validated its functions into the ground. I’ve stayed up for hours pressing the same button over and over and over again, confirming that this isn’t a fluke or some coding lie.

This is something different.

── more in #ai-tools 4 stories · sorted by recency
── more on @linux 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/mouse-control-the-di…] indexed:0 read:1min 2026-09-18 ·