Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get a grip on sensibility #3

Open
apocatarsis opened this issue May 31, 2015 · 6 comments
Open

Get a grip on sensibility #3

apocatarsis opened this issue May 31, 2015 · 6 comments

Comments

@apocatarsis
Copy link
Collaborator

Synapse lets you assign a button to change the sensibility of the mouse. This would be neat!!
But I do not know the first thing about it

@drunkscientist
Copy link

so assuming you mean 'sensitivity' i found some relevant information but dont know enough about programming to do anything useful with it

http://askubuntu.com/questions/205676/how-to-change-mouse-speed-sensitivity

http://unix.stackexchange.com/questions/90572/how-can-i-set-mouse-sensitivity-not-just-mouse-acceleration

@Destroyer
Copy link
Collaborator

I don't think we need to implement this at all since this exists for DPI change https://github.com/mbuesch/razer . Also you can call this app from naga_keypadmapper if you want to.

@apocatarsis
Copy link
Collaborator Author

But that is super big! It should work without any more work using this project alone!

I was thinking of something like in here or here.

Something like adding a new option to mapping.txt like dpistep=-300 so you can bind a button to increase/decrease sensitivity. Instead of xdotool we culd use some xinput magic. I really think this would be neat!.

@violet-fish
Copy link

I was able to change the speed at which the pointer moves by modifying the ConstantDeceleration in the xorg config for the mouse. I think this can also be achieved through xset m [acceleration ratio] [acceleration threshold] (https://wiki.archlinux.org/index.php/Mouse_acceleration).

@apocatarsis
Copy link
Collaborator Author

I was thinking more of as in changing the mouse DPI, like you do with synapse on windows. I dont know if that would be equivalent, but my guess is not. Let me know if you find out!

@TheGuardianWolf
Copy link
Contributor

TheGuardianWolf commented Aug 6, 2017

There's a command to do this

xinput set-prop <device_id> "Coordinate Transformation Matrix" x 0 0 0 x 0 0 0 x

Replace X with a floating point number.

I can pull request to implement a way to increment or decrement sensitivity if needed, or you can simply use an environment variable to store the sensitivity between changes (probably better, makes app lighter).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants