Arian04 / android-hid-client

Android app that allows you to use your phone as a keyboard and mouse WITHOUT any software on the other end (Requires root)
GNU General Public License v3.0
109 stars 4 forks source link

Character device permissions don't get properly set automatically on creation for some reason #24

Closed Arian04 closed 2 months ago

Arian04 commented 3 months ago

Current process:

  1. enable HID functions
  2. try to use touchpad
  3. click snackbar button to fix mouse char device permissions
  4. try to use keyboard
  5. click snackbar button to fix keyboard char device permissions

too many steps. It SHOULD be automatic. my hunch is that the creation of the device takes a second or something, causing my automatic permission fixes to not apply, since they'll run before the devices exist, but I should confirm that sometime.

Arian04 commented 2 months ago

hunch confirmed, it takes ~500 ms from my quick hacky testing