summaryrefslogtreecommitdiff
path: root/include/usb_descriptor.h
diff options
context:
space:
mode:
authorWei-Han Chen <stimim@google.com>2018-08-29 15:52:00 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-08-31 11:19:48 -0700
commit188dc60833566b6c93165b60ef1e04b89999c6e0 (patch)
tree8744c266aac1417fef1271f70afa5171a25d6a9e /include/usb_descriptor.h
parent3303cf3d0427555beae12d4bb1af37303dfbabef (diff)
downloadchrome-ec-188dc60833566b6c93165b60ef1e04b89999c6e0.tar.gz
touchpad heatmap: set subclass and protocol
BRANCH=none TEST=make buildall -j TEST=test on whiskers BUG=b:70482333 Signed-off-by: Wei-Han Chen <stimim@chromium.org> Change-Id: Ieadb743b428997ca1e7c9d45837f503d3023f779 Reviewed-on: https://chromium-review.googlesource.com/1198942 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_descriptor.h')
-rw-r--r--include/usb_descriptor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/usb_descriptor.h b/include/usb_descriptor.h
index a0e9d843cc..aadb5dc80a 100644
--- a/include/usb_descriptor.h
+++ b/include/usb_descriptor.h
@@ -208,6 +208,9 @@ struct usb_endpoint_descriptor {
#define USB_SUBCLASS_GOOGLE_POWER 0x54
#define USB_PROTOCOL_GOOGLE_POWER 0x01
+#define USB_SUBCLASS_GOOGLE_HEATMAP 0x55
+#define USB_PROTOCOL_GOOGLE_HEATMAP 0x01
+
/* Control requests */
/* bRequestType fields */