Hey guys,
I am a SlimKat user but dualboot with Miui. Now, that ROM hasn't integrated hardware key mapping, unlike SlimKat and GravityBkx doesn't work, unfortunately. I prefer hardware buttons over soft keys and I don't like OP's button placement. I know off changing the key mapping manually using "Generic.kl" in system/usr/keylayout.
I have found the correct Buttons that I want to have changed, but I don't know how to change them to recents? Menu is MENU WAKE_DROPPED. Back is BACK WAKE_DROPPED. Recents? No clue.
Does anyone know the code for recents? Or maybe I can download a Samsung Galaxy S5 ROM and check the recents code in their(it has a hardware recents button, right?)
Thank you in advance!
BTW: back is key 158 and menu is key 139 for those who want to know.
Oh, wow... Google is amazing...
It's: APP_SWITCH....
Related
tl;dr
How do I remap keys on the physical keyboard?
VoiceInput --> ALT
Emoticon --> ???
/tl;dr
Is there a way I could make the Voice Input key on the keyboard another Alt key? I never use voice input, but I find myself using exclamation points a lot. [I get excited about things. Don't judge me!] So I was wondering if we could remap keys like that. And since the Emoticon button only works in stock Messaging, that'd be a good one to replace, too, for those of us who are on other SMS apps.
EDIT: It seems I'd forgotten about this thread. The instructions work for remapping keys. I made VoiceInput another Alt, and I put VoiceInput on the Emoticon key.
Is there a way to remap the search key to the recent app key????????
What ROM you using?
Long press the home button for recent apps. Why do you want to change that?
So I have tried a few lollipop roms and I can't seem to find one that has the on screen nav button editor/reorganizer. I want to be able to reorder the on screen nav buttons and also assign longpress actions to them. I know you can assign long press to the hardware keys but I would like to be able to do this with the onscreen nav keys. Does anyone know of a lollipop rom that has this feature?
governmentissuejoe said:
So I have tried a few lollipop roms and I can't seem to find one that has the on screen nav button editor/reorganizer. I want to be able to reorder the on screen nav buttons and also assign longpress actions to them. I know you can assign long press to the hardware keys but I would like to be able to do this with the onscreen nav keys. Does anyone know of a lollipop rom that has this feature?
Click to expand...
Click to collapse
You should be able to open the SystemUI.apk and edit the navbar yourself if you really need it.
governmentissuejoe said:
So I have tried a few lollipop roms and I can't seem to find one that has the on screen nav button editor/reorganizer. I want to be able to reorder the on screen nav buttons and also assign longpress actions to them. I know you can assign long press to the hardware keys but I would like to be able to do this with the onscreen nav keys. Does anyone know of a lollipop rom that has this feature?
Click to expand...
Click to collapse
http://forum.xda-developers.com/oneplus-one/orig-development/official-vaniraosp-t2890749
Some lollipop (and kitkat) roms allow you to easily remap the back and menu keys. I like to have both keys set to back on short press and menu on long press. I know that Omnirom, Slim Saber, and Dirty Unicorns have it. Are there any other Lollipop roms with this feature? I have used many roms without this feature and remap both keys to back in generic.kl and use button savior to have a menu key, but that's a hassle. TIA for any suggestions!
phoneturf said:
Some lollipop (and kitkat) roms allow you to easily remap the back and menu keys. I like to have both keys set to back on short press and menu on long press. I know that Omnirom, Slim Saber, and Dirty Unicorns have it. Are there any other Lollipop roms with this feature? I have used many roms without this feature and remap both keys to back in generic.kl and use button savior to have a menu key, but that's a hassle. TIA for any suggestions!
Click to expand...
Click to collapse
It should just be a matter of you reading the features list for each ROM to find out.
Heisenberg said:
It should just be a matter of you reading the features list for each ROM to find out.
Click to expand...
Click to collapse
Most roms have the ability to remap the home and menu keys.. Few roms have the ability to remap the back key, or assign the back function to the menu key. All of them can say they have remappable hardware buttons.
Mapping hardware keys feature, like in many other ROMs, would be really useful feature. Who agrees, +1 pls!
Yes please,
e.g. the Find 7 has that old and never used "menu" button on the left.
Under Cyanogenmod/LineageOS I can modify this button, so it acts the "recent apps" button.
Although OmniROM allows to change the longpress of this button, the single press can't be changed and therefore still has the "menu" functionality. Quite annoying, because it's useless.
A manual workaround would be to edit the Generic.kl:
1. Open /system/usr/keylayout/Generic.kl in Text Editor.
2. Then scroll down to "key 139", this is the key for the hardware menu button. Right now it will say "MENU" next to it. Replace it with "APP_SWITCH" instead.