auto-sensitivity

Crates.ioauto-sensitivity
lib.rsauto-sensitivity
version0.1.0
sourcesrc
created_at2023-08-24 10:47:45.701139
updated_at2023-08-24 10:47:45.701139
descriptionA tool to have multiple sensitivity per pointer device on X11
homepagehttps://github.com/owngr/autosensitivity
repositoryhttps://github.com/owngr/autosensitivity
max_upload_size
id953578
size15,436
Olivier Wenger (owngr)

documentation

README

Auto-sensitivity

Goal

On linx with X11 it's hard to use gaming mouse without having to change the DPI each time compared to an office mouse. This utility allows you to have sensitivity saved per xinput device

Installation

  1. Ensure that you're using x11 and have xinput installed
  2. Run cargo install autosensitivity

Usage

Modify the sensivity for a device as you would normaly do:

xinput list

xinput --set-prop <ID> 'libinput Accel Speed' -0.25

Then you can save the config like that:

autosensitivity --save <INPUT_NAME>

And load all your saved configs like that:

autosensitivity --load
Commit count: 12

cargo fmt