summaryrefslogtreecommitdiffstats
path: root/kernel/configs/nopm.config
diff options
context:
space:
mode:
authorPeter Hutterer2018-12-05 01:42:21 +0100
committerBenjamin Tissoires2018-12-07 16:27:11 +0100
commit52ea899637c746984d657b508da6e3f2686adfca (patch)
tree5e710d864a62c37567fce0ad91a5bce45486b2f5 /kernel/configs/nopm.config
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid... (diff)
downloadkernel-qcow2-linux-52ea899637c746984d657b508da6e3f2686adfca.tar.gz
kernel-qcow2-linux-52ea899637c746984d657b508da6e3f2686adfca.tar.xz
kernel-qcow2-linux-52ea899637c746984d657b508da6e3f2686adfca.zip
Input: add `REL_WHEEL_HI_RES` and `REL_HWHEEL_HI_RES`
This event code represents scroll reports from high-resolution wheels and is modelled after the approach Windows uses. The value 120 is one detent (wheel click) of movement. Mice with higher-resolution scrolling can send fractions of 120 which must be accumulated in userspace. Userspace can either wait for a full 120 to accumulate or scroll by fractions of one logical scroll movement as the events come in. 120 was picked as magic number because it has a high number of integer fractions that can be used by high-resolution wheels. For more information see https://docs.microsoft.com/en-us/previous-versions/windows/hardware/design/dn613912(v=vs.85) These new axes obsolete REL_WHEEL and REL_HWHEEL. The legacy axes are emulated by the kernel but the most accurate (and most granular) data is available through the new axes. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Verified-by: Harry Cutts <hcutts@chromium.org> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'kernel/configs/nopm.config')
0 files changed, 0 insertions, 0 deletions