summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJosé Expósito <jose.exposito89@gmail.com>2021-07-07 18:58:21 +0300
committerJiri Kosina <jkosina@suse.cz>2021-07-15 22:16:39 +0300
commitd4b9f10a0eb64c623217eb5938d913974afbe9d2 (patch)
tree619822b22c0702ac08c75c92a13089fba9c792be /scripts/gdb/linux/utils.py
parentdf04fbe8680bfe07f3d7487eccff9f768bb02533 (diff)
downloadlinux-d4b9f10a0eb64c623217eb5938d913974afbe9d2.tar.xz
HID: magicmouse: enable high-resolution scroll
The Magic Mouse, generations 1 and 2, doesn't have a physical scroll wheel, instead, the REL_WHEEL and REL_HWHEEL events are emulated when sliding a finger on the surface of the mouse. However, the smooth movement of the finger is transformed into a step based scroll on the screen, leading to a suboptimal user experience. Emulate high-resolution scroll by sending REL_WHEEL_HI_RES and REL_HWHEEL_HI_RES events so the scroll on the screen is closer to the finger movement. Signed-off-by: José Expósito <jose.exposito89@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions