https://bugs.freedesktop.org/show_bug.cgi?id=106286

--- Comment #3 from Peter Hutterer <peter.hutte...@who-t.net> ---
> I don't want code of dubious value to filter based on wheel acceleration 
> because I don't need it, and it would just annoy me.

Yeah, but libinput isn't a project just for you, it's in use by virtually every
Wayland compositor and most modern xorg installations. So let's take a step
back and consider what could work for everyone.

> nobody uses wheelscrolls while they hold middle click. 

let's not have "nobody" or "everybody" arguments, because I'm the one who has
to deal with that when the assumed nobodys are shouting at me in a year's time
because something breaks.

>  which is most severe after the switch bottoms out

Do you ever get wheel events before the BTN_MIDDLE click?

I think the G400 is a programmable mouse but I don't know its features
off-hand, did you change the wheel resolution at some point? Is the
MOUSE_WHEEL_CLICK_ANGLE or MOUSE_WHEEL_CLICK_COUNT udev property set on the
device? Because that could be something we could hook onto.

The second recording indicates that the wheel events can happen 200ms after the
click event which is about as close to "any time" as we can get. So a timeout
after the click isn't suitable here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to