Xtr126 / XtMapper

Keyboard and mouse input mapper
https://xtr126.github.io/XtMapper-docs
GNU General Public License v3.0
210 stars 22 forks source link

opening device: No such file or directory #44

Open Reiux opened 1 year ago

Reiux commented 1 year ago

Tried activating it using adb then that error shows up same with root method just stuck on connecting to server.

Xtr126 commented 1 year ago

Do you have a physical USB mouse connected?

Reiux commented 1 year ago

Do you have a physical USB mouse connected?

yes i have one connected

Xtr126 commented 1 year ago

Do you have a physical USB mouse connected?

yes i have one connected

Then it could be SELinux or something security related on your device restricting access to /dev/input. Check if getevent -l command prints out events with EV_REL when you move the mouse. XtMapper detects pointing devices by checking for that. I myself haven’t ever tried to get it working on an OEM Android device, only on Android x86. Even ServiceManager.addService() throws an security exception on real Android devices when I tested. The first step for that I have in mind is to make it possible to activate xtmapper using Shizuku.