i'm running cm-10-2 -NOOKTABLET-acclaim-HD on my 16gb nook tablet and would like to change what the lone hardware button does. It clearly supposed two types of button presses, long and short presses. It currently goes to home on a short press and to the task switcher on a long press. I'd like to set it the back button for a short press and home on a long press, thus allowing me to turn off the on-screen buttons and reclaim screen real-estate.
I tried modifying the gpio-keys.kl file, but whatever change I made seemed to just corrupt what the button did, injecting gibberish. Any thoughts?
Related
I havent really seen anyone do or suggest this, but for those making roms for the HTC One series, could you re-re-map the hardware buttons so that the recent apps button pulls up the recent apps (normal ics behavior), and then a long press on the recent apps button maps to the menu button?
My reasoning, is eventually, the "menu" button is something that will get obsoleted, so mapping it as a secondary action (i.e. long press) is a better approach than the current mapping on some of the Roms out there (like cm9). Personally, I'm not a fan of long-presses, so I prefer it for functions I hardly use (like menu).
As for the Gs3, I recommend mapping the 'menu' button to the 'recent apps', and a long press to the menu function (instead of long pressing the home button for recent apps). Again, my reasoning is, when the menu button, eventually gets obsoleted, it becomes pointless having the physical menu button do nothing.
Anyway, just my 2 cents...
Bump.
What I know is that single click functionality of any button can be changed by editing system/usr/keylayout/something_keypad.kl
But long press is not related to button remapping... So it needs to be changed from somewhere else and about that I have no idea..
Sent from my GT-S7500 using xda premium
When I used to have a Windows Mobile phone (the old kind, before "Windows Phone"), I had an app on the phone, likely obtained from this site, in which one could add more functions to hardware buttons with long presses, double and triple tap (perhaps quadruple too, don't remember), etc.
Android phones don't have as many hardware buttons as the old WM PDAs and phones, but do have some. Mine has a hardware home button, power button, and volume rocker up and down. Also the two fixed soft buttons on either side of the Home hardware button.
Mine already has some additional button functions built in. For instance, long press the home button to get Google Now.
I actually do not want to change any of the current functions, but to add more functions. to hardware buttons, and even those two soft buttons.
Is there an Android app that will do that?
Thanks in advance.
I'd not noticed this before but it seems the RN3 left hand button is a recents button on press and a menu button on long press. This prevents the handy split screen feature from working in CM14 and above on this button. I can get this feature to work by adding a "Long press action" to the home button in settings however I would like it to work the same as my other Android devices.
Any thoughts on how this can be changed? I've had a mess in the keyboard layouts (where I also removed the long press on fingerprint to start the camera as it's annoying) but no luck with this.
Thanks.
EDIT: After changing the values again in Settings->Buttons this now seems to be working as it should. Odd.
I haven't been able to figure out a way to remap the physical power button. There was an xposed module that worked great long ago, but hasn't been updated to work with oreo. I want to be able to press/long press/double tap/whatever the power key to take me to the home screen. I've used the fingerprint sensor apps, but they're hit or miss at different times, which is more frustrating than not having it. The other button mapper programs seem to work for volume keys only. Rooted/Running LOS ROM
Remapping the power button seems like such a bad idea to me. What happens if you need to reboot?
nola mike said:
I want to be able to press/long press/double tap/whatever the power key to take me to the home screen.
Click to expand...
Click to collapse
Why? What does your "home" button do? On my Nova launcher, home button takes me immediately to home screen and much easier/faster than trying to double tap fingerprint sensor, which currently turns off/on display.
Or long tapping, which currently gives you reboot options.
Remapping power button seems like an answer in search of a problem, which would cause more problems?
ChazzMatt said:
Why? What does your "home" button do? On my Nova launcher, home button takes me immediately to home screen and much easier/faster than trying to double tap fingerprint sensor, which currently turns off/on display.
Or long tapping, which currently gives you reboot options.
Remapping power button seems like an answer in search of a problem, which would cause more problems.
Click to expand...
Click to collapse
Home button takes me to home screen as well, which is usually where I want to go. If I'm holding the phone it's much easier to press a physical button to get back. I rarely reboot, so could do away with that. On my G3, I had all the buttons on the back mapped to pull up assistant, go back, go to home screen using single/double/short/long taps. It was MUCH faster to do that. Anyway, I like it, it existed before, I want to know if I can get it back.
nola mike said:
Home button takes me to home screen as well, which is usually where I want to go. If I'm holding the phone it's much easier to press a physical button to get back. I rarely reboot, so could do away with that. On my G3, I had all the buttons on the back mapped to pull up assistant, go back, go to home screen using single/double/short/long taps. It was MUCH faster to do that. Anyway, I like it, it existed before, I want to know if I can get it back.
Click to expand...
Click to collapse
So found a program called "powy". It can intercept the power button keypress and then trigger tasker. It can't distinguish long v. short press, but you can program power button to trigger by pressing 1x/2x/3x/etc. Not as good as xposed additions (which hasn't been updated since MM), but functional and better than nothing.
I've got the "side key" set to be a power button, but every fiber of my being believes the power button is the one on top. Is there any way I can make the volume up button act as a power button?
You will adapt...
Yeah I think you can do that... saw a remapping apk or that option somewhere.
Problem is it may come back to haunt you; follow the KISS protocol whenever possible.
Those buttons serve some important functions especially when you're having major problems.
Probably a bad idea to alter the button layout that much... after a couple weeks it becomes automatic, more or less
You may find the Galaxy Store app One Handed Operation Plus useful to add more virtual switches.