I'm doing a code that can remap keys on android. To do this i get the input from the user and with a standard map of scancodes and keycodes i rewrite at runtime the Generic.kl file changing the choosen element. After this i save and reboot. The problem is that there isn't any change. I can also delete the Generic.kl file but any change. Is there somewhere a special refresh option? Any solution?
Asked
Active
Viewed 440 times
0
-
File permissions set on root rw -r -r – Francesco Ponzi Oct 18 '18 at 08:32
-
Update now changes work but some input like headset button gives right scancode but wrong keycode (115 COMMAND_UNKNOWN). I'm confused. – Francesco Ponzi Oct 18 '18 at 09:13
-
Did you find a solution? – Ali Has Aug 05 '23 at 02:11