I am sorry, if this is not the right place to ask this question.
I was using a ducky program that required the usb-gadget-test.
Every time I ran the script I needed to manually turn on and off the hid toogle which can be annoying.
Is it possible to do it dirrectly using a command that I can put in the script that will,
Turn on hid
Run script(send keypress or whatever)
Turn of hid
??
Thanks in advance.