耳机音量按键HID报告描述符
2021-09-23
1491
0
耳机音量按键在windows的设备管理器中如下:
其报告描述符的原始数据为:
05 0c 09 01 a1 01 85 01 15 00 25 01 75 01 95 01 09 e9 81 02 09 ea 81 02 09 cd 81 02 09 b5 81 02 09 b6 81 02 09 b7 81 02 09 b3 81 02 09 b4 81 02 05 0b 09 24 81 02 09 20 81 02 09 2f 81 06 95 05 81 01 c0
经过USB中文网提供的HidReportParser.exe工具分析后的结果如下:
0x05,0x0C, //0 GLOBAL_USAGE_PAGE(Consumer)
0x09,0x01, //2 LOCAL_USAGE( Consumer Control )
0xA1,0x01, //4 MAIN_COLLECTION(Applicatior)
0x85,0x01, //6 GLOBAL_REPORT_ID(1)
0x15,0x00, //8 GLOBAL_LOGICAL_MINIMUM(0)
0x25,0x01, //10 GLOBAL_LOCAL_MAXIMUM(1)
0x75,0x01, //12 GLOBAL_REPORT_SIZE(1)
0x95,0x01, //14 GLOBAL_REPORT_COUNT(1)
0x09,0xE9, //16 LOCAL_USAGE( Volume Increment )
0x81,0x02, //18 MAIN_INPUT(data var absolute NoWrap linear PreferredState NoNullPosition NonVolatile )
0x09,0xEA, //20 LOCAL_USAGE( Volume Decrement )
0x81,0x02, //22 MAIN_INPUT(data var absolute NoWrap linear PreferredState NoNullPosition NonVolatile )
0x09,0xCD, //24 LOCAL_USAGE( Play/Pause )
0x81,0x02, //26 MAIN_INPUT(data var absolute NoWrap linear PreferredState NoNullPosition NonVolatile )
0x09,0xB5, //28 LOCAL_USAGE( Scan Next Track )
0x81,0x02, //30 MAIN_INPUT(data var absolute NoWrap linear PreferredState NoNullPosition NonVolatile )
0x09,0xB6, //32 LOCAL_USAGE( Scan Previous Track )
0x81,0x02, //34 MAIN_INPUT(data var absolute NoWrap linear PreferredState NoNullPosition NonVolatile )
0x09,0xB7, //36 LOCAL_USAGE( Stop )
0x81,0x02, //38 MAIN_INPUT(data var absolute NoWrap linear PreferredState NoNullPosition NonVolatile )
0x09,0xB3, //40 LOCAL_USAGE( Fast Forward )
0x81,0x02, //42 MAIN_INPUT(data var absolute NoWrap linear PreferredState NoNullPosition NonVolatile )
0x09,0xB4, //44 LOCAL_USAGE( Rewind )
0x81,0x02, //46 MAIN_INPUT(data var absolute NoWrap linear PreferredState NoNullPosition NonVolatile )
0x05,0x0B, //48 GLOBAL_USAGE_PAGE(Telephony)
0x09,0x24, //50 LOCAL_USAGE( Redial )
0x81,0x02, //52 MAIN_INPUT(data var absolute NoWrap linear PreferredState NoNullPosition NonVolatile )
0x09,0x20, //54 LOCAL_USAGE( Hook Switch )
0x81,0x02, //56 MAIN_INPUT(data var absolute NoWrap linear PreferredState NoNullPosition NonVolatile )
0x09,0x2F, //58 LOCAL_USAGE( Phone Mute )
0x81,0x06, //60 MAIN_INPUT(data var relative NoWrap linear PreferredState NoNullPosition NonVolatile )
0x95,0x05, //62 GLOBAL_REPORT_COUNT(5)
0x81,0x01, //64 MAIN_INPUT(const array absolute NoWrap linear PreferredState NoNullPosition NonVolatile )
0xC0, //66 MAIN_COLLECTION_END
HID人机交互QQ群:564808376
UAC音频QQ群:218581009
UVC相机QQ群:331552032
BOT&UASP大容量存储QQ群:258159197
STC-USB单片机QQ群:315457461
USB技术交流QQ群2:580684376
USB技术交流QQ群:952873936