HID 报表描述符鼠标实例

USAGE_PAGE (Generic Desktop)                05 01
USAGE (Mouse)                               09 02
COLLECTION (Application)                    A1 01 
  USAGE (Pointer)                           09 01
  COLLECTION (Physical)                     A1 00 
    USAGE_PAGE (Button)                     05 09
    USAGE_MINIMUM (Button 1)                19 01
    USAGE_MAXIMUM (Button 3)                29 03
    LOGICAL_MINIMUM (0)                     15 00 
    LOGICAL_MAXIMUM (1)                     25 01 
    REPORT_COUNT (3)                        95 03 
    REPORT_SIZE (1)                         75 01 
    INPUT (Data,Var,Abs)                    81 02 
    REPORT_COUNT (1)                        95 01 
    REPORT_SIZE (5)                         75 05 
    INPUT (Cnst,Var,Abs)                    81 03 
    USAGE_PAGE (Generic Desktop)            05 01
    USAGE (X)                               09 30
    USAGE (Y)                               09 31
    LOGICAL_MINIMUM (-127)                  15 81 
    LOGICAL_MAXIMUM (127)                   25 7F 
    REPORT_SIZE (8)                         75 08 
    REPORT_COUNT (2)                        95 02 
    INPUT (Data,Var,Rel)                    81 06 
  END_COLLECTION                            C0
END_COLLECTION                              C0
  • USB基础
  • USB摄像头UVC
  • USB人机交互HID
  • USB音频UAC
  • Windows基础
  • 磁盘与文件系统
  • Windows编程
  • Windows驱动
  • 开发模块
  • Windows运维
  • Linux相关
  • C语言学习
  • 高级语言
  • 前端开发
  • 服务器开发
  • 数据库
  • 字节流笔记
  • 字节流
  • 微信公众号
    字节流公众号  字节流QQ群:952873936
    取消
    感谢您的支持,我会继续努力的!
    扫码支持
    扫码打赏,你说多少就多少

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

    Powered by bytekits.com,汇天下文字,成非凡梦想!!!