Skip to content

About

Unofficial Linux settings app for the AngryMiao AM Infinity mouse

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Infinity Mouse Settings

An unofficial Linux settings app for the AngryMiao AM Infinity mouse.

AngryMiao's own app, AM Master, only runs on Windows. This app changes the same settings from Linux. Settings are stored on the mouse itself, so they stay the same on every computer.

This is an independent community project. It is not made, endorsed or supported by AngryMiao. AngryMiao and AM Infinity are trademarks of their owner. See NOTICE.md.

Buttons page

What it can change

  • Resolution: 1 to 8 DPI levels, each from 50 to 30000 DPI in steps of 50, with separate X and Y values if you want them. You can also choose the active level and turn the quick DPI switch (side buttons + wheel) on or off.
  • Buttons: what each of the 7 buttons does. Options are mouse clicks, scrolling, DPI up/down/cycle, profile switch, media and app keys, or any keyboard key with Ctrl/Shift/Alt/Super.
  • Performance: polling rate (125 to 8000 Hz), click debounce (7 steps), lift-off distance, motion sync, angle snapping, ripple control, game (FPS) mode and factory reset.

Each change is sent to the mouse as soon as you make it.

Not supported yet

Lighting colours, macro editing, wireless sleep timers and firmware updates.

Only the wired (USB cable) connection has been tested. The 2.4 GHz receiver and Bluetooth have not.

Install

Download the latest version from the Releases page. It works on Ubuntu 22.04 or newer (64-bit PC).

Ubuntu, Debian, Linux Mint, Pop!_OS

  1. Download infinity-mouse-settings_<version>_amd64.deb.

  2. Install it from a terminal:

    sudo apt install ./infinity-mouse-settings_*_amd64.deb
  3. Unplug the mouse and plug it back in.

  4. Open Infinity Mouse Settings from your app menu.

The package also installs the access rule the app needs to talk to the mouse (/usr/lib/udev/rules.d/70-am-infinity-mouse.rules), so it works straight away.

To uninstall:

sudo apt remove infinity-mouse-settings

Other Linux distributions

  1. Download infinity-mouse-settings-<version>-x86_64-linux.tar.gz and unpack it.
  2. Run ./infinity-mouse-settings from the unpacked folder.
  3. The first time, click Allow access in the app. It installs the access rule (/etc/udev/rules.d/70-am-infinity-mouse.rules) and asks for your password once. To undo this, delete that file.

Command-line options

Option What it does
--demo Use a pretend mouse. Nothing is sent to real hardware.
--page resolution|buttons|performance|help Open on a given page.
--read Print every setting stored on the mouse, change nothing.
--screenshot file.png Save a picture of the window and exit.

How it works

The app talks to the mouse over its USB HID settings interface (/dev/hidraw*). It uses the same commands as AM Master. docs/PROTOCOL.md lists every command and value, and where each one was learned.

Building from source

Install Rust from https://rustup.rs, then run cargo build --release. To build the release packages, run packaging/build-release.sh.

Libraries

egui / eframe, libc and png. Each is licensed under MIT or Apache-2.0.

License

MIT. See LICENSE.

About

Unofficial Linux settings app for the AngryMiao AM Infinity mouse

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages