So in windows 95-7 this is ok.
//input bulk
7, /* sizeof(usbDescrEndpoint) */
USBDESCR_ENDPOINT, /* descriptor type = endpoint */
0x81, // bulk IN endpoint number 1
0x03, /* attrib: Interrupt endpoint */
8, 0, /* maximum packet size */
0x0A, /* in ms*/
//the output control
7, // sizeof(usbDescrEndpoint)
USBDESCR_ENDPOINT, // descriptor type = endpoint
0x01, // out endpoint
0x00, // attrib: Interrupt endpoint :1async 2:bulk 3:int (0:control win10 will not work on 0, needs 3,)
8, 0, // maximum packet size
0x02, // in ms
#endif
};
see note, changing to a 0 causes the device no to communicate in win10. I'm not sure what the issue is here?