Description
With USB Gadget Tool, your Android phone can mimic USB devices such as a mouse, keyboard, or camera. It connects to computers and can block standard USB functions for added security. Requires root access, Kernel with ConfigFS support, and extra apps for endpoints like /dev/hidg0.
Screenshots

Click to view full size

Click to view full size

Click to view full size