Button Mapper offers a versatile solution for customizing your device's hardware buttons, allowing you to tailor your device's functionality to suit your preferences. With this app, you can easily remap your volume buttons and other hardware buttons to launch any app, shortcut, or perform custom actions with a single press, double press, or long press.
Button Mapper supports remapping a wide range of physical or capacitive keys and buttons, including volume buttons, some assist buttons, and capacitive home, back, and recent apps keys. It also extends its functionality to buttons on many gamepads, remotes, and other peripheral devices.
While root access is not necessary for most actions, certain advanced features may require an adb command from a connected PC if your device is not rooted. Note that Button Mapper does not function when the screen is off unless your device is rooted or you execute an adb command.
Here are some examples of the custom remappings 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 many more possibilities
The pro version of Button Mapper unlocks additional features, including:
- Simulate keycodes (requires adb command or root)
- Swap volume keys on orientation change
- Default to ring volume on Android Pie or later
- Pocket detection
- Themes
- Change back and recents buttons
- Customization of haptic feedback (vibration) on button press and long press
Actions you can map to buttons or keys include:
- Launch any app or shortcut
- Disable the button
- Broadcast intents (PRO)
- Run scripts (PRO)
- Camera shutter
- Turn screen off
- Toggle flashlight
- Quick settings
- Show notifications
- Power dialog
- Take screenshot
- Music: previous/next track and play/pause
- Adjust volume or mute
- Last app switch
- Toggle do not disturb
- Adjust brightness
- Now on tap (root)
- Menu button (root)
- Choose custom keycode (root and PRO)
- Root command (root and PRO)
- Toggle WiFi
- Toggle Bluetooth
- Toggle rotation
- Clear notifications
- Split screen
- Scroll up/down (root)
- And many more...
Supported buttons include:
- 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 the Button Mapper 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, enabling them to be remapped to custom actions. It does not monitor what you type, and your personal information is neither collected nor shared, ensuring your privacy is respected.
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, open Button Mapper, click on the menu (three dots in the upper right corner), and select "Uninstall."