If you don’t want capacitive buttons on your Android device, then you can disable it.
In this post, we will see the steps to do this task on both the rooted and non-rooted Android devices. Let’s get started.
Disable Capacitive Buttons on Android
For Rooted and Non-Rooted Android Devices
Install and open “Button remapper (no root)” app. Here is an important thing to note: the free version only allows you to create two actions. If you need to create more actions, then you need a premium version.
Tap the Switch and then “Continue” button. It will take you to the Accessibility services.
Tap “Remap buttons” and enable the accessibility service. Tap Back button twice to get back to the app.
In the app, we need to create actions to disable all the capacitive buttons. For this instance, I’m using a device which has three capacitive buttons (Back, Home, and Recent Apps). You need to choose the button depending on your device and need.
Tap “+” icon at the bottom.
Select “Short and long press” option.
Select Back from “Key” drop-down list and Do nothing from “Action” drop-down list.
Now tap + icon again and select Short and long press option.
Select Home from “Key” drop-down list and Do nothing from “Action” drop-down list.
Once again tap + and Short and long press option.
Select Recent_Apps from “Key” drop-down list and Do nothing from “Action” drop-down list.
That’s all. All the capacitive buttons are disabled now.
If you want to enable capacitive buttons, then you have to delete the actions (Long press an action > tap Delete).
For Rooted Android Devices Only
Open the ES File Explorer app.
Go to this location
Menu (tap Hamburger icon (three vertical lines)) > Local > Device > System > Usr > Keylayout
Find and backup the Generic.kl file.
Open the Generic.kl file (tap the file > select Text > select ES Note Editor).
Tap on the overflow menu (three vertical dots) and select “Edit”.
Here are the code of the capacitive buttons:
Key 139 MENU WAKE_DROPPED //FOR MENU BUTTON
Key 172 HOME //FOR HOME BUTTON
Key 158 BACK WAKE_DROPPED //FOR BACK BUTTON
Now, add # before all the capacitive buttons code. For instance: To disable Home button, you need to add # like this (see screenshot):
#Key 172 HOME
Tap the back button and tap Yes on the confirmation message to save the file.
Reboot your Android phone.
Now, you can see that the capacitive buttons have been disabled on your Android device.
If you want to enable capacitive buttons, just remove # before the code and then reboot your device.