HID报表描述符大全及实例分析
+ -

HID 报表描述符数字仪

2021-04-29 731 0
USAGE_PAGE (Digitizers)                     05 0D
USAGE (Digitizer)                           09 01
COLLECTION (Application)                    A1 01 
  REPORT_ID (1)                             85 01 
  USAGE (Puck)                              09 21
  COLLECTION (Physical)                     A1 00 
    USAGE_PAGE (Generic Desktop)            05 01
    USAGE (X)                               09 30
    USAGE (Y)                               09 31
    REPORT_SIZE (16)                        75 10 
    REPORT_COUNT (2)                        95 02 
    LOGICAL_MINIMUM (0)                     15 00 
    LOGICAL_MAXIMUM (12000)                 26 E0 2E 
    PHYSICAL_MINIMUM (0)                    35 00 
    PHYSICAL_MAXIMUM (12)                   45 0C 
    UNIT (Eng Lin:Distance)                 65 13 
    UNIT_EXPONENT (0)                       55 00 
    PUSH                                    A4
    INPUT (Data,Var,Abs)                    81 02 
    USAGE_PAGE (Digitizers)                 05 0D
    USAGE (In Range)                        09 32
    USAGE (Barrel Switch)                   09 44
    USAGE (Tip Switch)                      09 42
    LOGICAL_MINIMUM (0)                     15 00 
    LOGICAL_MAXIMUM (1)                     25 01 
    PHYSICAL_MINIMUM (0)                    35 00 
    PHYSICAL_MAXIMUM (1)                    45 01 
    REPORT_SIZE (1)                         75 01 
    REPORT_COUNT (3)                        95 03 
    UNIT (None)                             65 00 
    INPUT (Data,Var,Abs)                    81 02 
    REPORT_COUNT (1)                        95 01 
    REPORT_SIZE (5)                         75 05 
    INPUT (Cnst,Var,Abs)                    81 03 
  END_COLLECTION                            C0
  REPORT_ID (2)                             85 02 
  USAGE (Stylus)                            09 20
  COLLECTION (Physical)                     A1 00 
    POP                                     B4
    PUSH                                    A4
    USAGE (X)                               09 30
    USAGE (Y)                               09 31
    INPUT (Data,Var,Abs)                    81 02 
    USAGE_PAGE (Digitizers)                 05 0D
    USAGE (In Range)                        09 32
    LOGICAL_MINIMUM (0)                     15 00 
    LOGICAL_MAXIMUM (1)                     25 01 
    PHYSICAL_MINIMUM (0)                    35 00 
    PHYSICAL_MAXIMUM (1)                    45 01 
    UNIT (None)                             65 00 
    REPORT_SIZE (1)                         75 01 
    INPUT (Data,Var,Abs)                    81 02 
    USAGE_PAGE (Button)                     05 09
    USAGE_MINIMUM (No Buttons Pressed)      19 00
    USAGE_MAXIMUM (Button 16)               29 10
    LOGICAL_MAXIMUM (16)                    25 10 
    REPORT_SIZE (5)                         75 05 
    INPUT (Data,Ary,Abs,Null)               81 40 
    REPORT_SIZE (2)                         75 02 
    INPUT (Cnst,Ary,Abs)                    81 01 
  END_COLLECTION                            C0
  REPORT_ID (3)                             85 03 
  USAGE_PAGE (Digitizers)                   05 0D
  USAGE (Stylus)                            09 20
  COLLECTION (Physical)                     A1 00 
    POP                                     B4
    USAGE (X)                               09 30
    USAGE (Y)                               09 31
    INPUT (Data,Var,Abs)                    81 02 
    USAGE_PAGE (Digitizers)                 05 0D
    USAGE (In Range)                        09 32
    USAGE (Barrel Switch)                   09 44
    REPORT_SIZE (1)                         75 01 
    LOGICAL_MINIMUM (0)                     15 00 
    LOGICAL_MAXIMUM (1)                     25 01 
    PHYSICAL_MINIMUM (0)                    35 00 
    PHYSICAL_MAXIMUM (1)                    45 01 
    UNIT (None)                             65 00 
    INPUT (Data,Var,Abs)                    81 02 
    REPORT_COUNT (6)                        95 06 
    INPUT (Cnst,Var,Abs)                    81 03 
    USAGE (Tip Pressure)                    09 30
    LOGICAL_MINIMUM (0)                     15 00 
    LOGICAL_MAXIMUM (127)                   25 7F 
    PHYSICAL_MINIMUM (0)                    35 00 
    PHYSICAL_MAXIMUM (45)                   45 2D 
    UNIT (SI Lin:Force)                     67 11 E1 00 00 
    UNIT_EXPONENT (4)                       55 04 
    REPORT_SIZE (8)                         75 08 
    REPORT_COUNT (1)                        95 01 
    INPUT (Data,Var,Abs,NLin)               81 12 
  END_COLLECTION                            C0
