diff options
author | Jiri Kosina <jkosina@suse.cz> | 2018-10-23 13:35:22 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2018-10-23 13:35:22 +0200 |
commit | 276e722761a1c7903fbfb065420fd1850b00f1dd (patch) | |
tree | 05cb4c39139da6d9132bab9e6b1c2ad7bc47394a /Documentation | |
parent | 4e7be68e8d0f7bb3c030cdfa442d298457197751 (diff) | |
parent | d9ca1c990a7ffee7e68ab8d64efacd6c73103203 (diff) |
Merge branch 'for-4.20/logitech-highres' into for-linus
High-resolution support for hid-logitech
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/input/event-codes.rst | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Documentation/input/event-codes.rst b/Documentation/input/event-codes.rst index a8c0873beb95..cef220c176a4 100644 --- a/Documentation/input/event-codes.rst +++ b/Documentation/input/event-codes.rst @@ -190,7 +190,16 @@ A few EV_REL codes have special meanings: * REL_WHEEL, REL_HWHEEL: - These codes are used for vertical and horizontal scroll wheels, - respectively. + respectively. The value is the number of "notches" moved on the wheel, the + physical size of which varies by device. For high-resolution wheels (which + report multiple events for each notch of movement, or do not have notches) + this may be an approximation based on the high-resolution scroll events. + +* REL_WHEEL_HI_RES: + + - If a vertical scroll wheel supports high-resolution scrolling, this code + will be emitted in addition to REL_WHEEL. The value is the (approximate) + distance travelled by the user's finger, in microns. EV_ABS ------ |