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:22 +0300
committerJiri Kosina <jkosina@suse.cz>2021-07-15 22:16:39 +0300
commit9d60648c607a2bfeef5e563e49de5d2e1b7a639a (patch)
tree26dbe9dbaeb2795a6a75dedda510f19315d2c01f /scripts/gdb/linux/utils.py
parentd4b9f10a0eb64c623217eb5938d913974afbe9d2 (diff)
downloadlinux-9d60648c607a2bfeef5e563e49de5d2e1b7a639a.tar.xz
HID: magicmouse: high-resolution scroll threshold
In order to avoid triggering involuntary high-resolution scroll events due to tiny touch movement deltas, add a movement threshold. The value chosen for the threshold, about 1.5 ~ 2 mm, is similar to the threshold used on touchpads by libinput (see libinput evdev-mt-touchpad-gestures.c) to try to keep the scroll experience consistent. 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