linux-sg2042/Documentation/input
Peter Hutterer 52ea899637 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>
2018-12-07 16:27:11 +01:00
..
devices Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2018-04-05 13:21:57 -07:00
joydev docs: fix nested numbering in the TOC 2017-08-24 13:32:26 -06:00
conf.py Input: create a book with Linux Input documentation 2017-04-05 15:45:07 -07:00
event-codes.rst Input: add `REL_WHEEL_HI_RES` and `REL_HWHEEL_HI_RES` 2018-12-07 16:27:11 +01:00
ff.rst Input: fix small typos in force feedback documentation 2018-01-19 09:35:23 -08:00
gamepad.rst Input: docs - split input docs into kernel- and user-facing 2017-04-17 20:19:34 -07:00
gameport-programming.rst Input: create a book with Linux Input documentation 2017-04-05 15:45:07 -07:00
index.rst docs: Turn off section numbering for the input docs 2017-07-12 16:51:44 -06:00
input-programming.rst Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2017-05-03 12:38:20 -07:00
input.rst Documentation:input: fix typo 2017-08-30 15:18:24 -06:00
input_kapi.rst Input: docs - split input docs into kernel- and user-facing 2017-04-17 20:19:34 -07:00
input_uapi.rst Input: add uinput documentation 2017-04-24 16:50:37 -07:00
interactive.svg Input: docs - convert interactive.fig from xfig to svg 2017-04-05 15:45:09 -07:00
multi-touch-protocol.rst input: add MT_TOOL_DIAL 2018-07-17 15:33:47 +02:00
notifier.rst Input: create a book with Linux Input documentation 2017-04-05 15:45:07 -07:00
shape.svg Input: docs - convert shape.fig from xfig to svg 2017-04-05 15:45:08 -07:00
uinput.rst Input: add uinput documentation 2017-04-24 16:50:37 -07:00
userio.rst Input: create a book with Linux Input documentation 2017-04-05 15:45:07 -07:00