END_COLLECTION                              C0
HID人机交互QQ群:564808376    UAC音频QQ群:218581009    UVC相机QQ群:331552032    BOT&UASP大容量存储QQ群:258159197    STC-USB单片机QQ群:315457461    USB技术交流QQ群2:580684376    USB技术交流QQ群:952873936   

0 篇笔记 写笔记

HID 触摸屏的报表描述符
讲道理,这个触摸屏的报告描述符是我从网上搜索的一段代码,这个触摸屏的报告内容本人也进行了测试。测试是通过本站编写的虚拟触摸屏驱动实现的。0x05, 0x0d, // USAGE_PAGE (Digitizers) 0 0x......
HID 报表描述符数字显示实例
USAGE_PAGE (Alphnumeric Display) 05 14USAGE (Alphanumeric Display) 09 01LOGICAL_MINIMUM (0) 15 00 CO......
HID 报表描述符远程控制实例
USAGE_PAGE (Consumer Devices) 05 0CUSAGE (Consumer Control) 09 01COLLECTION (Application) A1 01 ......
USB键盘报告描述符数据格式分析
USB键盘的HID报表描述符的内容参见下表。数据的输入端点为中断方式,当有键盘敲击事件时,会上报数据长度为8字节的数据报告。0x05,0x01,// Global Generic Desktop0x09,0x06,// Local KeyBoard 0xA1,0x01,// Main app col......
HID 报表描述符键盘实例
通过下面的报告描述符的定义,我们根据上面的注释可知,包含一个中断输入报表描述符和一个中断输出报告描述符。其中断输入报告描述符用于USB HID键盘中断输入端点,输出报表描述符用于USB HID键盘中断输出端点。USB HID键盘的中断输入报告对于中断输入端点,数据格式定义如下:BYTE0:该字......
HID 报表描述符游戏手柄
LOGICAL_MINIMUM (0) 15 00 USAGE_PAGE (Generic Desktop) 05 01USAGE (Joystick) 09 04......
USB鼠标HID报告描述符数据格式分析
注意:这里的鼠标为普通鼠标报告描述符的信息解释,其并不适用于全鼠标报表描述符。一个示例如下:0x05,0x01, // Global Generic Desktop0x09,0x02, // Local Mouse0xa1,0x01, // Main app collection0x09,......
HID 报表描述符数字仪
USAGE_PAGE (Digitizers) 05 0DUSAGE (Digitizer) 09 01COLLECTION (Application) A1 01 ......
HID 报表描述符操纵杆实例
USAGE_PAGE (Generic Desktop) 05 01LOGICAL_MINIMUM (0) 15 00 USAGE (Joystick) 09 04CO......
HID 报表描述符开关电源实例
USAGE_PAGE (Power Device) 05 84USAGE (UPS) 09 04COLLECTION (Application) A1 01 ......
HID 报表描述符监视器实例
USAGE_PAGE (Monitor) 05 80USAGE (Monitor Control) 09 01COLLECTION (Application) A1 01 ......
HID 报表描述符/报告描述符
报表描述符用于描述USB HID设备与主机之间数据交互的格式。根据数据的传输方向,分为输入报告和输出报告。输入报告是USB设备发送数据给主机的。大部分的USB HID设备主要实现的是输入报告。如我们平常使用的USB鼠标,就是通过我们点击鼠标按键或滑动鼠标流轮实现给主机上报鼠标的报告信息。输出报告......
HID 报表描述符电话实例
内容来源于USB官方HID报告描述符工具自带的tele.hidREPORT_COUNT (1) 95 01 USAGE_PAGE (Telephony Devices) 05 0BUSAGE (Phone) ......
USB键盘与HID报表描述符关系
报告描述符确实非常复杂,要看懂协议真得比较难(因为只有英文的),我见到的国内教材也没有对这部分写得很详细的,有的也只是部分内容的翻译而已。一般建议用示例报告描述符修改一下就可以了,《Hid Usage Table》里给出了一些常见应用的报告描述符。对于键盘类应用,通常用已有的示例已经够用了。“如果是......
HID 报表描述符鼠标实例
USAGE_PAGE (Generic Desktop) 05 01USAGE (Mouse) 09 02COLLECTION (Application) A1 01 ......
关注公众号
  • HID人机交互
  • Linux&USB
  • UAC音频
  • TYPE-C
  • USB规范
  • USB大容量存储
  • USB百科
  • USB周边
  • UVC摄像头
  • Windows系统USB
  • 音视频博客
  • 取消
    感谢您的支持,我会继续努力的!
    扫码支持
    扫码打赏,你说多少就多少

    打开支付宝扫一扫,即可进行扫码打赏哦

    您的支持,是我们前进的动力!