How to send and recieve USB packets from digital i/o pins?

Hello!
How to send and recieve USB packets from digital i/o pins?
I want to connect my arduino uno to computer by usb cable from the digital i/o pins, for custom VID and PID device like a mouse or keyboard...
Someone know if is avilible some library that i can use for this?
thanks!

P. S. i tried to use FTDI chip, but this thing can only add custom vid pid, not to change it...

Simple answer is that it is impossible to connect a USB device directly to an Arduino I/O pin and expect it to work.

Any of the Arduinos with a 32u4 microprocessor (such as the Leonardo and Micro) can (I believe) be programmed to use different VID and PID numbers. But they can only connect to a USB cable using their USB socket.

...R

(deleted)