Remap Hardware Buttons - Touch Pro2, Tilt 2 Android Development

Hey,
The power button on my TP2 doesn't work anymore (bad contacts) and I'm able to get around this using WinMo with a simple keyboard remapper to move the functionality to another key. Obviously this isn't a HUGE issue, but I don't have a dedicated home button.
Just wondering if there is any way to do it - even if I had to remap one of the keys on my kb to home would be nice.

Bantimus said:
Hey,
The power button on my TP2 doesn't work anymore (bad contacts) and I'm able to get around this using WinMo with a simple keyboard remapper to move the functionality to another key. Obviously this isn't a HUGE issue, but I don't have a dedicated home button.
Just wondering if there is any way to do it - even if I had to remap one of the keys on my kb to home would be nice.
Click to expand...
Click to collapse
In Android your power button is actually the end call button, just like on Android devices.

thanks for the reply reefer. Maybe I didn't make myself clear enough then.
The end call button does indeed turn the phone on/off, but the power button that turns the screen on and off in WinMO is the home button in Android, and it doesn't work on my phone (due to me dropping it a few times...)

Related

Is it possible to use PTT button instead of Power button

I hate the way power button is positioned on Hermes. I have trouble finding it plus each time I try to use it I accidentally slide keyboard open.
Is there any way to use PTT button as power button instead? I might be able to figure out how to use it to power unit down but is it possible to use it to power unit up while other buttons will still be locked?
Making PTT shut 'er down or suspend it is really easy, but I've never seen a way to make it power on with any button besides power.

Repurposing the volume up/down buttons?

i really miss hardware scroll buttons.
on the rhodium there are two little side buttons for adjusting the volume. i'd really like to repurpose these as scroll up/down. For example, to work inside a browser. Unfortunately, there is no standard option (i can find) to redefine the purpose of these buttons.
i'm hoping there's another way. eg registry hack etc.
thanks for any help,
Use AEBPlus
I am doing exactly the same thing with my Volume Up/Volume Down, I've turned them into arrow keys. The lack of these is my biggest annoyance with the TP2.
That said, I have noticed a little flakiness - most of the time they work fine, but sometimes I hit them and they don't scroll as I expect. Then a moment later they start working.
Anyway, it's much better than not having them re-assigned.
Incidentally, AEBPlus has a cool feature where you can tell it not to remap the Volume keys when you're on a call, so they can still be used then.
Thanks for the tip, i'll give it a go!
AEBPlus works? I'll try it. heard from another TP2 user that it caused his device to freeze up resulting in a hard reset...
Putra said:
AEBPlus works? I'll try it. heard from another TP2 user that it caused his device to freeze up resulting in a hard reset...
Click to expand...
Click to collapse
Been OK for me so far
Yes, AEB Plus works (no hard reset), but I can only add the windows button. The <-- (back) button does not work when mapped using AEB Plus.
Also, if you're using the JBed Midlet manager, the arrow keys automatically scroll up and down. It works well with Opera Mini.
AEB plus does nothing for me... i just have a list of buttons I can't do anythign with, a giant memory leak and crashing.
julienrl said:
AEB plus does nothing for me... i just have a list of buttons I can't do anythign with, a giant memory leak and crashing.
Click to expand...
Click to collapse
Yeah there appears to be no way to open an entry from the list using touch alone - must be a bug.
Highlight one of the buttons in the list, flip out your keyboard and then press enter/return. It will open the Edit menu where you can assign that button to something.
tjobbins said:
Yeah there appears to be no way to open an entry from the list using touch alone - must be a bug.
Highlight one of the buttons in the list, flip out your keyboard and then press enter/return. It will open the Edit menu where you can assign that button to something.
Click to expand...
Click to collapse
ahhhhhhhhhhhhhhhhhhhhhh! lol, I was wondering why people were talking so much about an app that does nothing
Did you guys install to main memory? I had no problems with AEB Plus on my 1.19.707.2 ROM.
I could assign the vol up/down keys and could also add the windows key. It is a bit tricky using the windows key as the first press brings up the programs tab.
I added the back key also, but couldn't get it to work. I didn't touch the send and end keys.
BTW, I used AEBPlus v2661
Putra said:
Did you guys install to main memory? I had no problems with AEB Plus on my 1.19.707.2 ROM.
I could assign the vol up/down keys and could also add the windows key. It is a bit tricky using the windows key as the first press brings up the programs tab.
I added the back key also, but couldn't get it to work. I didn't touch the send and end keys.
BTW, I used AEBPlus v2661
Click to expand...
Click to collapse
This all is my biggest concern upgrading from a Tilt.. I REALLY like hardware buttons, and make extensive use of AEButtonPLus as it is...
tjobbins said:
Yeah there appears to be no way to open an entry from the list using touch alone - must be a bug.
Highlight one of the buttons in the list, flip out your keyboard and then press enter/return. It will open the Edit menu where you can assign that button to something.
Click to expand...
Click to collapse
Press the entry in the list and keep holding for a few seconds more.
I've been using it since I had my touch hd and it works perfectly and I haven't found it to cause any issues.
Personally i assign one volume button to a task switcher (spb ms3 task manager) which makes multi-tasking far easier. You can then map double clicking to the original volume functions and even long hold to something else useful such as comm manager.
Awesome Tip. AEBplus Confirmed to be working fine on TP2 from T-Mobile (still stock rom for now). I made the volume buttons map to up and down like suggested but also made a long hold for volume up do "enter/activate" and a long hold for down do rotate the display.
my phone (telus rom) keeps getting screwed up when I install AEBplus and gets back to normal when I undo it.

