Hi Jan,
I suppose I've to answer as it is described in the descriptor above (I can post all If someone is interested)
It is a FFb joystick decriptor
...
0xA1,0x02, // Collection Datalink
0x85,0x03, // Report ID 3
0x09,0x80, // Usage ROM Effect Block Count
0x75,0x10, // Report Size 10h (16d)
0x95,0x01, // Report Count 1
0x15,0x00, // Logical Minimum 0
0x35,0x00, // Physical Minimum 0
0x27,0xFF,0xFF,0x00,0x00, // Logical Maximum FFFFh (65535d)
0x47,0xFF,0xFF,0x00,0x00, // Physical Maximum FFFFh (65535d)
0xB1,0x02, // Feature (Variable)
0x09,0x83, // Usage PID Pool Move Report
0x26,0xFF,0x00, // Logical Maximum FFh (255d)
0x46,0xFF,0x00, // Physical Maximum FFh (255d)
0x75,0x08, // Report Size 8
0x95,0x01, // Report Count 1
0xB1,0x02, // Feature (Variable)
0x09,0xA9, // Usage Undefined
0x09,0xAA, // Usage Undefined
0x75,0x01, // Report Size 1
0x95,0x02, // Report Count 2
0x15,0x00, // Logical Minimum 0
0x25,0x01, // Logical Maximum 1
0x35,0x00, // Physical Minimum 0
0x45,0x01, // Physical Maximum 1
0xB1,0x02, // Feature (Variable)
0x75,0x06, // Report Size 6
0x95,0x01, // Report Count 1
0xB1,0x03, // Feature (Constant, Variable)
0xC0, // End Collection
which is done like this
2 bytes : Usage ROM Effect Block Count
1 byte : Usage PID Pool Move Report
2 bits : undefined
6 bits : filling bits
Where can I find info about how to update this data?
Thanks
Update:
I've answer like this
Info_Pool.Report.RomBlockCount = 0x00FF;
Info_Pool.Report.RomBlockCount = 0x01;
Info_Pool.Report.undefined_1 = 0x00;
Info_Pool.Report.undefined_2 = 0x00;
Info_Pool.Report.unused = 0x00;
USBEP0SendRAMPtr((BYTE*)&Info_Pool, sizeof(Info_Pool),USB_EP0_NO_OPTIONS);
And USBLYSER give me a success but now I've a new Output request 0x0C 0x04 : DC device Reset : what I've to aswer ?
Thanks