Re: [PATCH] HID: logitech: Handle 0 scroll events for the m560

2019-03-20 Thread Benjamin Tissoires
On Tue, Mar 19, 2019 at 11:48 PM Peter Hutterer wrote: > > hidpp_scroll_counter_handle_scroll() doesn't expect a 0-value scroll event, it > gets interpreted as a negative scroll direction event. This can cause scroll > direction resets and thus broken scrolling. > > Reported-and-tested-by: Aimo Me

[PATCH] HID: logitech: Handle 0 scroll events for the m560

2019-03-19 Thread Peter Hutterer
hidpp_scroll_counter_handle_scroll() doesn't expect a 0-value scroll event, it gets interpreted as a negative scroll direction event. This can cause scroll direction resets and thus broken scrolling. Reported-and-tested-by: Aimo Metsälä Signed-off-by: Peter Hutterer --- drivers/hid/hid-logitech