engstrand-config / dwl-guile

Dynamic tiling Wayland compositor configurable in Guile Scheme, based on dwl and libguile - now with a REPL!
Other
97 stars 5 forks source link

Only allow values of `accel-speed` between -1 and 1 #35

Closed Frewacom closed 1 year ago

Frewacom commented 1 year ago

Libinput only accepts values between -1 and 1 for the acceleration speed of the cursor (with -1 being the slowest possible acceleration). Any values outside of this range will not be applied properly and therefore we should make sure to show an error if this is the case.