fix: g502 scrolling in firefox

This commit is contained in:
gliech 2024-09-16 01:27:08 +02:00
parent e2144238f1
commit 9ff1a90719

View file

@ -0,0 +1,7 @@
# Fixes scrolling bug for G502 mice, where the first scroll step after a
# direction change is not registered sometimes. Also enables gestures and
# pixel-perfect trackpad scrolling apperantly:
# https://wiki.archlinux.org/title/Firefox#Touchscreen_gestures_and_pixel-perfect_trackpad_scrolling
if [ "$XDG_SESSION_TYPE" == "x11" ]; then
MOZ_USE_XINPUT2=1
fi