UAC耳机自带HID调节声音报告描述符
2022-01-18
1099
0
UAC耳机自速的外接按钮实现声音的控制:增加音量也减少音量。
设备管理器如下:
05 0C //0 GLOBAL_USAGE_PAGE(Consumer)
09 01 //2 LOCAL_USAGE( Consumer Control )
A1 01 //4 MAIN_COLLECTION(Applicatior)
85 01 //6 GLOBAL_REPORT_ID(1)
15 00 //8 GLOBAL_LOGICAL_MINIMUM(0)
25 01 //10 GLOBAL_LOCAL_MAXIMUM(1)
75 01 //12 GLOBAL_REPORT_SIZE(1)
95 01 //14 GLOBAL_REPORT_COUNT(1)
09 E9 //16 LOCAL_USAGE( Volume Increment )
81 02 //18 MAIN_INPUT(data var absolute NoWrap linear PreferredState NoNullPosition NonVolatile ) Input 0.1
09 EA //20 LOCAL_USAGE( Volume Decrement )
81 02 //22 MAIN_INPUT(data var absolute NoWrap linear PreferredState NoNullPosition NonVolatile ) Input 0.2
09 CD //24 LOCAL_USAGE( Play/Pause )
81 02 //26 MAIN_INPUT(data var absolute NoWrap linear PreferredState NoNullPosition NonVolatile ) Input 0.3
09 B5 //28 LOCAL_USAGE( Scan Next Track )
81 02 //30 MAIN_INPUT(data var absolute NoWrap linear PreferredState NoNullPosition NonVolatile ) Input 0.4
09 B6 //32 LOCAL_USAGE( Scan Previous Track )
81 02 //34 MAIN_INPUT(data var absolute NoWrap linear PreferredState NoNullPosition NonVolatile ) Input 0.5
09 B7 //36 LOCAL_USAGE( Stop )
81 02 //38 MAIN_INPUT(data var absolute NoWrap linear PreferredState NoNullPosition NonVolatile ) Input 0.6
09 B3 //40 LOCAL_USAGE( Fast Forward )
81 02 //42 MAIN_INPUT(data var absolute NoWrap linear PreferredState NoNullPosition NonVolatile ) Input 0.7
09 B4 //44 LOCAL_USAGE( Rewind )
81 02 //46 MAIN_INPUT(data var absolute NoWrap linear PreferredState NoNullPosition NonVolatile ) Input 1.0
05 0B //48 GLOBAL_USAGE_PAGE(Telephony)
09 24 //50 LOCAL_USAGE( Redial )
81 02 //52 MAIN_INPUT(data var absolute NoWrap linear PreferredState NoNullPosition NonVolatile ) Input 1.1
09 20 //54 LOCAL_USAGE( Hook Switch )
81 02 //56 MAIN_INPUT(data var absolute NoWrap linear PreferredState NoNullPosition NonVolatile ) Input 1.2
09 2F //58 LOCAL_USAGE( Phone Mute )
81 06 //60 MAIN_INPUT(data var relative NoWrap linear PreferredState NoNullPosition NonVolatile ) Input 1.3
95 05 //62 GLOBAL_REPORT_COUNT(5)
81 01 //64 MAIN_INPUT(const array absolute NoWrap linear PreferredState NoNullPosition NonVolatile ) Input 2.0
C0 //66 MAIN_COLLECTION_END
增加与减少音量的测试数据
Length Phase Data
-------- ----- ---------------
//增加音量
3 IN 01 01 00
3 IN 01 01 00
3 IN 01 00 00
3 IN 01 00 00
//减少音量
3 IN 01 02 00
3 IN 01 02 00
3 IN 01 00 00
3 IN 01 00 00
HID人机交互QQ群:564808376
UAC音频QQ群:218581009
UVC相机QQ群:331552032
BOT&UASP大容量存储QQ群:258159197
STC-USB单片机QQ群:315457461
USB技术交流QQ群2:580684376
USB技术交流QQ群:952873936