Unreliable scroll button events with Logitech MX Master 2S
When using the scroll wheel on the Logitech MX Master 2S, the generation of button events (button 4 and 5) is very unreliable and often no event is generated despite the scroll wheel moving.
This mouse is a high-resolution scroll wheel mouse, so I'm guessing that it's the xf86-input-evdevxf86-input-libinput driver that decides how to map those to the course button events.
Applications that use the high-resolution events work fine. It's "only" applications that use the classical button events that are affected.
The issue is most prominently seen when rocking back and forth between two clicks. Often no events are generated in this case. Only when you do two clicks in the same direction do you get an event.
High-resolution events are seen both from evdev and xinput at this point, so it's not like the mouse isn't reporting anything.