# git rev-parse -q --verify 044ee890286153a1aefb40cb8b6659921aecb38b^{commit} 044ee890286153a1aefb40cb8b6659921aecb38b already have revision, skipping fetch # git checkout -q -f -B kisskb 044ee890286153a1aefb40cb8b6659921aecb38b # git clean -qxdf # < git log -1 # commit 044ee890286153a1aefb40cb8b6659921aecb38b # Author: Linus Torvalds # Date: Mon Oct 29 11:25:24 2018 -0700 # # HID: input: simplify/fix high-res scroll event handling # # Commit 1ff2e1a44e02 ("HID: input: Create a utility class for counting # scroll events") created the helper function # # hid_scroll_counter_handle_scroll() # # to handle high-res scroll events and also expose them as regular wheel # events. # # But the resulting algorithm was unstable, and causes scrolling to be # very unreliable. When you hit the half-way mark of the highres # multiplier, small highres movements will incorrectly translate into big # traditional wheel movements, causing odd jitters. # # Simplify the code and make the output stable. # # NOTE! I'm pretty sure this will need further tweaking. But this at # least turns a unusable mouse wheel on my Logitech MX Anywhere 2S into # a usable one. # # Cc: Jiri Kosina # Cc: Harry Cutts # Cc: Benjamin Tissoires # Cc: Peter Hutterer # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/br-xtensa-full-2016.08-613-ge98b4dd/bin/xtensa-linux-gcc --version # < git log --format=%s --max-count=1 044ee890286153a1aefb40cb8b6659921aecb38b # < make -s -j 8 ARCH=xtensa O=/kisskb/build/linus_xtensa-allnoconfig_xtensa CROSS_COMPILE=/opt/cross/kisskb/br-xtensa-full-2016.08-613-ge98b4dd/bin/xtensa-linux- allnoconfig drivers/staging/mt7621-dts/Kconfig:4:warning: 'BUILTIN_DTB' has wrong type. 'select' only accept arguments of bool and tristate type # make -s -j 8 ARCH=xtensa O=/kisskb/build/linus_xtensa-allnoconfig_xtensa CROSS_COMPILE=/opt/cross/kisskb/br-xtensa-full-2016.08-613-ge98b4dd/bin/xtensa-linux- :1332:2: warning: #warning syscall io_pgetevents not implemented [-Wcpp] :1335:2: warning: #warning syscall rseq not implemented [-Wcpp] Completed OK # rm -rf /kisskb/build/linus_xtensa-allnoconfig_xtensa # Build took: 0:00:19.940605