[Q] Remap long press recent apps button - HTC One S

Hello I've installed Liberty S4 MAX Rom and is working perfectly only three dots menu is missing in this ROM. I want to remap long pres in recent apps button to show menu.
I've found this:
Edit usr/keylayout/cy8c-touchkey.kl
change the thrid line
from:
key 249 APP_SWITCH
to
key 249 MENU​But it is to replace recent apps with menu and I want than menu appears only with long press.
Any ideas? Thanks!

Related

[Q] Is there a way to remove the 'swipe to unlock'?

Afternoon all,
I had a HTC Magic originally and when you pressed menu button twice it would bring the screen back on and then unlock it.
I am trying to achieve the same functionality on my Desire.
The Desire insists you firstly use the power button to bring the screen back to life & then you must swipe down (which i find a nuisance!) before you are back at the home screen.
By modifying 'bravo-keypad.kl' as below this fixes the first part (so the menu button activates the screen), but it still wants me to swipe down.
key 102 HOME
key 139 MENU WAKE_DROPPED
key 158 BACK
key 217 SEARCH
key 107 ENDCALL WAKE_DROPPED
key 116 POWER WAKE_DROPPED
Click to expand...
Click to collapse
To conclude: Is there a way to remove the 'swipe to unlock'? (without using ''Lock Screen Switch'' widget from the market.)
Thanks in advance!
Chris
I use "nolock", free from the Market and it works great on my Evo.
(Not sure if this is the widget you were referring to or not. )
-= SomeHuman =-

[Q] How to remap soft-touch buttons?

Hi there!
Could someone tell me how to remap soft touch buttons to get:
menu = recent apps
menu (hold) = menu
and how to remap them in general?
I tried to edit .kl files in keylayout folder like this:
key 139 APP_SWITCH
key 249 MENU
but soft keys stopped working.
I know codes are different for every device, so please do not redirect me to other devices' topics.
What I have to do?

[Q] Remap "Recent Apps" to "menu" button

I have just upgraded to a Motorola RAZR HD from a phone that had physical (capacitive) "back", "home" and "menu" buttons.
I find the fact that in some instances there is no "menu" button when one could be used irritating. ie, when on the home screen, pressing the "menu" button would bring up a menu with settings etc, but with the RAZR HD there in no "menu" button displayed in that instance.
Is there any way to replace the "recent apps" button, or better yet, add a persistent "menu" button to the onscreen button panel?
I'm aware that on the HTC One V, there was a half functional way of doing this, see
http://forum.xda-developers.com/showthread.php?p=26202073#post26202073
Is there a work around (or a menu setting) that would accomplish this?
If you switch to Cyanogenmod you can assign a long press of one of the buttons to work as a menu button.

Long press recent button to menu

In the usr folder then key layout file what do I need to change to achieve changing the long press recent button to perform the menu action? I guess ideally I would like long press home to be recent apps and short press recent to be menu. But which ever is possible. I just need to get a functioning menu button again.

Trouble with APP-SWITCH & MENU key

Hello,
First post I have rooted my Oneplus one yesterday, after that my MENU key and recent app (APP-SWITCH) has been set back to default
Long Press - APP-SWITCH & Short press - Menu
I wanted to interchange both keys Long press - MENU & Short press - APP-SWITCH
Then I followed http://forum.xda-developers.com/showthread.php?t=2733811 for switching keys
I have replaced
(key 139 MENU) with (key 580 APP-SWITCH)
Now my APP-SWITCH key is working but MENU is not working please help me sort it out as its my first root ever so noob with these.
If someone want to help you can get Generic.kl here- - > http://pasted.co/3a9b34ca
I think it's because key 580 is long press of MENU not long press of key 139. So whichever button you set to MENU, when you long press it, it will use key 580's value. In this case, your left button just turned to Recents (APP_SWITCH) key, not MENU key anymore, so when you long press it, key 580's value won't be used.
So i think changing left button short press to Recents (APP_SWITCH) key is as far as you can go, nothing more you can do about the long press without custom ROM or xposed. (Or does CyanogenOS have the Buttons section in the settings, i don't remember)

Categories

Resources