sway icon indicating copy to clipboard operation
sway copied to clipboard

commands: add mouse sensitivity

Open kaiserschmarrn0 opened this issue 3 years ago • 11 comments

This commit adds an input command for a mouse sensitivity float. Relative mouse movements are multiplied by the sensitivity.

Fixes #3174

kaiserschmarrn0 avatar Mar 22 '21 22:03 kaiserschmarrn0

Could you add this to the IPC file? Would be nice to get the current value from swaymsg 😃

ErikReider avatar May 05 '21 14:05 ErikReider

Could you add this to the IPC file? Would be nice to get the current value from swaymsg

added

kaiserschmarrn0 avatar May 05 '21 20:05 kaiserschmarrn0

I'm using this patch and I can confirm it works great. It finally makes me able to drop that terribly imprecise "adaptive" profile, while not having the mouse moving like a snail

primalmotion avatar May 21 '21 19:05 primalmotion

werks for me, finally allows me to actually have consistent mouse sensitivity between my installs while not having to change it on my mouse

ghost avatar Jun 10 '21 14:06 ghost

Doesn't pointer_accel do the same?

vyivel avatar Jul 18 '21 06:07 vyivel

pointer_accel is sorta close with the flat profile, but you're limited in the range of multipliers you can apply. maybe libinput had a good reason to do this, but it seems kinda bad to me. with the fastest pointer_accel, my mouse is too slow.

kaiserschmarrn0 avatar Jul 27 '21 02:07 kaiserschmarrn0

Maybe ask the libinput devs?

emersion avatar Jul 27 '21 05:07 emersion

Seems everything is explained here https://people.freedesktop.org/~whot/libinput-rtd/pointer-acceleration.html#pointer-acceleration-on-trackpoints

From what I understand here, sensitivity is tweaking the hardware device config.

primalmotion avatar Sep 14 '21 01:09 primalmotion

I would love to see this get merged soon, is there anything holding it up? I'd be happy to help with it.

notlesh avatar Jan 07 '22 23:01 notlesh

There is a small conflict with the recent master change. Could you update that PR, or do you want me to open a PR on your branch to fix it?

primalmotion avatar Mar 23 '22 17:03 primalmotion

Has this lost steam? I would love to have this feature

mattfbacon avatar Oct 26 '22 23:10 mattfbacon

Hi, I took myself the liberty to make a fork and clear the conflicts. Note I am new to github, and I didn't find out how to merge commits, so those 4 are 19 now. https://github.com/swaywm/sway/pull/7751

jlo62 avatar Sep 18 '23 10:09 jlo62