Basically what's happening here is that I want to use on screen nav keys. OK cool. Enabled them through Gravitybox I shut off the capacitive LEDs and was able to disable to menu and back buttons all together by editing the generic.kl file in /system/usr/ file.
Now, I'm trying to change the home buttons function to menu instead of home but it isn't working. I reboot and the button is still functioning as home.
I edited key 103 and 172 and replace MOVE_HOME with MENU WAKE_DROPPED. It isn't working.
Anyone got any ideas on what to do?
H3adru5H said:
Basically what's happening here is that I want to use on screen nav keys. OK cool. Enabled them through Gravitybox I shut off the capacitive LEDs and was able to disable to menu and back buttons all together by editing the generic.kl file in /system/usr/ file.
Now, I'm trying to change the home buttons function to menu instead of home but it isn't working. I reboot and the button is still functioning as home.
I edited key 103 and 172 and replace MOVE_HOME with MENU WAKE_DROPPED. It isn't working.
Anyone got any ideas on what to do?
Click to expand...
Click to collapse
NEVERMIND! I figured it out.
If anyone is interested in remapping their hardware buttons, the file to edit is the gpio-keys.kl file in /system/usr/keylayout/ folder.
Related
Alright, so I've tried AEButton plus, and dug around here for 2 days and haven't been able to find a solution.
I'd like to remap the "Home" and "Back" hardware buttons on my T-Mo TP2 to Arrow Down (for the Home) and Ok/Select for the Back. Since neither of those functions are an "application" I don't see how that would work.
A friend of mine wrote an app for the ATT Fuze that allows the PTT button to be visible in the standard button mapping area, but I don't know what the scan codes are for the Home and the Back buttons are. Anyone have an idea?
Otherwise, I'd love an application that actually... you know ... worked.
AEBplus can map to key strokes. I have Volume Up mapped to the Up arrow and Volume Down mapped to down arrow.
So I think you just need to:
* Add Button in AEBPlus
* Press the appropraite hardware button
* Select the new hardware button and edit it (I think you hit enter while it is selected).
* Choose the action as a keypress of Up Arrow or whatever you want.
when I try to add the volume buttons as a remap I just get the volume changed... any solution for that?
When I attempt to remap the Home and Back buttons on my T-Mobile TP2, it fails to map them. I've tried everything.
Volume kind of works, but I want those ... for the volume
Ghallo said:
but I don't know what the scan codes are for the Home and the Back buttons are. Anyone have an idea?
Click to expand...
Click to collapse
I'm not totally sure what mean by scan codes, but are these them: http://ae.inc.ru/aebpluscline.php ?
Aebutton Plus no longer maps vol keys w stock 6.5
Someone else in this thread is reporting what I'm seeing -
Before the 6.5 upgrade, Aebutton plus would let me remap the volume keys to do nothing on single or double press, then execute the volume change on the third press. I liked this because I've always found that I tend to turn the volume off inadvertently - and not just on this phone.
Now, it won't do this, and I can't disable the single or double press.
I've tried it with simplemode set in registry (one volume control, vs. ring and system) in either setting.
Does anyone have an idea as to what they've changed? I'd really like to be able to put this back the way it was.
try to use the program on this link http://forum.xda-developers.com/showthread.php?t=554240. This is the one I am using right now to map my home key into start menu button.
Im having the same issue. I need something to remap my buttons in order to scroll up and down and open task manager. I have Sprint TP2 with the 6.5 update and tried AEB already, any solutions?
first backup /system/usr/keylayout/gpio-keys.kl
edit /system/usr/keylayout/gpio-keys.kl,
key 136 SEARCH WAKE_DROPPED
key 139 MENU WAKE
key 102 UNKNOWN
key 158 BACK WAKE_DROPPED
key 116 POWER WAKE
key 115 VOLUME_UP WAKE_DROPPED
key 114 VOLUME_DOWN WAKE_DROPPED
change 3td line to "key 102 UNKNOWN " to disable Home key.
u can change to "key 102 POWER", so u can screen on/off by pressing Home key
Edit/Delete Message
Could you be more explicit about this ?
Do you think we can modd the market for non landscape mode ?
We can change the behaviour of the physical keys of A100 from changing the file:/system/usr/keylayout/gpio-keys.kl
Does this actually work?
Just want to make sure this works before I attempt it...thanks
sure!!!!!!!!!!!!!!!!!!!!!!!!!1
It works!
raphsabb said:
Just want to make sure this works before I attempt it...thanks
Click to expand...
Click to collapse
I just tried it, and it works!
Thanks, @sanixk!
So, I followed the instructions above, the home button is 'unknown ", but it still keeps flashing - to indicate notifications, I guess. Is there any way to stop notifications from flashing the home (and Power) buttons?
---------- Post added at 06:42 AM ---------- Previous post was at 06:27 AM ----------
I am wondering - would it be possible to turn the HOME button into a second BACK button rather than a POWER button? I find the bottom-left locationof the BACK button quite inconvenient.
I think it would be easy to change to a back button. I think it would be nice to have it hide and unhide the bar at the bottom.
I changed Key 102 to UNKNOWN, and it now functions as a "Scroll To Top" button in Dolphin HD!
Has anybody else seen that behavior?
Hi, I have HP IPAQ 514 (Voice Messenger) and my red button is broken . It isn't actually broken, but when I click it, it doesn't respond . Instead, it responds whenever it wants . Is there a way to disable the button because it's really getting on my nerves . Please help, thanks !
Kung-Fu-Panda said:
Hi, I have HP IPAQ 514 (Voice Messenger) and my red button is broken . It isn't actually broken, but when I click it, it doesn't respond . Instead, it responds whenever it wants . Is there a way to disable the button because it's really getting on my nerves . Please help, thanks !
Click to expand...
Click to collapse
Thank you for the morning laugh. This post fails on many levels. The Ipaq is Windows Mobile, not Android.
try changing to:"key 158 BACK WAKE_DROPPED"
Kung-Fu-Panda said:
Hi, I have HP IPAQ 514 (Voice Messenger) and my red button is broken . It isn't actually broken, but when I click it, it doesn't respond . Instead, it responds whenever it wants . Is there a way to disable the button because it's really getting on my nerves . Please help, thanks !
Click to expand...
Click to collapse
Until you learn to both post in the right section AND stop using so many goddam smilies, I think we should just disable your posting button instead.
sanixk said:
try changing to:"key 158 BACK WAKE_DROPPED"
Click to expand...
Click to collapse
l
AFAIK, that is the stock, or "normal " entry.
Did you mean "key 102 BACK WAKE_DROPPED "? Seems to me that should turn the HOME button into a second BACK button.
yeah. Another BACK button
jschall,
I tried editing 102 key to power up the device when I press the home button, but no luck!
Any ideas?
Thanks!
Managed to change the 102 key.
"works" great by not doing anything.
Thanks!
sanixk said:
first backup /system/usr/keylayout/gpio-keys.kl
edit /system/usr/keylayout/gpio-keys.kl,
key 136 SEARCH WAKE_DROPPED
key 139 MENU WAKE
key 102 UNKNOWN
key 158 BACK WAKE_DROPPED
key 116 POWER WAKE
key 115 VOLUME_UP WAKE_DROPPED
key 114 VOLUME_DOWN WAKE_DROPPED
change 3td line to "key 102 UNKNOWN " to disable Home key.
u can change to "key 102 POWER", so u can screen on/off by pressing Home key
Edit/Delete Message
Click to expand...
Click to collapse
Sorry for the noob questions I'm about to ask.
I need to have the A100 rooted before I do this?
What am I using to edit the .kl file?
Yes. You do need to be rooted. You can't access the file without root.
You don't need anything to edit the file.
Simply open as - text - text editor and modify the file. Save it afterwards.
gshadefull said:
Yes. You do need to be rooted. You can't access the file without root.
You don't need anything to edit the file.
Simply open as - text - text editor and modify the file. Save it afterwards.
Click to expand...
Click to collapse
Great, thanks! Got it working now (or rather, not working). Now my 2yr old son won't be pressing it each time he holds it to watch his videos. I've hit it enough times to annoy me as well, wish they would have used a real button but then I'm sure Apple would have sued them for using a real button
From time to time the physical keyboard stops responding. None of the buttons work, not even the search, menu, home, and back buttons. The touch buttons do work. The only way I have found to fix is to reboot the phone.
I have exactly the same problem from time to time. Normally after unlocking the phone. It seems if I leave it for a while (locked) it does start working again, but a reboot does fix it always.
okay, my keyboard is still functioning, but I choose to post here instead of making a new thread for my concern is also keyboard based.
Does everyone have uses the ALT key for entering numbers consecutively? I also do but quite a pain because unlike the SHIFT key, when I press it twice, it toggles CAPS LOCK, my ALT key does not toggle 2nf functions (blue keys) only when I double press. Is this normal? should I type fast to be able to get 2nd functions consecutively? thanks
gabby131 said:
okay, my keyboard is still functioning, but I choose to post here instead of making a new thread for my concern is also keyboard based.
Does everyone have uses the ALT key for entering numbers consecutively? I also do but quite a pain because unlike the SHIFT key, when I press it twice, it toggles CAPS LOCK, my ALT key does not toggle 2nf functions (blue keys) only when I double press. Is this normal? should I type fast to be able to get 2nd functions consecutively? thanks
Click to expand...
Click to collapse
My alt key enters a blue key on the first press(one time), double pressing the alt key toggles blue keys instead of regular keys.
On my phone pressing Alt twice locks it and you can tell because the cursor changes. There are a couple of combinations. You can Alt lock and Shift lock at the same time. Again the cursor changes to show this.
Mine doesn't. I see the cursor change, but if i press a key or two, it will turn off the toggle....geeze and it's not defenitely a hw issue...
But if i toggle the alt key, i can type blue characters but i need to be fast..
EDIT: I think I have solved the issue now....I replaced my onscreen/virtual keyboard by the default one.....and now I can type 1234567890 without pain....I installed a 3rd party keyboard and think that triggers the issue. If someone could replicate, that will be appreciated. Thanks for everything.
I was thinking since we have root and we have a Hardware Keyboard it would be nice to actually have a Hardware button for the Camera.
So I started Searching around on how to do it. I found an application that claimed to be able to do it called "buttonremapper". Unfortunately this program only sees the Menu and back button. 2 buttons I do not wish to remap.
I did find a program called Keynrtracker on XDA that allows me to see the ID's of every button pressed including the Hardware buttons.
I researched a little more and found where the Key mapping files are located:
"system/usr/keylayout"
In here, there are many files that have to do with the keyboard. I found the one to modify is the:
"STMPE_keypad.kl"
this file has all the keys and I simply wanted to change the Search button from the keypad to bring up the Camera so I did this:
key 217 CAMERA WAKE_DROPPED
where previously 217 was:
key 217 SEARCH WAKE_DROPPED
"Wake dropped" is to tell the button to wake up if asleep or not.
Make sure you backup before have root and save. Reboot to load changes.
Well it now works I have a Hardware Camera button. One thing I noticed is I have to Hard press the button and hold not just click. Anyone know why? Added benefit is once the camera app is open, it also takes pictures by pressing on that same button.
JB
nice ^__^
It sounds like you re-mapped long press search, which normally goes to google search, which is why you may have to hold it down longer. Does a short press bring up the normal search menu?
Nardholio said:
It sounds like you re-mapped long press search, which normally goes to google search, which is why you may have to hold it down longer. Does a short press bring up the normal search menu?
Click to expand...
Click to collapse
Short press on its own does nothing. Pressing it with any other key does a normal search.
dudejb said:
I was thinking since we have root and we have a Hardware Keyboard it would be nice to actually have a Hardware button for the Camera.
JB
Click to expand...
Click to collapse
I'm assuming, you want to have it set as a 1 key touch operation instead of setting it up in quick launch configuration like Search + C.
pics can be taken using the OK button by default.
clockwork58 said:
I'm assuming, you want to have it set as a 1 key touch operation instead of setting it up in quick launch configuration like Search + C.
pics can be taken using the OK button by default.
Click to expand...
Click to collapse
Agreed 1 touch I also like the ability of knowing I can change any key on the keyboard like that useless "www.com"button.
Sent from my SAMSUNG-SGH-I927R using xda app-developers app
I have replaced the screen on my Optimus G (E975k, Telstra) and the menu button works whilst the back is off, but as soon as I put the back on, the menu button doesn't work... super annoying!
I'm not sure if my clumsy attempts to replace the screen have damaged the synaptics ribbon and the cover going on puts pressure in the right spot to stop the ribbon cable making the connection for that button or what, but I'm looking for help getting around this.
Is there a way to make longpress on back arrow to open the menu, if so then 90% of my problems are solved, I can force the onscreen nav buttons to show up and that is great but it seems like a waste of space if I can work around it with a back button long press... I tried a few key remapping apps but they do not seem to be able to do what I want to do... if there is a custom rom that would support this then I would just flash that I guess.
Anyway, help from anyone would be appreciated
Thanks
EDIT: Okay so I edited /system/usr/keylayout/keypad_8064.kl
changed
Key 115 VOLUME UP
to
Key 115 MENU VIRTUAL
This allows me to use the volume up button as the menu button, so I'm out of trouble, but I would still like to map back button long press to the duty rather than lose my volume up button.
Hey man, if ur on stock i think u can use xposed modules for long press behaviors and custom button actions.. Usr gravity box etc.. If u like custom rom, many offer custom button actions
Sent from my Optimus G using Tapatalk