{"repo":"Gnarus-G/maccel","free":true,"listed":false,"github":"https://github.com/Gnarus-G/maccel","clone":"git clone https://github.com/Gnarus-G/maccel.git","description":"Mouse acceleration driver and kernel module for Linux.","language":"Rust","stars":196,"topics":["linux","linux-kernel-module","mouse-accel-driver","mouse-acceleration","dkms","tui"],"license":"GPL-2.0","category":"cli-tools","readme_excerpt":"maccel Mouse pointer acceleration driver. A CLI tool and TUI allows you to easily edit a curve's parameters. Linear Acceleration Function $$V = \\frac{\\sqrt{dx 0^2 + dy 0^2}}{i}$$ $$dx f = dx 0 (1 + aV)$$ $$dy f = dy 0 (1 + aV)$$ Where $dx$ and $dy$ are the directional displacements read from the mouse, $i$ is the polling interval of the mouse; this would be 1ms if the polling rate is 1000Hz, and $a$ is the user provided acceleration factor. The more general function, which is relevant with a set input offset, is: $$(dx f, dy f) = (dx 0, dy 0) (1 + a (V - offset in)^2 / V)$$ Other Curves - [x] Natural - [x] Synchronous - [ ] Look up table Install Shell Script (Recommended) Make sure to have these dependencies installed on your machine: curl , git , make , dkms , and the linux headers in /lib/modules/ You might also, and you probably don't, have to install gcc or clang depending on with which your distro's kernel was built. If you choose to build the cli from source: You'll need cargo NixOS (Flake) For NixOS users, maccel provides a flake module that integrates seamlessly with your system configuration. Parameters are configured declaratively and applied directly as kernel module parameters for maximum efficiency. See README NIXOS.md for detailed setup instructions and all available parameters. Arch (PKGBUILD) Run modprobe maccel after installing. Optionally, add modprobe on install=true to your dkms config file (usually located at /etc/dkms/framework.conf) to automatically mod","default_branch":null,"files":null,"tree":[],"storefront":"/r/Gnarus-G","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Gnarus-G/maccel/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}