Hello all,

I would like to create a mouse device using a pic18f24j50 and a mcp2200 or mcp2221 USB chip to do HID.

Both these chips come with proprietary DLLs.So I am not sure how I can use them in PicBasic.

I am trying to send HID descriptor to a pc using I2C to USB chip or UART to USB chip.

Any idea how this can be done?

There are open source C libraries for them as well but not sure if it's possible to use C in basic.

I would like to use my existing and working Basic code.The only way I am thinking is to change the firmware of the chips with a pic firmware and load usb_hid.c to create an interface to do it.

I appreciate any help.