You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Turn on hid ls /sys/class/udc > /config/usb_gadget/keyboard/UDC Turn off hid echo > /config/usb_gadget/keyboard/UDC
Thanks a lot for the reply but it is not working. The keyboard dir itself does not exist.
The keyboard directory is created by the android-usb-gadget,You first need to create the Mouse & Keyboard Gadget in app.
If you want to complete gadget creation in termux, you can refer to the script here.
By the way, I wrote a complete script here.
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.
The text was updated successfully, but these errors were encountered: