HID 报表描述符游戏手柄

LOGICAL_MINIMUM (0)                         15 00 
USAGE_PAGE (Generic Desktop)                05 01
USAGE (Joystick)                            09 04
COLLECTION (Application)                    A1 01 
  USAGE_PAGE (Simulation Controls)          05 02
  USAGE (Throttle)                          09 BB
  LOGICAL_MINIMUM (-127)                    15 81 
  LOGICAL_MAXIMUM (127)                     25 7F 
  REPORT_SIZE (8)                           75 08 
  REPORT_COUNT (1)                          95 01 
  INPUT (Data,Var,Abs)                      81 02 
  DELIMITER (Open)                          A9 01 
    USAGE (Flight Control Stick)            09 20
    USAGE (Generic Desktop:Pointer)         0B 01 00 01 00
  DELIMITER (Close)                         A9 00 
  COLLECTION (Physical)                     A1 00 
    USAGE (Generic Desktop:X)               0B 30 00 01 00
    USAGE (Generic Desktop:Y)               0B 31 00 01 00
    REPORT_COUNT (2)                        95 02 
    INPUT (Data,Var,Abs)                    81 02 
  END_COLLECTION                            C0
  DELIMITER (Open)                          A9 01 
    USAGE (Gaming Controls:Point of View)    0B 20 00 05 00
    USAGE (Generic Desktop:Hat switch)      0B 39 00 01 00
  DELIMITER (Close)                         A9 00 
  LOGICAL_MINIMUM (0)                       15 00 
  LOGICAL_MAXIMUM (3)                       25 03 
  PHYSICAL_MINIMUM (0)                      35 00 
  PHYSICAL_MAXIMUM (270)                    46 0E 01 
  UNIT (Eng Rot:Angular Pos)                65 14 
  UNIT_EXPONENT (0)                         55 00 
  REPORT_SIZE (4)                           75 04 
  REPORT_COUNT (1)                          95 01 
  INPUT (Data,Var,Abs)                      81 02 
  DELIMITER (Open)                          A9 01 
    USAGE (Button:Button 1)                 0B 01 00 09 00
    USAGE (Trigger)                         09 C0
  DELIMITER (Close)                         A9 00 
  DELIMITER (Open)                          A9 01 
    USAGE (Button:Button 2)                 0B 02 00 09 00
    USAGE (Weapons Select)                  09 C2
  DELIMITER (Close)                         A9 00 
  DELIMITER (Open)                          A9 01 
    USAGE (Button:Button 3)                 0B 03 00 09 00
    USAGE (Electronic Counter Measures)     09 B7
    USAGE (Flare Release)                   09 BD
  DELIMITER (Close)                         A9 00 
  DELIMITER (Open)                          A9 01 
    USAGE (Button:Button 4)                 0B 04 00 09 00
    USAGE (Landing Gear)                    09 BE
    USAGE (Chaff Release)                   09 B4
  DELIMITER (Close)                         A9 00 
  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 (4)                          95 04 
  UNIT (None)                               65 00 
  INPUT (Data,Var,Abs)                      81 02 
END_COLLECTION                              C0
微信公众号
字节流公众号  字节流QQ群:952873936
取消
感谢您的支持,我会继续努力的!
扫码支持
扫码打赏,你说多少就多少

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

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