Register Forums Today's Posts Reviews Gallery Video Vault Downloads Resources Shopping
Go Back   Mobility Site > PocketPC Software Forums > Windows Mobile OS > Windows Mobile 2003

Windows Mobile 2003 Questions and Answers regarding Windows Mobile 2003.

Reply
 
LinkBack Thread Tools
Old 04-27-05, 05:47 AM   #1 (permalink)
Aximsite All Star

 
Theophilus's Avatar
 
Join Date: Dec 2004
Posts: 840
Location: London
PDA: X50v
iTrader Rating: (0)
REGISTRY HACK: Map ANY app to hardware buttons

Hello,

I wandered a bit into the registry settings, and found this one, which can be very interesting. It allows to map the hardware buttons to any application or other shortcut on youtr PPC, without the need for any 3rd-party app.

You need a registry editor to do that (I use Resco File Explorer and its built-in registry editor). Don't forget to BACKUP FIRST as any bad manipulation on your registry keys can lead to a hard reset.

The button settings keys are located here:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Keys\


And the keys are:
  • 40C1: Calendar
  • 40C2: Contacts
  • 40C3: Messaging
  • 40C4: Home
  • 40C5: Record
  • 40C6: WiFi

Each key has the following values that you can modify :
  • (Default): The path to the shortcut. See below.
  • Flags: For operations without shortcut, when the (Default) is empty. For example, a Flags=0xC means Rotate Screen
  • ResetCmd: The default command (when entering Button settings applet). To be persistent, your change must also be made here.
How To
Personaly, I use the \Windows\AppButtons\ folder to store my shortcuts to be mapped with hardware buttons, it's very convenient. So:
  • First, create a shortcut to the application you want to map in \WIndows\AppButtons\
  • Then update the registry key of the button you want to map (see above). In (Default) and ResetCmd, put the path to your shortcut between quotes: "\Windows\AppButtons\My Shortcut.lnk"
Et voila !!
.
"There never was a good war or a bad peace." -- Benjamin Franklin
"Life is pleasant. Death is peaceful. It's the transition that's troublesome." -- Isaac Asimov
"Newbie or not newbie, there is a question." -- Shakespeare, Hamlet 3/1 (Kind of)
Theophilus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
sponsor links


Old 04-27-05, 06:14 AM   #2 (permalink)
Aximsite All Star
 
CRXGSR's Avatar
 
Join Date: Mar 2005
Posts: 915
Location: Toronto, Canada!
PDA: Axim X50v
iTrader Rating: (1)
Nice tutorial! But I usually just create a shortcut to the particular application into the \\windows\start menu\programs folder, and just use the included button mapping program.

What's the advantages/disadvantages to your method?
CRXGSR is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-27-05, 07:20 AM   #3 (permalink)
Aximsite All Star

 
Theophilus's Avatar
 
Join Date: Dec 2004
Posts: 840
Location: London
PDA: X50v
iTrader Rating: (0)
Quote:
Originally Posted by CRXGSR
Nice tutorial! But I usually just create a shortcut to the particular application into the \\windows\start menu\programs folder, and just use the included button mapping program.

What's the advantages/disadvantages to your method?
The problem is that you can map only the shortcuts directly in your Program folder. I use WisBar Advance, and I have a lot of sub-folders in my Start menu for all my apps. SO they don't appear on the Button mapping settings applet.
.
"There never was a good war or a bad peace." -- Benjamin Franklin
"Life is pleasant. Death is peaceful. It's the transition that's troublesome." -- Isaac Asimov
"Newbie or not newbie, there is a question." -- Shakespeare, Hamlet 3/1 (Kind of)
Theophilus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-27-05, 12:41 PM   #4 (permalink)
Aximsite Minor League
 
Join Date: Nov 2004
Posts: 273
iTrader Rating: (0)
I have EVERYTHING in \windows\start menu\programs filed into subdirectories and I can use button assignments for them.
ironchef is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-27-05, 02:50 PM   #5 (permalink)
Aximsite Minor League
 
Driftless's Avatar
 
Join Date: Mar 2005
Posts: 1,073
Location: US
PDA: x51v
Phone: Motorola i670
Carrier: Nextel
Laptop: iBook G4 1.4GHz
PMP: iPod 5Gv1
iTrader Rating: (0)
View MyPDA
I was going to say...my games and PI show up and they're in folders...

either way...NICE tutorial!
---------------------------------------------
Driftless....
Driftless is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-27-05, 04:17 PM   #6 (permalink)
Aximsite All Star

 
Theophilus's Avatar
 
Join Date: Dec 2004
Posts: 840
Location: London
PDA: X50v
iTrader Rating: (0)
They don't show up on mine
I just upgraded to A03 though... Anyway
.
"There never was a good war or a bad peace." -- Benjamin Franklin
"Life is pleasant. Death is peaceful. It's the transition that's troublesome." -- Isaac Asimov
"Newbie or not newbie, there is a question." -- Shakespeare, Hamlet 3/1 (Kind of)
Theophilus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

sponsor links



Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:37 AM.