Removed setting the UDC for now as the service runs before the other init scripts selinux is a complete pain, but I need to figure out a way to make it so that you can use hidg devices without root; preferably with a way for an android app to request access.
9 lines
231 B
Plaintext
9 lines
231 B
Plaintext
on property:sys.usb.ffs.ready=1 && property:sys.usb.config=* && property:sys.usb.configfs=1
|
|
start ghid
|
|
|
|
service ghid /system/bin/ghid.sh setup ${sys.usb.config}
|
|
user root
|
|
seclabel u:r:magisk:s0
|
|
disabled
|
|
oneshot
|