Button Mapper. Remap buttons, add new button action

Today we will review the program, more precisely, those functions that may be useful to you. This application is used to reassign functions and add new actions to the remote control . The program is called “Button Mapper”, you can install it from the Play Store .

Now let's look at how to add additional actions to buttons and how to use the “Remote ADB Shell” application from a smartphone to issue a command in order to access additional functions.

First, install the “Button Mapper” application from the Play Store and open:

screenshot of the opening screen of the “Button Mapper” applicationGo to “Device Settings” and click “OK”:

screenshot of the screen for going to the settings in the "Button Mapper" applicationIn the settings, click on "Accessibility" and select "Button Mapper":

Screenshot of settings screen accessibility selection screenshot of “Button Mapper” application selection screenNext, enable "Special Features":

screenshot of accessibility enable screen screenshot of accessibility enable screen for “Button Mapper” appGo to the "Troubleshooting" section:

screenshot of “Button Mapper” app screen click on troubleshootingTurn on “Alternate Input Method” and “Alternative Button Control”:

screenshot of the screen for enabling the alternative input method and button controlThen go to the "Advanced settings" section:

 screenshot of the selection screen in the advanced settings app It is recommended to increase the delay time of holding the button.

Set 600ms:

screenshot of advanced settings screen select clamp delay screenshot of the hold delay time selection screenAlso, you can make a “Backup” of the application settings. That is, when you set up the application and then reinstalled it, you can restore the settings so that you do not have to set it up again every time.

Click on "Backup":

screenshot of app data recovery selectionClick "Allow":

Screenshot of “Button Mapper” permission screen to access photos Then select “Backup settings” and click “Save”:

screenshot of “Backup settings” selection screen screenshot of restore app settings screenOpen "Restore setting" and we can restore. Click “Backup” and select the file created by the application and click “Restore”:

screenshot of “Restore setting” opening screen Screenshot of clicking "Restore" and selecting a fileNext, we go to the application. Select "Home button":

screenshot of the home button selection screen in the “Button Mapper” appTurn on "Settings":

screenshot of the “Settings” enable screen in the “Button Mapper” applicationSet up "Clamping". In the "Actions" section, select "Recent Apps":

screenshot of pinch selection screen in “Button Mapper” app screenshot of recent apps selection screen in “Button Mapper” appAfter we hold and open the last application, which can be closed here:

screenshot of opening recent apps screen in “Button Mapper” appLet's take a look at other features in this section.

We select “Power off dialog”, hold the “Home” button and a dialog box appears in which you can turn off or restart the device:

Screenshot of the selection screen of the power-on dialog in the “Button Mapper” application screenshot of the screen showing the power off dialog in the “Button Mapper” applicationThe “Assistant” function is a voice dialing, voice search:

screenshot of the selection screen of the helper function in the “Button Mapper” applicationNext, go to the “Applications” section, in which you can select the application that will be launched by this button when held.:

screenshot of the application section selection screen in the “Button Mapper” application screenshot of the application section selection screen in the “Button Mapper” applicationWe hold the button and see that the application has opened:

Screenshot of an open application in the “Button Mapper” applicationNext, the “Shortcuts” section is intended for mobile devices:

screenshot of the selection screen of the shortcuts section in the “Button Mapper” application screenshot of the selection screen of the shortcuts section in the “Button Mapper” applicationIn the “System” section, you can assign a choice of keyboards:

screenshot of the partition selection screen system in the “Button Mapper” application screenshot of partition selection screen system function change keyboard in “Button Mapper” appTo do this, you need to send a command from your smartphone. Open developer options:

screenshot of developer options selection screen screenshot of developer options selection screenEnable "USB Debugging":

 Screenshot of enabling “USB debugging” screen in developer sectionNext, take a smartphone, go to the “Remote ADB Shell” application:

screenshot of the login screen for the “Remote ADB Shell” applicationConnecting:

screenshot of connection screen in “Remote ADB Shell” appWrite the command ( pm grant flar2.homebutton android.permission.WRITE_SECURE_SETTINGS ) and click on the checkmark:

screenshot of the screen for writing a command in the “Remote ADB Shell” applicationThe command was successful and the smartphone is no longer needed.

Go ahead and select “Change keyboard”:

screenshot of “Change keyboard” selection screen under home buttonNext, hold the button and a dialog box appears in which you can switch the keyboard without going into the device settings:

Screenshot of switching keyboard by buttonSection “Media”:

 screenshot of the screen for selecting the "Media" section in the "Button Mapper" application  screenshot of the screen for selecting the "Media" section in the "Button Mapper" applicationSection “Advance”. Let's select the button on the remote control manually:

 screenshot of the "Advance" section selection screen in the "Button Mapper" application screenshot of the "Advance" section selection screen in the "Button Mapper" applicationGo to "Add Buttons":

 screenshot of selection screen add buttons in “Button Mapper” appClick “Add buttons” and click, for example, on the button “Menu”:

screenshot of selection screen add buttons in “Button Mapper” appOpen "MENU". Turn on “Settings” and select “Clamping”:

screenshot of menu button selection screen adding button screenshot of partition selection screenHere you can set the “Shell” command:

Screenshot of selecting command “Shell”We write “reboot” (rebooting the device does not work on all devices, in particular on Mi Box):

screenshot of the screen writing "reboot" in the "Button Mapper" application Screenshot of selecting command “Shell”Now, when you hold down the “Menu” button, the device will reboot.

Next, set up “Single clicks”:

screenshot of the selection screen “Single taps” in the section add buttonsHere you can add a link to the site, register the site address:

screenshot of the link opening selection screen in the single click sectionOpen “Custom keycode( ver 2)”. And click on the link:

screenshot of the opening screen of the selection “Custom keycode( ver 2)” screenshot of link opening screen This can be useful if a button on the remote control is broken and you need to find out the button code or assign a new action. There are many digital codes for TVs and gamepads:

Screenshot of the open site with keycodes Screenshot of the open site with keycodes For example, let's take the volume up key number 24. Open “Custom keycode( ver 2)”, enter “24” and press “OK”:

 screenshot of input screen “24” in adding buttonsPress the “Menu” button and see that the volume is turned up:

screenshot of the button operation window volume increaseAfter completing all the steps, go to “Settings”:

screenshot of the screen for entering the settings on the main screenWe select “For developers” and disable “USB debugging”, because on some devices, when it is enabled and USB ports do not work correctly:


screenshot of shutdown screen in USB debugging settings screenshot of the selection screen in the settings section for developersUsefulness of the article?
Rate it in the comments! Check out other articles from the "Working Moments" section here .

PS Site support via the link 😉

Add a comment

Your email address will not be published.

For any site suggestions: [email protected]
Для любых предложений по сайту: [email protected]