I've had this idea and I've googled a lot to find out if it would be possible to attatch usb cable to raspberry pi's GPIO pins. I already got an old usb cable and cutted the other end off and i tought that I just attatch the vireing to GPIOs and plug other end, whitch have still the USB A port on it, to computer and I would be able to control all data. I mainly am trying to program it to act as HID device.... Is there any python lybrary or can i just somehow output the raw data in bytes? How would i be able to do it?