Button Mapper is a powerful tool that allows you to remap custom actions to your device's hardware buttons, enhancing your user experience with a simple, double press, or long press. Whether it's launching an app, executing a shortcut, or performing a custom action, Button Mapper puts control at your fingertips.
This app supports remapping for most physical or capacitive keys and buttons, including volume buttons, some assist buttons, and capacitive home, back, and recent apps keys. It extends its functionality to buttons on gamepads, remotes, and other peripheral devices, making it versatile for various hardware setups.
While Button Mapper does not require root access for most actions, certain advanced functionalities may necessitate an adb command from a connected PC if your device is not rooted. It's worth noting that the app's remapping capabilities are inactive when the screen is off unless your device is rooted or you utilize an adb command.
Here are some examples of what you can achieve with Button Mapper:
- Long press to toggle your flashlight
- Remap your TV remote control
- Press to broadcast custom intents, scripts, or commands
- Long press to open the camera and take a photo
- Double tap to launch your favorite app or shortcut
- Double tap to open your notifications
- Swap your back and recent apps keys (capacitive buttons only!)
- Use your volume buttons to adjust screen brightness
- Long press to toggle "do not disturb" mode
- And much more
The pro version of Button Mapper unlocks additional features such as:
- Simulating keycodes (requires adb command or root)
- Swapping volume keys on orientation change
- Defaulting to ring volume on Android Pie or later
- Pocket detection
- Themes
- Changing back and recents buttons
- Customization of haptic feedback (vibration) on button press and long press
A wide range of actions can be mapped to your buttons or keys, including:
- Launching any app or shortcut
- Disabling the button
- Broadcasting intents (PRO)
- Running scripts (PRO)
- Camera shutter
- Turning screen off
- Toggling flashlight
- Quick settings
- Showing notifications
- Power dialog
- Taking screenshot
- Music: previous/next track and play/pause
- Adjusting volume or mute
- Last app switch
- Toggling do not disturb
- Adjusting brightness
- Now on tap (root)
- Menu button (root)
- Choosing custom keycode (root and PRO)
- Root command (root and PRO)
- Toggling WiFi
- Toggling Bluetooth
- Toggling rotation
- Clearing notifications
- Split screen
- Scrolling up/down (root)
- And many more...
Button Mapper supports a variety of buttons, including:
- Physical home, back, and recent apps/menu buttons
- Volume up
- Volume down
- Most camera buttons
- Many headset buttons
- Custom buttons: add other buttons (active, mute, etc.) on your phone, headphones, gamepads, TV remote, and other peripheral devices
Additional options allow you to:
- Change the long press or double tap duration
- Delay initial button press for better double tap operation
- Disable Button Mapper while using specific apps
- Plus many more customizations
For troubleshooting:
- Ensure that Button Mapper's accessibility service is enabled and allowed to run in the background
- Note that Button Mapper does not work with onscreen buttons (such as soft keys or the navigation bar) or the power button
- The options shown in the app depend on the buttons available on your phone. Not all phones have home, back, and recents buttons!
Button Mapper uses Accessibility services to detect when physical or capacitive buttons are pressed on your device, allowing them to be remapped to custom actions to meet your needs. It does not monitor what you type, and it respects your privacy by not collecting or sharing any personal information.
The app also uses the Device Administrator permission (BIND_DEVICE_ADMIN) to lock the screen if the "Turn screen off" action is selected. To remove this permission, you can open Button Mapper, click on the menu (three dots in the upper right corner), and select "Uninstall."
Screenshot






