@Richard There are perfectly good examples of various HID devices in both samples and possibly the Wiki.
I'm sure (well fairly) that as you are using a MicroChip device , you can use their VID. Just make sure that you don't use a PID that they are using.
@picmilan If you are trying to do USB to serial wouldn't you be better off looking at CDC. I'm pretty sure that standard mouse drivers will not allow you to write to the mouse.
Perhaps the following may help - HID is used because it does not require drivers to be written and installed on the PC. HID comes in may variants with the most commonly used for general projects to be vendor. In vendor mode (also called generic) the significance of the data read and written must be know by both PIC and PC. This is both flexible and powerful. Reports are fairly meningless in this mode.
CDC is the USB Serial protocol and does require a driver on the PC. Microchip provide one for use with their devices which you can edit to suit the PID you select.
I suggest you try the USB samples provided, making minor changes and hopefully get a feel for the joys of USB.
Bookmarks