2

I have a Samsung Galaxy S Relay running Android 4.1.2; it's an unusual phone because it slides open to reveal a built-in physical keyboard.

The keyboard has no Esc key. It'd be nice to have one, so that I could use it inside Terminal IDE and various terminal emulators and other apps. The Esc key is useful in the Vim text editor, as well as other software which has been ported from Linux to Android.

I'd like to remap one of the keyboard keys which I don't use (such as the voice-search key or the compose-new-email key) to send Escape.

My phone is running stock unrooted Android. But if you would like me to root it or to install CyanogenMod, that is fine.

I'm willing to modify any of the configuration files stored on the device. But I don't want to spend any money to buy a third-party app.

The Hacker's Keyboard is good. But, since I already have a physical keyboard, I want to use the physical keyboard. Cellphone screens aren't big screens; I don't want to spend valuable screen real estate on a virtual keyboard.

How can I remap a spare keyboard key to send Esc?

  • 1
    You might want to consider using this virtual Hackers Keyboard app based on this project. It provides working Tab/Ctrl/Esc keys, and the arrow keys. – Lucky Jul 6 '15 at 8:13
0

While this isn't for your device, it might work out for ya. Take a look at this post on XDA. It talks about remapping keys on the Droid 4, which also has a physical keyboard.

"Remapping Physical Buttons/Adding Alternate Keys"

  • Could you add the relevant info from the link here? Since you're already aware of the reason for my requirement, please consider fulfilling it. :) – Firelord Jul 6 '15 at 20:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.