From 703ba4975a46f0aaf7ae60745db422b59d98da16 Mon Sep 17 00:00:00 2001 From: mbanth Date: Thu, 13 May 2021 15:12:20 +0100 Subject: [PATCH] Manually revert Wake Word HID event from 't' back to AC Search --- lib_xua/src/core/endpoint0/xua_ep0_descriptors.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib_xua/src/core/endpoint0/xua_ep0_descriptors.h b/lib_xua/src/core/endpoint0/xua_ep0_descriptors.h index 14f570f0..47991bf9 100644 --- a/lib_xua/src/core/endpoint0/xua_ep0_descriptors.h +++ b/lib_xua/src/core/endpoint0/xua_ep0_descriptors.h @@ -593,11 +593,9 @@ unsigned char hidReportDescriptor[] = 0x81, 0x01, /* Input (Cnst, Ary, Abs, No Wrap, Lin, Pref, No Nul) */ 0x95, 0x01, /* Report Count (1) */ 0x25, 0x01, /* Logical Maximum (1) */ - 0x05, 0x07, /* Usage Page (Key Codes) */ - 0x19, 0x17, /* Usage Minimum (Keyboard t or T) */ - 0x29, 0x17, /* Usage Maximum (Keyboard t or T) */ - 0x81, 0x02, /* Input (Data, Var, Abs, No Wrap, Lin, Pref, No Nul) */ 0x05, 0x0C, /* Usage Page (Consumer) */ + 0x0a, 0x21, 0x02, /* Usage (AC Search) */ + 0x81, 0x02, /* Input (Data, Var, Abs, No Wrap, Lin, Pref, No Nul) */ 0x0a, 0x26, 0x02, /* Usage (AC Stop) */ 0x81, 0x02, /* Input (Data, Var, Abs, No Wrap, Lin, Pref, No Nul) */ 0x95, 0x02, /* Report Count (2) */