sway: add pointer-accel.conf to fix gayming

This commit is contained in:
Aminda Suomalainen 2022-04-15 16:23:08 +03:00
parent 2ecb891a10
commit 773b601924
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
# Switches mouse to adaptive acceleration profile and sets speed to 0
# Idea from https://www.reddit.com/r/linux_gaming/comments/tu2l0q/comment/i34ejep/
# This stops constant rotation in FF XII Zodiac Age, at least when reloading
# sway config during gameplay, rotation by mouse still seems weird, but I
# use an Xbox controller anyway :)
input "type:pointer" {
accel_profile adaptive
pointer_accel 0
}