Samsung Galaxy Note 9 with any old bluetooth keyboard. How do I remap the Esc
key to Caps Lock
? And remap the Caps Lock
key to Esc
. Swap them basically.
I need this to make it easier to use Vim on Android. I prefer not to root.
In Android 4.0 you could do this easy, you would need root permissions though. You most likely still can with root. Just checked can do easy with root. /System/usr/keylayout there are a couple files in there with keyboard layouts that you can edit with root permission. You can veiw but not edit in fx file manager, there are other files that control the same types of things in there.
It's totally possible without rooting.
Check out ExKeyMo (I'm the developer). It has an example with Esc<->Caps
mapping.
If you need more than one layout take a look at custom-keyboard-layout (I'm the developer).
UPDATE:
ExKeyMo web app is not available on Heroku anymore. You'll have to run it locally. See the project's page on GitHub.
Caps-Lock as Esc
and other)? Do they work for you? If so, you could then start with your mappings (one-by-one) to find the issue.
Commented
Aug 22, 2022 at 7:59