請(qǐng)問(wèn)有沒(méi)有支持安卓設(shè)備的鼠標(biāo)絕對(duì)坐標(biāo)的描述符,我這邊找到的在電腦端可以用,在安卓設(shè)備上沒(méi)有反應(yīng)
? ? ?0x05,0x01,// USAGE_PAGE (Generic Desktop)
? ? ?0x09,0x02,// USAGE (Mouse)
? ? ?0xA1,0x01,// COLLECTION (Application)
? ? ?0x09,0x01,// USAGE (Pointer)
? ? ?0xa1,0x00,// COLLECTION (Physical)
? ? ?0x85,HID_RPT_ID_MOUSE_IN,// Report ID (2)
? ? ?0x05,0x09,// USAGE_PAGE (Button)
? ? ?0x19,0x01,//? ? ?USAGE_MINIMUM (Button 1)
? ? ?0x29,0x03,//? ? ?USAGE_MAXIMUM (Button 3)
? ? ?0x15,0x00,// LOGICAL_MINIMUM (0)
? ? ?0x25,0x01,//? ? ?LOGICAL_MAXIMUM (1)
? ? ?0x75,0x01,// Report Size (1)
? ? ?0x95,0x03,//? ? ?REPORT_COUNT (5)
? ? ?0x81,0x02, // Input (Data, Variable, Absolute)
? ? ?0x75,0x01,// REPORT_SIZE (1)
? ? ?0x95,0x05, // Report Count (1)
? ? ?0x81,0x03,// INPUT (Cnst,Var,Abs)
? ? ?0x05,0x01,// USAGE_PAGE (Generic Desktop)
? ? ?0x09,0x30,// USAGE (X)
? ? ?0x15,0x00,// LOGICAL_MINIMUM (0)
? ? ?0x26,0xFF,0x0F,// LOGICAL_MAXIMUM (4096)
? ? ?0x75,0x0D,// REPORT_SIZE (13)
? ? ?0x95,0x01,// REPORT_COUNT (1)
? ? ?0x81,0x02,// INPUT (Data,Var,Abs)
? ? ?0x75,0x03,// REPORT_SIZE (3)
? ? ?0x95,0x01,// REPORT_COUNT (1)
? ? ?0x81,0x03,// INPUT (Cnst,Var,Abs)
? ? ?0x09,0x31,// USAGE (Y)
? ? ?0x15,0x00,// LOGICAL_MINIMUM (0)
? ? ?0x26,0xFF,0x0F, // LOGICAL_MAXIMUM (4096)
? ? ?0x75,0x0D,// REPORT_SIZE (13)
? ? ?0x95,0x01,// REPORT_COUNT (1)
? ? ?0x81,0x02,// INPUT (Data,Var,Abs)
? ? ?0x75,0x03,// REPORT_SIZE (3)
? ? ?0x95,0x01,// REPORT_COUNT (1)
? ? ?0x81,0x03,// INPUT (Cnst,Var,Abs)
? ? ?0x09,0x38,// USAGE (Wheel)
? ? ?0x15,0x81,// LOGICAL_MINIMUM (-127)
? ? ?0x25,0x7F,// LOGICAL_MAXIMUM (127)
? ? ?0x75,0x08,// REPORT_SIZE (8)
? ? ?0x95,0x01,// REPORT_COUNT (1)
? ? ?0x81,0x06,// INPUT (Data,Var,Rel)
? ? ?0xc0,0xC0, //end