so, I'm starting to realize how much I am missing the OK button, either on the side of the phone somewhere or on the keyboard. Is there a way to remap a button on the keyboard to be the OK (oh and TAB) button(s)? Also is there a way to remap a hardware button to be the OK button? (ie volume down twice = OK)?
its amazing the things you find when you search
http://forum.xda-developers.com/showthread.php?t=544053&highlight=remap
http://forum.xda-developers.com/showthread.php?t=548284&highlight=remap
http://forum.xda-developers.com/showthread.php?t=538236&highlight=remap
^^^ all of those are threads about remapping keys. some point you to a program, one points you to an app someone made over in the Rhodium themes, software, etc sub forum. that can be found at the next link. I even ask the guy how to get the "Ok" function a few replies in to the thread & he tells you how. Enjoy
http://forum.xda-developers.com/showthread.php?t=554240
Related
I have searched and read almost every post regarding remapping of ok button.
Can anybody tell me if ok button on front side of hermes near call buttons and softkeys be remapped.
I am aeb buttons but it doesnt have option for it?
any thing else i can try?
I think ae buttons have the option to do what you want...
When you go to the configuration window where you can set the funtion to each button even that the front ok button is not listed there is an option of custom button or something like that, select that option, then pres the button you want (the fron ok) and then asign the function you would like to add...
Sorry I could not be more detailed but I only use this software for very few time because when instaled, the scroll wheel didn't respond...
hope it helps...
Regards
Mablan
As far as I know, nobody has published a way to do this. However, If you havent already, there is a way to hack the PTT button, which I use to change the volume. You can assign any function that you want for buttons 1-5 @ start-->settings-->personal-->buttons. There is also a cab in the hermes section to remap your softkeys. You may want to talk to Sleuth255 (he was the one who hacked the PTT) to see if there is a way to do this for the ok button.
mablan said:
I think ae buttons have the option to do what you want...
When you go to the configuration window where you can set the funtion to each button even that the front ok button is not listed there is an option of custom button or something like that, select that option, then pres the button you want (the fron ok) and then asign the function you would like to add...
Sorry I could not be more detailed but I only use this software for very few time because when instaled, the scroll wheel didn't respond...
hope it helps...
Regards
Mablan
Click to expand...
Click to collapse
Worked like a charm
100x thanx 2 u
i know this forum rocks
hi guys, i am also looking for something similar to this. i have noticed that when i press the ok button on the front, or on the keyboard that it only minimises the program rather than closing it. now the background behind that is i have HTC X button on LVSW 3.30.0.9 (soon to be 3.30.2.1). and that is set to close the program.
EDIT: i stand corrected. i just googled ae button and noticed it was a program. i shall try that and see how it goes.
zmit said:
hi guys, i am also looking for something similar to this. i have noticed that when i press the ok button on the front, or on the keyboard that it only minimises the program rather than closing it. now the background behind that is i have HTC X button on LVSW 3.30.0.9 (soon to be 3.30.2.1). and that is set to close the program.
EDIT: i stand corrected. i just googled ae button and noticed it was a program. i shall try that and see how it goes.
Click to expand...
Click to collapse
I have been looking for something to do this since the Hermes dropped.. I would love to find a way to make a press on OK minimize the app and a hold on it to close the app.. Still nothing?
Edit: I second the edit above...
that one may be possible with a combination of x button and ae button.... i havent tried it and am still trying things with ae button. but it may be possible.
ok. i am using ae button now and have noticed a few things.
one. the memory manager is pretty cool
two. when i go to add the front ok button above the 'end' key, it comes up with button #4075. when i try to remap that as 'close active application' it does nothing. not even minimise it.
three. it works when i remap the internet key to 'close active application' it closes it completely.
four. the same happens when i add and try to remap the ok button on the keyboard to the same thing.
and five. i notice that the button #4075. the ok button on the front, says 'change volume or.... 1. close active application'
which is odd.
the rest of the remapping works well. except for added the ok buttons.
anyone know how to program the hard keys. in settings/buttons the only one that you can assign by default is the send key. i would like to be able to do the other 3 as well.
ALSO...
is it possible to assign the shutter function for the camera to a hard key? it would be nice to use the volume keys as shutter function when using the camera.
thanx!
Yes it would be very nice to have a hardware button for the shutter... makes it hard to do a self portrait shot
seriously... search... this has been asked 1083498734597 times asking for a key remapper. there's one in the themes, apps, & software subforum that lets you remap any key.
what? no direct link?? we wanna be spoonfed. ha! i got it. thanx. i knew there was a keyboard remap but didnt know if it would remap other keys not on the qwerty.
michelangeloz3, its in themes, apps, & software like our friend said. its on the first page. if you install it and need help, i got it to do what i wanted after a bit of play. i got both volume up and down to operate shutter. end key press and hold now opens camera (for when im not running touchflo)
Hi, I was wondering if I could remap the trackpad button on my Droid Incredible to the home button. Kind of like how if you press the center button on the iPhone, it goes back to the home screen. Is this possible? and I do not want to flash another ROM. Thanks.
Uhm, this phone already has a "home" button.....
mmmark111 said:
Uhm, this phone already has a "home" button.....
Click to expand...
Click to collapse
can't we just answer the question? sometimes ppl. I would assume if he has a dinc he knows about the home shaped icon under the screen there, with that said I've never seen this question asked b4 but would assume no bcuz of already in place "home" button
Sent from my ADR6300 using XDA App
I know there is a button, but I want to use the track pad button for the same function.
I think this would be useful as well.
JC
Look at the Optical joy stick wake thread. It's in the keymap file somewhere. I don't know what all you can remap it too but I know they remapped it to wake the device (though inconstantly but thats a sleeping problem)
Just a thought, but would you not loose all of the intended functionality as a result of doing this? For instance, how would you take a picture or record a video?
I have ruby rom so there already is a record button or camera button on the screen itself so it's not a problem.
-steve
Redemption rom use to have a tweak that let you hold down the search button key and it would start the camera application. This was done by editing the incredible-keypad.kl file in /system/usr/keylayout and changing the line "key 217 SEARCH WAKE_DROPPED" to "key 217 CAMERA WAKE_DROPED" i figure you could add a line "key 232 HOME WAKE_DROPPED" and get the home to open when the trackpad was pressed, but that didn't worked.
I've been trying to remap my trackpad to camera since I rooted my phone and still can't get the working. I hope this thread will spread some light on how to properly remap the DPAD_CENTER button.
stevethekorean said:
I have ruby rom so there already is a record button or camera button on the screen itself so it's not a problem.
-steve
Click to expand...
Click to collapse
Those two aplications remove the need for the trackpad button, however its usefulness doesn't end.there. the.ability to.scroll through text to edit without endlessly, 'push and pray' u get it in the right spot I would.imagine would get lost as well. The trackpad also can seek in some flash players too.
Sent from my ADR6300 using XDA App
Okay. So this is not possible at all? Because i can edit text by zooming in on the website...
-steve
It doesn't seem to be possible... or if anyone has figured out how they don't want to share. Editing the kl files doesn't work like it does for other hardware buttons. Here's my thread asking the same thing:
[Q] Can't remap optical joystick?
would this be possible
if you were to look at the file text for the real home key maybe if you copy-pasted that txt into your trackpad txt file it would do the same function .......just a thought
So I'm looking at remaping the soft keys (specifically the search) on the front of the phone. There appears to only be one "SEARCH" in the /system/usr/keylayout/vision-keypad.kl - key 217 (see code below) - that if changed has the following 2 effects:
1. Alters the functions of both the soft key on the front of the phone and the search key on the hardware keyboard. When I remap one, they both change to match your modification.
2. When changed, long press functionality of the soft key is lost. It will only accept a short press.
"SEARCH" can be successfully changed to "MENU", "BACK", and "CALL" (possibly others I have not tried) then pushed to the phone in recovery and function perfectly. However, when I map it to be the "POWER", the soft key does nothing on press, while the hardware search key on the slide-out works fine.
Has anyone found a way around this?
We remap the track pad to wake because we dont like using the top mounted power button, but it only does a half-ass job because when you want to shut the screen back off, you still have to reach for the power button. I think the track pad wake mod needs its own 'bacon bits'
Code:
# column 0
key 185 USER3 WAKE_DROPPED
key 100 ALT_RIGHT WAKE_DROPPED
key 217 SEARCH WAKE_DROPPED
key 28 ENTER WAKE_DROPPED
key 38 L WAKE_DROPPED
key 14 DEL WAKE_DROPPED
key 54 SHIFT_RIGHT WAKE_DROPPED
I think you're out of luck with regard to an easy fix. I just did a quick experiment with evtest and it looks like the softkeys on the screen are just areas of the touchscreen that the window manager treats specially and generates synthetic key events in response to touches on, instead of being actual mappable keys.
teferi said:
I think you're out of luck with regard to an easy fix. I just did a quick experiment with evtest and it looks like the softkeys on the screen are just areas of the touchscreen that the window manager treats specially and generates synthetic key events in response to touches on, instead of being actual mappable keys.
Click to expand...
Click to collapse
Well the are mappable. I managed to make it be the menu button and the back button just fine. It just doesnt want to be the power button..
The same key can be used as a single quick press or a long press. It is considered two different keys though. So you would have to figure out what the long press equivalent of the search button would be and change that one.
The way this thread can stay in developmental, is show steps on how you are remapping the keys.
For others to gain knowledge or this thread is moving to Q&A
Mikey1022 said:
The way this thread can stay in developmental, is show steps on how you are remapping the keys.
For others to gain knowledge or this thread is moving to Q&A
Click to expand...
Click to collapse
Maybe I'm off here, but if I was making this post to show the steps, would that not fall under a "How To" or "Guide"? My goal here is development. Development –noun 1. the act or process of developing; growth; progress. Or in my case, I'm in the act/process of developing a remapped key file to make the search soft key into a power key, and to then share with the rest of the forum. My progress so far is that I've managed to map it to a menu key and a back key with no problems, and am reaching out to others for help as to why it is that when I change it to the power key, it doesn't accept my changes.
Its kinda a gray zone, in that if I were to successfully remap it to the power button and post the file here, it would, technically speaking, be less of a development thread than it is now - because it would be finished developing and instead, merely contain a file with instructions.
However, as requested, and for those who are interested:
The file you are looking for, is as mentioned in the OP, "vision-keypad.kl" and is located in /system/usr/keylayout. You can edit it with a text editor like Notepad++. The line that I am looking at, also refer to OP, is key 217.
I'm thinking now, after messing with it some more, that maybe because it is a soft key it cant be mapped to power, being that as soon as the screen shuts off it no longer functions... But then again there exists widgets that, upon press, turn off the screen and they function fine, so I see no reason this shouldn't. I'll keep you posted on what I find, and would appreciate any help in the mean time.
i'd love to be able to map a longpress menu and a longpress back action. Cyanogen 6.1 allows longpress back to be turned into force kill foreground process. So there is a way to capture longpress on those 4 keys, the question is, what does the system read that keypress as and how can it be mapped.
sundar2012 said:
i'd love to be able to map a longpress menu and a longpress back action. Cyanogen 6.1 allows longpress back to be turned into force kill foreground process. So there is a way to capture longpress on those 4 keys, the question is, what does the system read that keypress as and how can it be mapped.
Click to expand...
Click to collapse
So it is doable! There are some .bin files in the /system/usr/keychar folder that correspond to the .kl files in the ../keylayout folder, but i havent been able to read them. Maybe thats it.. Gonna figure that out when I land tomorrow and get my computer set up
I changed the Search function key to Camera and it only works on a long press and I get no result on a short press. So maybe the function you are trying to rename the Search key to has to be specific to either way i.e. short or long press but not both.
So it will either work as a long press key for some functions or a short press key for others.
Read the window manager source (from AOSP or CM), determine what scancodes it synthesizes in response to touches or long-touches on the softkeys, edit keylayout accordingly.
Doesn't ButtonRemapper from Android App Dev section work on G2? :S
hey guys, i dont know if you all figured this out or not, I just got the g2, and to remap the key to power button you have to change it to "ENDCALL" not "POWER", after, reboot and voila! your search button now acts like a power button!!!!! Hope this helps!!!!!
Need to Map Back button to one of the soft key
Rceently I bought HTC Desire Z (no warranty), and I am facing the problem with 4 bottom buttons of the touch screen (menu, back, home and search). So I am planning to do hardware map for one of the softkeys to BACK button.
Could you please provide me step-by-step installation of all the softwares and the procedure I need to do for updating "vision-keypad.kl" file. Appreciate your help.
My one more doubt is that what is the difference between "WAKE_DROPPED" & "WAKE". I have seen these keywords in ".kl" file in GITHUB.
Please give me reply ASAP. I am frustrated with the way the mobile is working. Just imagine how it will be if back button stop working and you are in the middle of some application. I restarted my mobile some dozens of times.
Hi,
I use the menu key a whole lot more than multi task. How hard would it be to remap the multi task key to act like a menu key? Is it even possible?
Sent from my GT-I9100 using Tapatalk
If the apps is according to the new ICS look, Holo I think the theme is called, then the menu button is on the top right of the screen.
Seems to me it would be a hassle to press a button on the bottom right and then move youre finger to the top right to actually use the menu.
On apps not yet fitted for ICS I can understand what u mean, however this problem should hopefully be almost gone within not too long.
Would love to remap the useless.most recent programs button to act as a google search button, much like a long press on menu on my s2 does...
There are several threads about this. Here is one: http://forum.xda-developers.com/showthread.php?t=1480130
I just got my One X, so haven't tried anything myself.
But being able switch songs with the volume buttons while locked is what I'm looking for.
A must when you're outside in heavy rain or snow.