diff options
author | Wei-Han Chen <stimim@google.com> | 2018-07-03 17:20:05 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-07-04 09:09:06 -0700 |
commit | 925798c329cd6780663144ca9d90dbfa90560b1b (patch) | |
tree | 7bc9d6e1c9b5dbf9406e220d4ce3bc07f6fea387 /chip/stm32 | |
parent | d91b202256615ef6a3b41ee9c9140c4a815d43a6 (diff) | |
download | chrome-ec-925798c329cd6780663144ca9d90dbfa90560b1b.tar.gz |
usb_hid_touchpad.c: change report_desc to USAGE(touch pad)
BRANCH=none
BUG=b:70482333
TEST=tested on device
Signed-off-by: Wei-Han Chen <stimim@chromium.org>
Change-Id: Ifc1ece2de00979e171f0a29226d927da3951515e
Reviewed-on: https://chromium-review.googlesource.com/1124267
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 'chip/stm32')
-rw-r--r-- | chip/stm32/usb_hid_touchpad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/usb_hid_touchpad.c b/chip/stm32/usb_hid_touchpad.c index a3174e4d94..6646ad2e09 100644 --- a/chip/stm32/usb_hid_touchpad.c +++ b/chip/stm32/usb_hid_touchpad.c @@ -122,7 +122,7 @@ const struct usb_endpoint_descriptor USB_EP_DESC(USB_IFACE_HID_TOUCHPAD, 81) = { */ static const uint8_t report_desc[] = { 0x05, 0x0D, /* Usage Page (Digitizer) */ - 0x09, 0x04, /* Usage (Touch Screen) */ + 0x09, 0x05, /* Usage (Touch Pad) */ 0xA1, 0x01, /* Collection (Application) */ 0x85, 0x01, /* Report ID (1, Touch) */ /* Finger 0 */ |