How to disable Single Press Only on Hardkey? w/o 3rd apps - Xiaomi Redmi 4X Questions & Answers

Hello guys,
I want to disable single press on hardkey, but likes long press or double press still enable. How to do that?
Without 3rd Apps like Remapper or other mods apps. Just edit generic.kl or something else on system

Related

[Q] How to remap long press button & vol up&down buttons: any app or manual mod?

[Q] How to remap long press button & vol up&down buttons: any app or manual mod?
Hi!
I have a Galaxy S and searching for mapping the long press button so to launch a custom app, and the vol up & down so to manage next or perv song in player.
For the first one I have found a home & search button switcher. It is called HomeSmack and its free on the Market. It allows to change the default launcher invoked with the home button (like the famous app Home Switcher for Froyo), but it also attempts to remap the long press that is bind to the recent pop-up.
This last feature would work if I could Clear Defaults to the Android app that invokes the recent pop-up. I realized this because is written in the tutorial of a task switcher called TapIt that I was trying to use. It says that without clearing those defaults it is not able to bind a new app to the long press.
Is there a way to clear those defaults? What android app is involved?
Otherwise how is it possible to remap the long press with another app?
About the vol up & down, I wouldt like to remap them ONLY in a song player, and have back the vol control in regular phone use. Is it possible?
Otherwise is there a third party player that has this functionality?
Thank you.

[Q] Shortcut to power button

Hi. My power button starts to cause problems and sometimes I have to torment to bring up the menu (profiles, screenshot, reboot). Is there any way to create a shortcut to the menu? Eg "1Tap Quick Bar" app creates a shortcut, but only to reboot (even without the choice standard/CWM). I searched all activities of system apps but found nothing. As a last resort can I map the camera button as power one?
Just go to market and type "Shutdown Menu". It has everything you need.
OK thanks, but it solves my request partially. I need whole power menu with screenshot and profiles

[Q] Long press Recent Apps to clear all, and Long press back to close app

Well you probably know the mod for long press back key to kill the app..
I don't like killing apps.. it causes troubles.. and I also have another ideas for that..
I was thinking.. when you are on facebook or file browser and you wanna close it.. a single back would just return 1 step backward..
and if you have been awhile on this app you might need like 10 clicks on the back key..
So instead of killing the app. maybe just make it press the back key like 100 times in a second so it will go super back quickly to your home screen..
Also for recent apps, instead of swiping 1 by 1 (even though you can add a clear-all button but still), let it clear them all by it self when you long press the recent apps button..
I know how to make these stuffs on tasker as a task but I can't reach the trigger for long pressing key.. and it sure wont work good as programming it for real..
Perhaps any dev here that would like to take this on? or maybe an already mod for customizing the long press buttons available?
Thanks !
?
Sent from my Xperia Z.

How to remap the "Task" key to "Menu" function?

Hello Community! My Turbo is rooted and everything. So, is there a way to remap the hardware Task key? I dont need this useless recent apps stuff, i want my good old menu key back but not even Gravity box worked for me. And i cant find the according key in generic.kl file (system/usr/keylayout)
MfG Einheit-101
Using apex launcher you can map the buttons to opening apps or being shortcuts for different activities
But unfortunately this won't remap the key to open my menu
I got it. Just edit the "atmel_mxt_ts.kl" file, it controls home, task and back button. I changed TASK to MENU and it works like a charm

Change HW button single press action?

Title says it all, i'm on stock. In the Buttons screen there are options to change long and double press of each hardware button, but not single press. I can change single press action of the home button with nova launcher, i'd like to change single press action of the left capacitive button so it acts as a regular menu button.
Try flar2's Button Mapper app.
All I want is long press on back-hardware key to kill the current app which we can usually find in developer settings. Is it a Nugent thing or stock OOS disable this feature?
I'm coming from a galaxy s3 running CM from about 4 years ago and even then it had simple things like this, i could hold back to kill and also use volume controls to skip track when screen is off, etc. Can't do any of that on this new phone, really frustrating. To remap back and recent apps button using that app you need to upgrade to the pro version

Categories

Resources