I don't know how to word this concept as a question, but simply I want to make a rubber ducky out of raspberry pi, and I was wondering if it is possible to output keyboard strokes and/or mouse movement from USB female connections on the RPi, using some kind of Python library or API that runs on Raspbian?
Google "python USB output to robot" for more information and ideas. Narrow the search criteria as necessary to match your idea and requirements.
Sorry, I'm trying to have the ducky OUTPUT keystrokes from the Raspberry Pis usb port, to a victim computer. I want to be able to just plug it into a computer, and the ducky, acting like a keyboard, can send keystrokes to the victim computer.