Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Tip us?
 
moneytoo
Old
(Last edited by moneytoo; 15th May 2008 at 07:34 PM.)
#1  
moneytoo's Avatar
Senior Member - OP
Thanks Meter 33
Posts: 970
Join Date: Feb 2007
Location: Prague
Default Remapping hardware buttons

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
Connect your Bluetooth wrist watch to Windows Mobile | Windows | Android | BlackBerry | Maemo

Android wrist watch phone Z1: CWM recovery | Custom Clean ROM | Tweaks
 
bigflavor
Old
(Last edited by bigflavor; 30th December 2007 at 05:03 PM.)
#2  
bigflavor's Avatar
Senior Member
Thanks Meter 0
Posts: 262
Join Date: Jan 2007
Location: nyc
Wow! Awesome! Thanks for shedding light on this!

Tested short_power.lnk successfully.


[ADDITION]

IE button: is PIE.lnk + Short_IE.lnk.
 
moneytoo
Old
(Last edited by moneytoo; 15th May 2008 at 07:34 PM.)
#3  
moneytoo's Avatar
Senior Member - OP
Thanks Meter 33
Posts: 970
Join Date: Feb 2007
Location: Prague
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).
Connect your Bluetooth wrist watch to Windows Mobile | Windows | Android | BlackBerry | Maemo

Android wrist watch phone Z1: CWM recovery | Custom Clean ROM | Tweaks
 
Alcaline
Old
#4  
Alcaline's Avatar
Senior Member
Thanks Meter 0
Posts: 119
Join Date: Dec 2007
Great work moneytoo!
This is real usefull, thanks for sharing!
 
kid1988
Old
(Last edited by kid1988; 16th May 2008 at 09:57 AM.)
#5  
Senior Member
Thanks Meter 11
Posts: 111
Join Date: May 2008
Location: Last 24mb NAND
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.
 
tuem
Old
#6  
tuem's Avatar
Senior Member
Thanks Meter 0
Posts: 110
Join Date: Aug 2007
Location: Karlsruhe
i need to look into this, whether it will work on a diamond, cause it's hardware button associations are plain stupid...
 
thx1200
Old
#7  
thx1200's Avatar
Recognized Developer
Thanks Meter 34
Posts: 842
Join Date: Apr 2006
Location: Raleigh, North Carolina
Quote:
Originally Posted by tuem View Post
i need to look into this, whether it will work on a diamond, cause it's hardware button associations are plain stupid...
Does it work on the Diamond? I'm getting a Touch Pro in a month and I really hope it works...
 
larsosca
Old
#8  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Oct 2007
Location: Varberg
Quote:
Originally Posted by tuem View Post
i need to look into this, whether it will work on a diamond, cause it's hardware button associations are plain stupid...
What did you find out?

Does it work on your Diamond?
______________________________
P3300 / Prophet Touch Flashed
Diamond / HTC 6.1
Touch Pro
 
iTouch24
Old
#9  
iTouch24's Avatar
Senior Member
Thanks Meter 33
Posts: 1,934
Join Date: Jun 2008
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
Old
#10  
Member
Thanks Meter 0
Posts: 33
Join Date: Oct 2008
Default 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.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Careers in Android: What Hiring Managers Won’t Tell You – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more

Coloring Your Logcat World

Getting feedback for your app during development is as simple as adding logging info where necessary and looking … more

Guide Your Sheep to Safety with Finger Shepherd

Just a coupe of days ago, we brought you news about a game calledAgent Sheep. In that … more

Nandroid Manager Receives Major Update

Do you find yourself obsessively jumping from ROM to ROM? And do you hate having to restore a full … more