Hallo, the new Recent Apps button is annoying me. So i tried to rebind the button to menu. This worked. I changed the /system/usr/keylayout/Generic.kl. (Swapped key 254 (APP_SWITCH) and key 127 (MENU). But I don't know how to rebind the APP-SWITCH key to the hold home key, wich brings me to Google Now. Google Now would be nice on hold MENU, but if I hold the changed button S Finder appears.. I don't need it. So could you tell me, how to bind APP-SWITCH to hold HOME, and Google Now to hold MENU please?
The change I made was inspired by this thread: http://forum.xda-developers.com/showthread.php?t=2337229
Thanks, Colin P
You can use the xposed framwork additions module to remap hardware keys. Or any number of other Play store apps will also endeavor to do so for you.
Or you could directly edit the the /system/usr/keylayout files. As you aren't already doing this though, I can only presume that you aren't familiar with the syntax. In which case, xposed will be your best option.
.
I have a question that involves keylayout, since this is a similar thread, I thought I should ask here. I've added on-screen navigation buttons, and want to disable the soft touch keys (I accidentally press them a lot...). I found out through a Note 2 forum that I need to put a # sign in front of keys 158 and 139, but I think it might be different for Galaxy S5. Can someone help me disable the two soft touch keys (back and recent apps keys). Thanks a lot
You should start your own thread, rather than hijack an existing one.
In short, you can either use an app like Xposed to reassign the keys or edit the keylayout files directly. Simply leave the keys in question unassigned. If you find that the keys still light up, that can be disabled in the Settings menu with the touch key duration setting = always off.
.
Related
Is any useful way to remap the Green and Red Phone button and the volume slider button? I mean for launch application or any function. Thanx.
There are some such programs for volume slider.
The most simple I prefer is attached here.
Just put it to the \Windows\Startup folder. It just "unbind" slider but not remaps it to another buttons. This will allow to use slider as F6/F7 buttons in programs able to hook them e.g. Haali Reader...
Thanx
It seems to be ok but where did you attach it? On my MDA is no offered file to download at this time. ThankU.
I've got it
Ok. Now is the sheet with uploaded file appeared. I've got it and extracted it. After i run the *.exe file it does nothing. Why?
because it should do nothing
This utility just frees slider buttons from default binding to volume control.
If you have an application that understands F6/F7 hardware key pressings (slider up/slider down) you may bind these key in the program.
As for me - I use them to scroll text up and down in Haali Reader text reader program.
But (as I said above) there are another programs to use slider up/down control. Unfortunately I don't remeber where I saw these utilities - but they really exists
And, as far as I'm back to the Andes from (Blue Angel) - I think I will write another one specially for Himalaya/Andes.
Ok, let's wait some days. If there are any results - I'll post the report here
P.S.: BlueAngel is the best HW keys equipped device i've ever saw But...
Thanx once again
Thank you 4 ur help. Now i understand that. And what about the Phone buttons? Any ideas? Ex.I want to use red button as Ok/Close simulation. Any ideas how to do that? Thanks.
Nobody unmaps phone buttons. It is possible but unresonable because of HTC is a phone device also. But I'll implement this feature too.
OK
I will wait for it.
The very first (and buggy) try of HW remapping utility is done. The application setup is available HERE
After installing .CAB file go to Start -> Settings -> Buttons and see the changes...
DO NOT INSTALL THIS APPLICATION ON BLUE ANGEL!!!
It will hide four lower hardware buttons until hard reset!
1. This app was tested on Andes with WM2003se, but should work on Himalaya/Magican with WM2003 and above
2. You will lose the possibility to use hardware key mapping in other applications forl remapped buttons. I need to re-grab buttons from time to time because the system tries to thieve them from me
3. Currently I don't now how to emulate green and reed buttons functionality after unbinding them from the system.
4. I can count any number of button pressings (3,4,5...), but -
5. WinCE reserve codes for only 15 hardware buttons (40C1..40CF)
There are some ideas for future improvement. But it would be nice to know your thoughts.
Just to "stimulate": I can create settings screen during setup to allow flexible configuration where you will
- choose which buttons to handle and how many key pressings to detect;
- choose option to unbind and/or re-map volume and phone buttons
- ???
And let me take a time-brake for 2 days before next programming session
The utility is ready. It allows you to:
remap each standard hardware button to 2 or 3 "virtual", simulated via double or triple clicks;
use volume slider to simulate Up/Down direction keys or create additional "virtual" hardware buttons;
remap Red and Green phone buttons to 1,2 or 3 hardware buttons each.
In a result you may create up to 15 hardware buttons (system limit)
Just install program and check Start -> Settings -> Buttons.
Here is Oficial AEBPlus home page, full desktop-based setup (~27K) and Direct link to CAB file (~30K)
Well done!
Excellent software! Thank you once again for your work. Works very very well!
man this is great really like it
works perfect :lol:
Seems to work great. Haven't had it running long enough to see if the camera button will get stolen back (big problem for me on XDA IIi), but being able to map the volume is great.
In the next version any chance of adding an <enter> option like Vito Button Mapper which I think just sends a <carriage return> to select whatever is highlighted.
Is "<Ok/Close>" option in button settings applet not the same?
NO, <OK/Close> generally tends to close the current window rather than selecting whatever is highlighted.
Also whatever application keeps on stealing back the camera button is still doing it. I don't know if it is part of the UK O2 customisations or the core PocketPC Rom, but eventually whatever function is mapped to the Camera button gets re-mapped back to the camera. This also happened to me with the standard button mapper and Vito button manager. It's a little annoying since the camera button is the most usefully positioned, and it is also easily knocked, starting the camera at awkward times.
Ok, I'll add this option for camera button (a bit later, in a case other suggestions arrives).
As for the re-hooking button by camera application: AEBPlus initializes all of the buttons from time to time. Currently this take place every 30 seconds. So if you will wait a bit - all buttons should be re-grabbed again
This does not seem to help because whatever application that is resetting the camera does it in the same place as you are storing the button mappings. When I go into the Buttons Setup it will now say that the Camera button is mapped to the Camera.
Yes,I see... It looks like Camera application is a pushy application . The solution is to remap "normal" Camera HW button to 3 press instead of one, but I don't like this.
Anyway - utility was released.
New features: added option to emulate Enter key with Camera button.
Hi AE, your utility is great. It is very useful but SIMPLE and SMALL.
I used it instead of other button mapper software.
There're some issues need tobe improved:
1) Mapping "Green" and "Red" button:
Enable mapping when they're iddle only (phone function does not work).
E.g: I'd like using Red button to close running app. But in phone function, Red button is still used to hang-up the phone as original its function. Anytime I have a phone call, I can use Red button to cancel a outgoing/incoming call.
You can refer the program of mamaich in this web site.
2) Single press is too low:
I press a key one time and wait 5 secs or more until it works. It's too slow. Can you improve? Double-press is OK.
3) Press n hold:
Can you add "single press n hold" for all hardware-keys? I think "single press n hold (after 3-3.5 secs)" is more convenient than "double press" or "tribble press". Do you think so?
Hi AE, very usefull application! Is there any way that we can have an options screen, where we can change the key options we get after installing the app? That would be easier to edit our preferences if we want to make changes to our initial choices. Furthermore I added a Mortbutton to one of your simulated hard keys. Each Mortbutton can show a list of 12 apps for a buttonpress. That means That I can now bind more than 60 apps to the buttons in total! Very good for one-handed use of my Magician, thanks!
Hey guys,
is there a way to reassign the hardkeys home and back?
I also have an item "Buttons" in the settings but there is only one key defined: "Key 1 (Hold), Voicedial settings".
However, I can't find this button, where is it?
It's the first button i.e phone pickup, hold it and it will give you the voice dial
Key 1 is the dial key (far left).
You can reassign the back key with AE Button Plus. I'm not sure that you can remap home.
use AE Button Plus to reassign the keys, words great on my touch hd. I read somewhere that Home button is not supported due to different driver implemented by HTC
Thanks for your replies.
I'm aware of AE Button Plus but the interesting thing is the reassignment of the home key.
I wanna keep the back key as it is and assign an ok/close task to the home key because the end call button actually does the same thing as the home button namely go back to the today screen when you have a running application in foreground.
In AEB+ I have the following:
Button 1 (hold)
Windows Key
Enter/Action
Volume Up
Volume Down
Green Phone Button
Red Phone Button
Left Softkey
Right Softkey
Up Arrow
Down Arrow
Left Arrow
Right Arrow
I can access the volume up and down keys but which key is the back key?
I assume the green and red phone button is pickup and hangup key respectively?
Is there a way to access the power key at the top?
ez2remember said:
...but which key is the back key?
Click to expand...
Click to collapse
The back key is "Enter/Action".
It seems that the home key as well as the power key cannot be reassigned.
Back and home key can be reassigned on a window by window basis in the registry. Not particularly useful, but better than nothing.
V
What exactly needs to be done in the registry to reassign the home key?
Even if I have to enter a new registry key for any program window I might use it is worth the effort (at least for me).
gacowarlock said:
The back key is "Enter/Action".
It seems that the home key as well as the power key cannot be reassigned.
Click to expand...
Click to collapse
I just want to update:
the back key is not the "Enter/Action" key. i have tried to edit this button and it didn't remap to the Back key.
If you go to File -> Add Button, and tap the Back key, it will recognize the key as button #405C. I have remapped it to "Close Active Application" and it worked.
i don't think u can reassign the Home key as AE Button Plus cannot access the Home key.
I was also unable to change the Home key in AEBplus.
Concerning the back key assignment with AEBplus, I was trying to assign something to the long press but unable to get it working. No problem for single press and double press.
Anyone has better luck?
vijay555 said:
Back and home key can be reassigned on a window by window basis in the registry. Not particularly useful, but better than nothing.
V
Click to expand...
Click to collapse
So how do we go about doing that vijay555?
Power Key
Here's the modified power key from Diamond but it can be used on HD.
When Power key on long-pressed, it will display the menu for choice. Tested.
Regards,
KCJ
just tested on Aeplus 2.6.6.1, the Back key = the Ok key, it can be remapped.
I have it set to:
Single press="Ok/Close"
Double press = S2U2
Long press=close active app
EDIT: Long press doesn't work... might try another method.
don't know if this works, but it is worth a try:
if you copy a shortcut to \Windows and name it "Short_Power.lnk" you can intercept the short power key press. at least that worked for me on my diamond.
you could try s.th. like "Short_Home.lnk" but that would intercept the "other home key" (which manages the cursor's position like end, up down, left, right, etc).
the magic would be to find the correct name of the key.
longpress back key (405C)
I know this is an old thread, but I haven't found yet a solution.
I'd like to be able to add longpress back key (405C) to the key menu on the windows config.
I've found the registry key that HTC uses to provide longpress send key, but I copied with no luck.
Anyone knows how to do it? vijay555 has said it's possible but never indicated how...
I have installed the CleanROM version 2 and included the Enable On-Screen Softkeys option. I would like to disable at minimum the hard key home button without disabling the softkey home button. The hard key home button is especially annoying in s-note or OneNote as I inadvertently activated it by my palm. I've tried to find an Xposed module or a key number/file to mod but haven't had much luck with what I have found in the forums. Can anyone give me a little help in the right direction?
I was wondering if there is a way to change key functions on note 3, for example: by pressing menu key we can see recent apps instead of menu
I would be thankful if anyone can suggest a solution to do this:good::laugh:
arash2901 said:
I was wondering if there is a way to change key functions on note 3, for example: by pressing menu key we can see recent apps instead of menu
I would be thankful if anyone can suggest a solution to do this:good::laugh:
Click to expand...
Click to collapse
There are actually a couple different ways to do it...
You can used Xposed mod, with either Xposed Additions or MenuBeGone
(I've never used either of these methods...)
or, the way that I do it, manually edit the \system\usr\keylayout\Generic.kl file.
When I do it, I make the following two changes:
Change key 139 from MENU to BACK
Change key 158 from BACK to APP_SWITCH
Then I use button savior to add the menu for those things that need it...
(I'm coming from Nexus devices, so having the keys with back on the left, and app switch on the right is how I'm used to it...)
Ever wondered to use Google search ? Just saying.
Sent from my N9005
carnagecjb said:
There are actually a couple different ways to do it...
You can used Xposed mod, with either Xposed Additions or MenuBeGone
(I've never used either of these methods...)
or, the way that I do it, manually edit the \system\usr\keylayout\Generic.kl file.
When I do it, I make the following two changes:
Change key 139 from MENU to BACK
Change key 158 from BACK to APP_SWITCH
Then I use button savior to add the menu for those things that need it...
(I'm coming from Nexus devices, so having the keys with back on the left, and app switch on the right is how I'm used to it...)
Click to expand...
Click to collapse
thanks
that's helpful (kind of!)
I was able to change function of key like starting camera by pressing menu key, but still don't know how to put recent app instead of menu?
--------------------------------------------
[problem solved,found it]
thanks a million man
big help
arash2901 said:
thanks
that's helpful (kind of!)
I was able to change function of key like starting camera by pressing menu key, but still don't know how to put recent app instead of menu?
Click to expand...
Click to collapse
Quick and easy answer:
Change key 139 from MENU to APP_SWITCH
Google has already told everyone to stop using hardware menu buttons and to instead use the built-in software ones in the apps.
Unfortunately there's quite a few devices, the Galaxy Note 10.1 2014 included, that still have a menu button.
My goal is to successfully remap that button to a Recents button, and enable the built-in software ones. I'm using Hyperdrive RLS5.1 on my device, but this technique should work with any other ROM too - if it doesn't, there is either a conflict or you might need to change other keylayout files as well.
I fairly easily remapped the key.
You just use a root file explorer like FX to go to "/system/usr/keylayout/Generic.kl" and find the line that looks like "key 139 MENU" and change it to "key 139 APP_SWITCH". Then reboot the device. When you press the button, it will open the task switcher - but there's a nasty caveat. When you do this, the device still has the menu key in it. So if you go into an app like Firefox or Viper4AndroidFX and try and change settings, you can't. The menu button is inaccessible.
But, no fear: the solution is the Xposed Framework, combined with MenuBeGone, which can be found at http://repo.xposed.info/module/ro.epb.menubegone. I've checked the source code and it's completely benign - the key here is that you have to force every app to return "false" when it checks if the device "hasPermanentMenuKey".
It doesn't matter how much remapping you do, the device still technically has a physical menu key. Lil' blighter.