Quote:
Originally Posted by token_01
Any solution to the above?
|
Probably too many solutions.
- If you use Magisk you can make a Magisk module to replace /system/usr/keylayout/Vendor_0001_Product_0001.kl
- If you have NeoNoogie as recovery, mount /system r/w and replace the file (best to make a full backup of /system in case of some verification).
- You could modify the kernel so that the VID/PID of the buttons is not 0001/0001. Then you could put the keylayout in /data/system/devices/keylayout/ which is writeable (but requires root).
- You could patch the reading app to use whatever codes the buttons generate