Skip to content
Snippets Groups Projects
Commit 00720277 authored by Wei-Ning Huang's avatar Wei-Ning Huang Committed by Jiri Kosina
Browse files

HID: hid-multitouch: support fine-grain orientation reporting


The current hid-multitouch driver only allow the report of two
orientations, vertical and horizontal. We use the Azimuth orientation
usage 0x3F under the Digitizer usage page to report orientation if the
device supports it.

Changelog:
  v1 -> v2:
   - Fix commit message.
   - Remove resolution reporting for ABS_MT_ORIENTATION.
  v2 -> v3:
   - Fix commit message.
  v3 -> v4:
   - Fix ABS_MT_ORIENTATION ABS param range.
   - Don't set ABS_MT_ORIENTATION in ABS_DG_HEIGHT when it is already
     set by ABS_DG_AZIMUTH.
  v4 -> v5:
   - Improve multi-touch-protocol.rst documentation.

Signed-off-by: default avatarWei-Ning Huang <wnhuang@chromium.org>
Signed-off-by: default avatarWei-Ning Huang <wnhuang@google.com>
Reviewed-by: default avatarDmitry Torokhov <dtor@chromium.org>
Reviewed-by: default avatarHenrik Rydberg <rydberg@bitmath.org>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 127e71bd
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment