summaryrefslogtreecommitdiff
path: root/include/usb_hid_touchpad.h
diff options
context:
space:
mode:
authorWei-Han Chen <stimim@google.com>2018-07-06 15:38:17 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-08-31 11:19:47 -0700
commitee67f4f6c77e9fcda040437c805108820e4e3f5d (patch)
tree3ec9a7f86a3e689e8d9e03aa6a0e7fe4df9a6101 /include/usb_hid_touchpad.h
parent83ee439d07468b4e4a196b81da665c06f3c779a1 (diff)
downloadchrome-ec-ee67f4f6c77e9fcda040437c805108820e4e3f5d.tar.gz
stm32: usb_hid_touchpad: add 'device capabilities' report
'device capabilities' report is expected by precision touchpad driver. BRANCH=none BUG=b:70482333 TEST=manual Signed-off-by: Wei-Han Chen <stimim@chromium.org> Change-Id: I8801f219cc76021f3519f0371f38bdc731dec287 Reviewed-on: https://chromium-review.googlesource.com/1188173 Commit-Ready: Wei-Han Chen <stimim@chromium.org> Tested-by: Wei-Han Chen <stimim@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'include/usb_hid_touchpad.h')
-rw-r--r--include/usb_hid_touchpad.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb_hid_touchpad.h b/include/usb_hid_touchpad.h
index 3d6207b19e..64d8b89f12 100644
--- a/include/usb_hid_touchpad.h
+++ b/include/usb_hid_touchpad.h
@@ -11,6 +11,7 @@
#define USB_HID_TOUCHPAD_TIMESTAMP_UNIT 100 /* usec */
#define REPORT_ID_TOUCHPAD 0x01
+#define REPORT_ID_DEVICE_CAPS 0x0A
#define MAX_FINGERS 5