kronoSX
Honorary Master
Enable Nethunter HID gadget function
How to use it
- Press your volume key once to test the input device
- Choose which usb gadget driver type for your kernel, Vol+ is thedefault one, and Vol- is the older one, which also called Android Composite Gadget that compiled with the kernel option CONFIG_USB_G_ANDROID=y.
- After successful installation of this magisk module, reboot and execute setprop sys.usb.config win,hid,adb, and there should be/dev/hidgX devices, then connect usb to PC and apps that support gadget will work, such as USB Keyboard.
NOTE: This magisk module will edit/restore your /vendor directorywhen executing install/uninstall functions, and enable/disable modulewill do nothing.
The words in bold i do not understand what to do there,Do i open a adb shell as root and type those in or must i find the nethunter app and do this.