最終更新:2015-10-19 (月) 17:02:22 (1253d)  

ThinkPad USB Laser Mouse はてなブックマークを見る
Top / ThinkPad USB Laser Mouse

Input device ID: bus 0x3 vendor 0x17ef product 0x6044 version 0x111
Input device name: "ThinkPad USB Laser Mouse"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 272 (BTN_LEFT)
    Event code 273 (BTN_RIGHT)
    Event code 274 (BTN_MIDDLE)
    Event code 275 (BTN_SIDE)
    Event code 276 (BTN_EXTRA)
  Event type 2 (EV_REL)
    Event code 0 (REL_X)
    Event code 1 (REL_Y)
    Event code 8 (REL_WHEEL)
  Event type 4 (EV_MSC)
    Event code 4 (MSC_SCAN)
Properties:
Testing ... (interrupt to exit)

レポートディスクリプタ

  • usbhid-dump+USB Descriptor and Request Parser
    0x05, 0x01,        // Usage Page (Generic Desktop Ctrls)
    0x09, 0x02,        // Usage (Mouse)
    0xA1, 0x01,        // Collection (Application)
    0x85, 0x01,        //   Report ID (1)
    0x09, 0x01,        //   Usage (Pointer)
    0xA1, 0x00,        //   Collection (Physical)
    0x05, 0x09,        //     Usage Page (Button)
    0x19, 0x01,        //     Usage Minimum (0x01)
    0x29, 0x05,        //     Usage Maximum (0x05)
    0x15, 0x00,        //     Logical Minimum (0)
    0x25, 0x01,        //     Logical Maximum (1)
    0x95, 0x05,        //     Report Count (5)
    0x75, 0x01,        //     Report Size (1)
    0x81, 0x02,        //     Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
    0x95, 0x01,        //     Report Count (1)
    0x75, 0x03,        //     Report Size (3)
    0x81, 0x03,        //     Input (Const,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
    0x05, 0x01,        //     Usage Page (Generic Desktop Ctrls)
    0x09, 0x30,        //     Usage (X)
    0x09, 0x31,        //     Usage (Y)
    0x16, 0x01, 0xF8,  //     Logical Minimum (63489)
    0x26, 0xFF, 0x07,  //     Logical Maximum (2047)
    0x75, 0x0C,        //     Report Size (12)
    0x95, 0x02,        //     Report Count (2)
    0x81, 0x06,        //     Input (Data,Var,Rel,No Wrap,Linear,Preferred State,No Null Position)
    0x09, 0x38,        //     Usage (Wheel)
    0x15, 0x81,        //     Logical Minimum (129)
    0x25, 0x7F,        //     Logical Maximum (127)
    0x75, 0x08,        //     Report Size (8)
    0x95, 0x01,        //     Report Count (1)
    0x81, 0x06,        //     Input (Data,Var,Rel,No Wrap,Linear,Preferred State,No Null Position)
    0xC0,              //   End Collection
    0xC0,              // End Collection
    // 66 bytes
  • USB Prober
      Usage Page    (Generic Desktop) 
      Usage (Mouse)    
          Collection (Application)    
            ReportID................    (1)  
            Usage (Pointer)    
                Collection (Physical)    
                  Usage Page    (Button) 
                  Usage Minimum...........    (1)  
                  Usage Maximum...........    (5)  
                  Logical Minimum.........    (0)  
                  Logical Maximum.........    (1)  
                  Report Count............    (5)  
                  Report Size.............    (1)  
                  Input...................   (Data, Variable, Absolute, No Wrap, Linear, Preferred State, No Null Position, Bitfield) 
                  Report Count............    (1)  
                  Report Size.............    (3)  
                  Input...................   (Constant, Variable, Absolute, No Wrap, Linear, Preferred State, No Null Position, Bitfield) 
                  Usage Page    (Generic Desktop) 
                  Usage (X)    
                  Usage (Y)    
                  Logical Minimum.........    (-2047)  
                  Logical Maximum.........    (2047)  
                  Report Size.............    (12)  
                  Report Count............    (2)  
                  Input...................   (Data, Variable, Relative, No Wrap, Linear, Preferred State, No Null Position, Bitfield) 
                  Usage (Wheel)    
                  Logical Minimum.........    (-127)  
                  Logical Maximum.........    (127)  
                  Report Size.............    (8)  
                  Report Count............    (1)  
                  Input...................   (Data, Variable, Relative, No Wrap, Linear, Preferred State, No Null Position, Bitfield) 
                End Collection     
          End Collection