Keyboard/Button Mapper

What can be remapped?

ONLY HARDWARE buttons can be remapped.

• Volume buttons.
• Navigation buttons.
• Bluetooth/wired keyboards and mice connected to your device.
• Buttons on other connected devices should also work but there is no guarantee.

You can combine multiple keys to form a "trigger" and have as many triggers as you want for each action. You can make a key map only work on a long press as well and to vibrate as well.

What can’t be remapped?

• Pixel Active Edge
• OnePlus Alert Slider
• Power button
• Bixby button

Your key maps don't work if the screen is OFF.

What can I remap my keys to do?

Some actions will only work on rooted devices and specific Android versions.

• Open an app
• Open an app shortcut. This feature is very useful since you can tell another app to do something Key Mapper can’t. E.g If your launcher has a shortcut to open the app drawer, you can select that shortcut in this app and make any button open the app drawer.

• Go back
• Go home
• Open recents
• Open menu (ROOT only)
• Expand notification drawer
• Expand quick settings
• Collapse status bar
• Toggle/enable/disable WiFi
• Toggle/enable/disable Bluetooth
• Toggle/enable/disable mobile data (ROOT only)
• Toggle Play/pause media
• Pause/play media
• Next/previous track
• Volume up/down
• Increase/decrease a specific volume stream
• Show the volume dialog
• Mute/unmute/toggle mute (Android 6.0+)
• Toggle/enable/disable auto-rotate
• Force portrait/landscape mode
• Toggle/enable/disable auto-brightness
• Increase/decrease brightness
• Toggle/enable/disable flashlight (Android 6.0+)
• Take a screenshot (Android 9.0+)
• Open the Google Assistant
• Open camera
• Consume key event. (Do nothing)
• Lock the device

The Key Mapper input method needs to be selected for these to work and you can’t use a soft keyboard at the same time:
• Input a specific keycode
• Input a key
• Insert a block of text

More will be added. If you have any ideas, leave a comment or email the developer. 😃

What other things can the app do?

• Option to show a persistent notification which can pause/resume your keymaps. It can also open the accessibility settings on the device to enable/disable the service. Rooted devices can start/stop the accessibility service without going into settings and just tap the notification.
• Automatically change the input method to the Key Mapper one and/or show the input method picker when a chosen Bluetooth device is connected and switch back to the old one when it is disconnected. (The app NEEDS ROOT access to change the input method automatically)
• Option to show a toast message whenever an action is performed.

Planned features

• Double tap to perform an action
• Remap media (i.e volume, headset) buttons when the screen is off. Android only allows apps to detect media buttons when the screen is off.
• Action to broadcast an intent with extras.
• Multiple profiles which can be activated and deactivated automatically when a Bluetooth device is connected or when you open an app.
• Integrate the AOSP keyboard into the Key Mapper input method so a soft keyboard can be used at the same time.

Source code:
Developer contact:
XDA Thread:
Read more

What's New

• Option to choose which flash to use for flashlight actions
• Optimised the New and Edit Keymap activities for various screen sizes
• Slightly optimised the homescreen for wide screens

• Many bug fixes.
Read more

Additional Information

April 10, 2019
Varies with device
Current Version
Varies with device
Requires Android
Varies with device
Content Rating
Offered By
©2019 GoogleSite Terms of ServicePrivacyDevelopersArtistsAbout Google|Location: United StatesLanguage: English (United States)
By purchasing this item, you are transacting with Google Payments and agreeing to the Google Payments Terms of Service and Privacy Notice.