3 ms·
A feature I'm strangely excited by in Gnome 42 is the ability for the display server (Mutter) to read input events at the device's native rate[1] -- previously
by jka 5y ago
A feature I'm strangely excited by in Gnome 42 is the ability for the display server (Mutter) to read input events at the device's native rate[1] -- previously they were limited to the refresh rate of your monitor.
I have a hardware mouse where one of the buttons seems to have physically degraded over time, and the mousepress up/down signals (voltage levels ultimately, I suppose?) that it sends are a little unreliable.
libinput has some lovely documentation[2] to describe how they detect and filter out erroneous button events ("debouncing") -- but some of that functionality depends on the frequency at which events can be read from the hardware, and my monitor's refresh rate is 60Hz.
So in this case it looks like a software upgrade may increase the useful lifetime of a hardware peripheral.
[1] - https://blogs.gnome.org/shell-dev/2021/12/08/an-eventful-instant/ https://blogs.gnome.org/shell-dev/2021/12/08/an-eventful-ins...
[2] - https://wayland.freedesktop.org/libinput/doc/1.15.5/button-debouncing.html https://wayland.freedesktop.org/libinput/doc/1.15.5/button-d...
[3] - https://wayland.freedesktop.org/libinput/doc/1.15.5/faqs.html#what-causes-the-timer-offset-negative-warning https://wayland.freedesktop.org/libinput/doc/1.15.5/faqs.htm...