Remapping hardware buttons

Search This thread

moneytoo

Recognized Developer
Feb 20, 2007
1,423
1,301
brouken.com
There are several applications which allows you to remap buttons (AE Button Plus, HButton...). If you dont need more than 6-8 shortcuts you should be fine with this. (I prefer this remapping solution because it doesnt require to keep some program running in RAM)
These shortcuts are basically generic but here's what I've found and tested on Wings.

Code:
Shortcut             Current App.     Remapping

Long_POC.lnk         -                OK
Long_End.lnk         Lock             Not tested
Long_Home.lnk        -                OK
Long_Send.lnk        -                OK
Short_POC.lnk        CommManager      OK
Long_Power.lnk       Turn Off         OK
Long_Pound.lnk	     Line Switch      ???
Long_VolUp.lnk       Voice Dial.      OK
Long_Camera.lnk      Camera           OK
Short_Power.lnk      Quick App.       OK
Short_Camera.lnk     Camera           OK
Long_VolDown.lnk     Voice Notes      OK
Long_NonCamera.lnk   ???              ???
Short_NonCamera.lnk  ???              ???

(NonCamera = POC on some devices. I dont know why is it on Wings but probably because of generic WM keypad map.)

Code:
Key Name   Hardware Button

POC        CommManager
End        End Call
Home       Home
Send       Send Call
Power      Turn On/Off
VolUp      Volume Up/+
Camera     Camera
VolDown    Volume Down/-

How to use...
1. Create a shortcut of a program
2. Rename the shortcut to the shortcut name of a key you want to asign to (TaskManager.lnk to Long_Home.lnk for example)
3. Copy it to \Windows\ directory
 
Last edited:

bigflavor

Senior Member
Jan 15, 2007
262
0
nyc
Wow! Awesome! Thanks for shedding light on this!

Tested short_power.lnk successfully.


[ADDITION]

IE button: is PIE.lnk + Short_IE.lnk.
 
Last edited:

moneytoo

Recognized Developer
Feb 20, 2007
1,423
1,301
brouken.com
About
If you need turn on WiFi, you have to press at least 4 keys by default to start WiFi (using Comm Manager).
After installation of WirelessToggle, just press and hold Comm Manager button to toggle Wifi (on/off). (Alternatively you can use attached exe and assign WirelessToggle to any button / shortcut you want to).
And as always: There are few more programs that can be used for faster turning on/off WiFi but this keeps the RAM free as much as possible.

Installation:
WirelessToggle.cab - just install
Run WirelessToggle.exe (from \Program Files\smartmadsoft\WirelessToggle) manually (just once) before using the shortcut (otherwise you wont be able to confirm dialog window asking you about running unsigned code)

Download:
WirelessToggle.zip (4 kB)

Support:
Tested only on S730 but it should work on other devices as well (will test it later).
 
Last edited:

kid1988

Senior Member
does anyone know the WM6.1 connection manager (wireless manager in home screen) file name?

wireless toggle doesn't work for me (wm6.1) it removes all wireless settings from the WM comm manager, and swiches wireless off right after I've enabled it.
 
Last edited:

tuem

Senior Member
Aug 4, 2007
110
0
Karlsruhe
i need to look into this, whether it will work on a diamond, cause it's hardware button associations are plain stupid...
 

iTouch24

Senior Member
Jun 30, 2008
2,031
47
NYC
i right clicked on psshutxp.exe and selected create a shortcut.. i renamed file to Long_Power.lnk .. dropped in my windows folder and reset my htc touch pro (cdma) ,,, never asked if i wanted to overwrite anything ...

now when i press down my power button... the same default action happens... it is not running psshutxp....
 

robned

Member
Oct 23, 2008
36
0
Remapping headset button?

I'd like to bounce an idea and see if your solution might work for this specific issue.

Seems like the headphone button = green answer button on newer htc systems. If I press the headhpone button twice - I'd like to jump one track forward. Press it three times, I'd like to jump one track back again. Would this be possible to map somehow? That is, multiple key inputs?

Regards.
 

Ravensysteam

Senior Member
Mar 7, 2010
306
93
For Multibuttonmappingwhatsoever I can recommend HButton as it allows to activate different things depending on how long you press the button. Remapping doesnt really work for me after all, nothing happens..
 

R0b3rt2

Member
Oct 15, 2010
8
0
Hi, I want to remmap Home Button in HTC HD2(Leo). But when I search the link, I can't find anything that mention about home.

Any suggestion? Thx..
 

P-A-L-A-D-I-N

Senior Member
Oct 25, 2007
220
3
Speyer
For the HD2 unfortunately only the long_send button seems to work. I tested the others mentioned on the first page of this thread but they did not work - at least not by using shortcuts or reg keys (but I did not test any special software as HButton).