Button remapping question

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?

Swap Power and End buttons

On the latest CAB I downloaded the End button locks the screen and the power button minimizes all the programs. Is there any way to make the Power button lock the screen and the end button minimize all the programs, like it is in Win Mo? I got a T mobile TP2
The problem is that you would end calls with the lock button as well.
I see. There isn't some way they could code around this? That's weird that it's like that.
This note is from the WIKI.
Note: It's until now impossible to split 'End Call' and 'Power' function in the code, so this last function can't be linked to Power button without it being 'End Call' too. Thus for the ease of ending a call, this function is placed on the normal EndCall-button and Power button is 'Home'.
honestly I would find it easier to end calls with the power button anyway. So this seems like a perfectly good compromise to me.
I agree. I'd rather have the power button turn the backlight off than the end button. That's the most important. They should make an option or something where people can choose their preference.
i was coming to look for this. i dont mind having to end calls with the power button right now. ill be using standby and home more so id rather those be more natural.
j.action said:
honestly I would find it easier to end calls with the power button anyway. So this seems like a perfectly good compromise to me.
Click to expand...
Click to collapse
WHAAA???
You guys like ending a phone call using the power button??? Since when has that EVER been natural? (Other than on an Android device, where the power and the end call are the same button...) Ive had 5-6 HTC devices, don't think I ever recall thinking, "we should be using the power button to end a call.". On some HTC devices the power button isn't even very easy to access. Changing end call to the power button would be a disaster.
LOL
Reefermattness said:
WHAAA???
You guys like ending a phone call using the power button??? Since when has that EVER been natural? (Other than on an Android device, where the power and the end call are the same button...) Ive had 5-6 HTC devices, don't think I ever recall thinking, "we should be using the power button to end a call.". On some HTC devices the power button isn't even very easy to access. Changing end call to the power button would be a disaster.
LOL
Click to expand...
Click to collapse
for you. obviously we want it though. i would like the end call button to be on the end call button but i want sleep on the top and home key down below more.
having it end call when youre on a call and a home key button the rest of the time would be more ideal. i kinda wish this was the hd2 because the buttons on that would be make sense in android.
Reefermattness said:
WHAAA???
Click to expand...
Click to collapse
Can't stop the revolution!
Back in WinMo whenever I end a call I hit the big red button on the screen, then hit the power button to put it to sleep so I can put it in my pocket. Needless to say, being able to just double-tap the power button to accomplish the same thing would be great. The front buttons on the TP2 are so dainty it's annoying to press them honestly.
It's such a trivial thing, but I guess everyone's got their own reasons for wanting it. It would be nice to know how to swap the button assignments for myself even if it's not baked into the Rhodium builds directly.
I hit the 'power button' to turn off the screen more often than I hit the end button to 'end calls'. I rarely call. I'm a texter. Power button doing what it should > end button doing what it should.
andershizzle said:
I hit the 'power button' to turn off the screen more often than I hit the end button to 'end calls'. I rarely call. I'm a texter. Power button doing what it should > end button doing what it should.
Click to expand...
Click to collapse
thats my thoughts exactly. i think even people who make calls turn the phone on and off using the power button more than the end key. i understand how one would like it the way it is, which is why a solution to change it for us would be nice.
I agree
j.action said:
Can't stop the revolution!
Back in WinMo whenever I end a call I hit the big red button on the screen, then hit the power button to put it to sleep so I can put it in my pocket. Needless to say, being able to just double-tap the power button to accomplish the same thing would be great. The front buttons on the TP2 are so dainty it's annoying to press them honestly.
It's such a trivial thing, but I guess everyone's got their own reasons for wanting it. It would be nice to know how to swap the button assignments for myself even if it's not baked into the Rhodium builds directly.
Click to expand...
Click to collapse
I agree with you, whenever I try to press the EndCall button, I always fear of dropping the phone from my hand, Or if you hold the phone in your palm; you have twist your thumb all the way down, seems awkward.
I have a question ... wouldn't it be possible to reassign certain actions and not the default button functions to the hardware keys ?
On windows mobile, this seems to be possible with the rhodium keyboard controller ... it uses a modified driver to achieve that iirc ...
If someone could do that for android, we could assign "turn display off" to the power button, "home + end call" to the end key and so on ... or am I wrong ?
Sorry to double post/bump my question ...
But wouldn't it really be possible to just create a driver that is able to assign certain actions to the buttons instead of static button actions?
Or is this impossible under Android?
I would like to know about this me too...
i use the on screen button to end my calls and using the end key to turn backlight off its unnatural for me...
also it will be cool to have the screens template on end key button...
I actually agree with the idea of the power button ending a call - I hold my phone with my index finger on the top ( a habit I developed after having someone yank a phone away from me), so the power button would be very natural for hanging up as I remove the phone from my ear.
An option, or even info on the files to edit, would be awesome. Could it be as simple as a simple .conf file in the filesystem?
Reefermattness said:
WHAAA???
You guys like ending a phone call using the power button??? Since when has that EVER been natural? (Other than on an Android device, where the power and the end call are the same button...) Ive had 5-6 HTC devices, don't think I ever recall thinking, "we should be using the power button to end a call.". On some HTC devices the power button isn't even very easy to access. Changing end call to the power button would be a disaster.
LOL
Click to expand...
Click to collapse
um... it has been (semi) standard on 'dumb phones' for years that the end call button is also the power button.
that being said, i think the best idea is to have some kind of option so people can choose what they prefer. i think you can get used to either way, but it can be really frustrating if you go back and forth between winmo and android to have them be different.
millmanorama said:
um... it has been (semi) standard on 'dumb phones' for years that the end call button is also the power button.
that being said, i think the best idea is to have some kind of option so people can choose what they prefer. i think you can get used to either way, but it can be really frustrating if you go back and forth between winmo and android to have them be different.
Click to expand...
Click to collapse
Yes, on "dumb" phones, and android handsets the power button and the end call button are linked to the same button. The difference is, THESE BUTTONS ARE NOT ON THE TOP OF THE HANDSET. They are on the face of the phone, NEXT TO THE CALL BUTTON.
Like i have said before, switching the end call button to the power button on the Rhodium would be chaos. For the mass majority of users, making the end call button NOT end the call, is ridiculous, and confusing. If you were to go out, and buy an Android handset, you would not even have a power button other than the end call button.
Yes, the only way everyone will be happy, is if you can choose how you want the buttons mapped.
i was thinking not all android devices link the end call and standby buttons together, the nexus one and desire and legend all have them on the top. then when i looked up pictures, they had gotten rid of the send and end call buttons so of course they moved the stand by to the top. i wonder if you press that during a call, would it hand up.

[Request] buttons lock

if your ever playing any games and you accidently hit home or any other button then you know what im talking about. since the buttons are touch sensitive you may get some accidental clicks. i wish there was a way you could lock the bottom row of buttons, not sure if its possible though. maybe by combining two of the physical buttons (such as volume up and down) we could lock the bottom row until we need to use those keys again and then we could unlock in a similar fashion. is there anyway possible someone could develop this?
+1 for this. I like the idea of it being toggled with volume buttons, or maybe long pressing the power button and adding it to that menu. It would have to be included in a rom though, you cant give that power to just any app. or you'll never be able to close it without rebooting.
every time i watch a video a hit the search button by mistake. i really wish someone would do this. also it would be better if you hold volume up and power buttons.
Ya I actually just had it happen again with gvba. Note: it really sucks if you accidently hit the back button. Lock please!
Sent from my PC36100 using XDA App

Categories

Resources