APP Request - Hard key mapping - Windows Mobile Development and Hacking General

Hi all, is there a program that will help me map my hard keys on my omnia. I want to change a few default presses to other stuff.
I have searched and searched but no programs come up, this must be relatively easy??
Cheers

http://tinyurl.com/cnqr67
please, learn how to search..better

i've looked but still can't find a decent program? any help

Did you click his link? It's all there(AEbutton Plus) But I am pretty sure no2chem is woring on a better solution

I don't know anything about the omnia, but on every htc phone I have had there are .exes for power off button and usually others.
The power button has a .exe called 'powerOffWarning.exe' in the windows folder, just rename the .exe of the program you want, such as-
where 'deviceLock.exe' is the program you want to run, and you want to run it from the power button, rename it to 'powerOffWarning.exe', then put it in the windows folder.
There are often other keys such as 'endkey.exe'. Generally if a key has a long hold function, it can be changed, on my diamond on the send key is available to configure in \start\settings\buttons, but i have changed the send, end, and power keys

questions don't belong here.
please refer to the Q&A section
thank you

Related

How do I remap fonix voicedial button

hi just installed the fonix voice dial anyway was wondering if anyone has figured out how to remap it to a diff hardware button, it seems it has been hard coded to the voicerecord button. I currently have this button mapped for HandyLauncher but each time I press the button VoiceDial Launches... even if I have the Button mapped to Handy Launcher Voicedial is the app that is launched. Any help will be appreciated. Thanks
Hi,
The way I've done it before is use a registry editor and then search for "voicedial.exe" (without the quotes)
I believe it'll end up in something like:
Local Machine\Software\OEM\VoiceDial (or VoiceCommand?)
Simply delete the VoiceDial (or VoiceCommand?) section it self and that's literally all you need to do.
As always backup your device before editing the Windows Registry etc etc etc.
Works for me though and I've done it about 25 times (I hard reset a lot!)
Thanks a lot
Have the same problem on my Qtek 9090, Fonix has taken over my record button. However, if I press nad hold the button for 1/2 a second, it works fine. Give it a try - much better than messing about with the registry (unless, unlike me, you really know what you're doing!)
The way I've done it before is use a registry editor and then search for "voicedial.exe" (without the quotes)
I believe it'll end up in something like:
Local Machine\Software\OEM\VoiceDial (or VoiceCommand?)
Simply delete the VoiceDial (or VoiceCommand?) section it self and that's literally all you need to do.
As always backup your device before editing the Windows Registry etc etc etc.
Click to expand...
Click to collapse
Personally I hate it when software forces its preferred options on you when there is no need to. Removing the registry entry for the Fonix voice app turned out to be very easy, and now I have my button back!
I used the free Registry Editor: http://www.phm.lu/Products/PocketPC/RegEdit/
Thanks much Xanth.

Lost Comm Manager Button

Can some help me with this for some strange reason when I press my Comm Manager button on my Wizard the app doesn't open
does anyone know how to remap this button as I use this feature a lot I can't find the way to remap this button anywhere, its not listed in the button menu
I hope someone can help me as I don't want to hard reset my phone
FOZZER said:
Can some help me with this for some strange reason when I press my Comm Manager button on my Wizard the app doesn't open
does anyone know how to remap this button as I use this feature a lot I can't find the way to remap this button anywhere, its not listed in the button menu
I hope someone can help me as I don't want to hard reset my phone
Click to expand...
Click to collapse
Under settings buttons... always worth switching off and restarting then if that does not hard reset.
Terran
same problem here........................probably you installed another key mapper too? (AEBPlus).
It seems a hard reset is the only solution, or somebody could post the registry entry where this key map is defined!?
TIA
Yep put AEBPlus in didnt like so i uninstalled it now no comm manager Ahhh!!!!
After uninstalling AEBPlus, you keep stuck with only "4 buttons", at least in the System Settings. Happily everything keeps working...............expect the CommMgr button.
Either somebody posts the correct reg-entries for this key, or you have to do a hard reset.
I think it might be solved if you place the original files back into: \Windows\AppButtons
Maybe somebody can post a RAR file of that folder?
Second thing, I found the keys in the register. They can be found here:
Mobile device\HEKY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys
You will see that the 4 keys are there left by AEBPlus. The missing keys should be here when you have a working Wizard
Hope someone can post the keys and values aswell?
I had the same problem. The registry values in this post will restore function:
http://forum.xda-developers.com/viewtopic.php?t=33795&highlight=hw+keys+remapping
Christian
TnX!! The best forum there is! 8)
Ok now how the hell do i add the reg value for the com manager I ve got reg edit
Please instructions for idiots
Ok now how the hell do i add the reg value for the com manager I ve got reg edit
Please instructions for idiots
You have to add a string to the register. Then give that string the right name and value
AEBPlus was completely rewritten recently. New version will not harm any application buttons ever, compatible with almost any WM 2003/2003SE/2005 device and has a lot of new features
http://ae.inc.ru/aebplus

remap volume button to scroll-"wheel"

hey!
1st: thanks a lot for working on this device so hard...
2nd; thanks for sharing ALL the information it helped a lot!
here is the question:
is there a registry-tweak or something like a program to change the behavior of the "up-down-button" which controls the volume?!
because its rediculous that these important buttons look like not remapable...
thanks for reading and thinking about it!
greets from germany on a original unbranded HTC P4350
Smartskey
Try this. It's an old application called Smartskey that no one seems to mention anymore. But it allows you to map the volume slider to be a page up/page down scroller. When on the home screen and on a call, it'll still adjust the volume, but on other screens (Internet Explorer, File Explorer, Program list, etc), it will scroll the screen one page at a time.
You can map other things too, but I only use it for the volume slider. The ini file attached is set up to this. If you want to play with the settings, the instructions are included also. Just extract the files and copy to a folder in your program files directory and run the exe file to load it. Once loaded, it will stay running even after a reset. To unload the program, run the file again.
GREAT!
lovin it!
you were a BIG help!

[APP] (24/08/09) DPBv1.1 - Power Button Options With Keyboard Open (Any Key Power On)

LATEST UPDATE - 24/08/2009
Version 1.1 Uploaded - Now included the option to turn on the power with any key when the keyboard is open.
You need MortScript installed you can find the CAB in \Program Files\DPB\MortScript.
--------------------------------------------------------------------------
Update - 18/08/09
All four options have now been wrapped up into one CAB.
Install the CAB and Run DPB in Programs and you can select which option you wish to enable.
Also, you can Reset the Device to it's default state.
You will need Mortscript installed on your device - the next version will include it.
***Delete DisablePowerBtn.mscr from \Windows\StartUp if you have previously manually copied the file from the zip OR Uninstall the CAB made by MONX before you install this version.
You can also delete the directory: \My Documents\Mortscript
The CAB is at the end of this post.
Cheers,
Andy
--------------------------------------------------------------------------
Previous Release Notes....
Quick update :
http://forum.xda-developers.com/showpost.php?p=4337281&postcount=13
Now the device should never turn off when the keyboard is open.
**Now also disables the Long Key Press of the Power Button
I know the issue of hitting the power button when the hardware keyboard is open is an issue for some people and has certainly been annoying me.
I am no programmer or expert but through trial and error I have written a script that senses when the keyboard is open that creates 2 links in \windows called 'Short_Power.lnk' & 'Long_Power.lnk'- These links runs another script that does nothing but now the power button does not respond when pressed. When the keyboard is closed the script deletes the shortcuts from windows and the power button returns to normal.
In the zip there are four files.
DisablePowerBtn.mscr - unzip and move to \Windows\Startup
Short_Power.lnk - unzip and place in \My Documents\Mortscript (You may have to create this directory)
Long_Power.lnk - unzip and place in \My Documents\Mortscript (You may have to create this directory)
Sleep.mscr - unzip and place in \My Documents\Mortscript
As I said I am no programmer but maybe there is an expert that could improve this or make a cab to automatically put the files in the right places.
You have to have Mortscript installed for this to work !
Note of caution - because I am no expert and this is running in the background I am not sure what system speed or resource issues this may create.
All I can say I have it on my TP2 and it works like a charm.
Any form of feedback would be appreciated - negative included.
dahoarty said:
I know the issue of hitting the power button when the hardware keyboard is open is an issue for some people and has certainly been annoying me.
I am no programmer or expert but through trial and error I have written a script that senses when the keyboard is open that creates a link in \windows called 'Short_Power.lnk' - This links runs another script that does nothing but now the power button does not respond when pressed. When the keyboard is closed the script deletes the shortcut from windows and the power button returns to normal.
In the zip there are three files.
DisablePowerBtn.mscr - unzip and move to \Windows\Startup
Short_Power.lnk - unzip and place in \My Documents\Mortscript (You may have to create this directory)
Sleep.mscr - unzip and place in \My Documents\Mortscript
As I said I am no programmer but maybe there is an expert that could improve this or make a cab to automatically put the files in the right places.
You have to have Mortscript installed for this to work !
Note of caution - because I am no expert and this is running in the background I am not sure what system speed or resource issues this may create.
All I can say I have it on my TP2 and it works like a charm.
Any form of feedback would be appreciated - negative included.
Click to expand...
Click to collapse
see my answer in the mortscript thread
egoist6 said:
see my answer in the mortscript thread
Click to expand...
Click to collapse
Hi, thanks for the advice as I said I am no expert.
I tried your suggestion.
What it seems to do is disable the power button with the keyboard shut and you then have to open the keyboard to turn the power on.
Maybe I didn't explain properly what I am trying to do. On the TP2 when you are typing on the HW Keyboard you can inadvertantly touch the power button which turns off the screen. The script I have written watches for the keyboard to open then copies the Short_Power.lnk to \Windows. This link points to the Sleep.mscr which just contains one line - 'Sleep(1000)'. When you close the keyboard the link is deleted therefore renabling the power button to normal.
I admit it is complicated but I only want to disable the power button when the keyboard is open.
I am sure there is a better way of doing this but with my level of expertise this is all I can achieve. However, it works.
Thanks
Just installed it, restarted device, and it works! thank you very much, i love it!
Very good !
Packed & tested. Cab inside zip (sorry cant upload cab from my office ) With/out mortscript
(If u dont want to restart, just run/double tap \Windows\Startup\DisablePowerBtn.mscr manually)
Info: (attachment details from top) This cab contains script to disable power button when kb is slide out by dahoarty.
-MortScript + dahoarty disable short power button
-dahoarty disable short power button only (MortScript not included)
-dahoarty disable short and long power button (MortScript not included)
-MortScript + dahoarty disable short and long power button
-dahoarty disable short and long power button and disable device suspend timeout (ref:#13) (MortScript not included)
-MortScript + dahoarty disable short and long power button and disable device suspend timeout (ref:#13)
Cabs are updateable after installation.
monx® said:
Very good !
Packed & tested. Cab inside zip (sorry cant upload cab from my office ) With/out mortscript
(If u dont want to restart, just run/double tap \Windows\Startup\DisablePowerBtn.mscr manually)
Click to expand...
Click to collapse
Thanks Monx for creating the cab it will now be easier for anyone wishing to use the script.
Cheers mate.
Wow, that was really anoying me! Thanks for this. Installed the cab and after a reboot, no more switching off in mid writing.
I wonder if there is a similar thing which can be done for the long press power button, to suppress the 'Power Off' message? Rarely occurs so no biggie but would be nice.
This is genius!
vigilante_xix said:
Wow, that was really anoying me! Thanks for this. Installed the cab and after a reboot, no more switching off in mid writing.
I wonder if there is a similar thing which can be done for the long press power button, to suppress the 'Power Off' message? Rarely occurs so no biggie but would be nice.
Click to expand...
Click to collapse
I have updated the files to also disable the long key press
Thanks!
This certainly works brilliantly but I have another suggestion...
Would it be possible to only have the button disabled while the device is powered on? If the device powers off by itself after the timeout, you have to close the keyboard, power on and then re-open the keyboard to carry on where you left off.
Again, not a major issue so no biggie if it isn't possible but I think that would be the final touch to this great fix!
+1: Great little tool.
vigilante_xix said:
Thanks!
This certainly works brilliantly but I have another suggestion...
Would it be possible to only have the button disabled while the device is powered on? If the device powers off by itself after the timeout, you have to close the keyboard, power on and then re-open the keyboard to carry on where you left off.
Again, not a major issue so no biggie if it isn't possible but I think that would be the final touch to this great fix!
Click to expand...
Click to collapse
This with another twist:
I realize that you have done a new version, which disables the "long press power off" function. How about making "long press power button" turn the device on when the keyboard is open?
monx® said:
Very good !
Packed & tested. Cab inside zip (sorry cant upload cab from my office ) With/out mortscript
(If u dont want to restart, just run/double tap \Windows\Startup\DisablePowerBtn.mscr manually)
Click to expand...
Click to collapse
Cheers Monx thany you very much.
Andy
TorbenKB said:
+1: Great little tool.
This with another twist:
I realize that you have done a new version, which disables the "long press power off" function. How about making "long press power button" turn the device on when the keyboard is open?
Click to expand...
Click to collapse
I am still working on your suggestion. However, I have created a new version which reads your current power settings on battery power. When you open the keyboard the suspend timeput is disabled. When you close the keyboard the suspend timeout returns to the setting you had previously chosen (I hope ).
In other words when the keyboard is open on battery power the device never turns off.
Just unzip the file and copy it to \windows\startup - then reset your device.
dahoarty said:
I am still working on your suggestion.
Click to expand...
Click to collapse
Ok. Thanks.
dahoarty said:
However, I have created a new version which reads your current power settings on battery power. When you open the keyboard the suspend timeput is disabled. When you close the keyboard the suspend timeout returns to the setting you had previously chosen (I hope ).
In other words when the keyboard is open on battery power the device never turns off.
Just unzip the file and copy it to \windows\startup - then reset your device.
Click to expand...
Click to collapse
Sounds interesting. Thanks. Will test that.
is there a way to wrap all four of these into one cab? BTW, once you install a cab file, do you have to keep it?
Chevy-n-Yamaha said:
is there a way to wrap all four of these into one cab? BTW, once you install a cab file, do you have to keep it?
Click to expand...
Click to collapse
See Post 5 - http://forum.xda-developers.com/showpost.php?p=4300628&postcount=5
I quite like my device auto switching off after 1 min to help conserve battery life.
Does this mean it's not possible to have the power button operate only when the device is switched off, while the keyboard is still open?
If not, how about creating a keyboard combination to switch the device back on, since the keyboard is already open. For example, press Ctrl+Shft+O to power on?
vigilante_xix said:
I quite like my device auto switching off after 1 min to help conserve battery life.
Does this mean it's not possible to have the power button operate only when the device is switched off, while the keyboard is still open?
If not, how about creating a keyboard combination to switch the device back on, since the keyboard is already open. For example, press Ctrl+Shft+O to power on?
Click to expand...
Click to collapse
I am working on a solution to this.
However, I have worked on the principal that I only ever have the keyboard open when I am typing something. When I've finished I close the keyboard and the power options return to normal.
New Version Available with All Options if One File - See Post #1
dahoarty said:
New Version Available with All Options if One File - See Post #1
Click to expand...
Click to collapse
I installed that 1 .cab file but it doesn't work... Shows up in the Remove Programs list but Power button still functions when the keyboard is open.
-- EDIT --
Actually it was my bad. Didn't have mort script installed... RTFM!!!
Everything is now working fine. Thanks again for this great release... Hitting the power button was a huge annoyance for me when using the keyboard...
- ReDz

no buttons to choose from

I am having a problem I have not read about before.
When I go into settings/more/personal/buttons, the list where you can select a hardware button is empty, so I can not assign a button to an action.
Anyone know what is causing that, or how to fix?
------------------------------------
stock 1.66 rom, bsb tweaks, cht
you can't is the simple answer, non of the stock roms offer any buttons to be remapped.
have a look for "ae buttons" app.
Thank you for your answer samsamuel
I have looked up ae buttons and it seems a bit overkill for the purpose I need. (and costs money)
perhaps there is a way to assign a long-press of the send key by registry?
I am hoping to bind it to microsoft voice command.
oh well in that case, create a link to the app you want to run, (find the app, press and hold the executable, choose create shortcut) then rename the link to
long_send.lnk
and put it in the windows folder. (only works for the send key)
much obliged, samsamuel
That works as advertised.
Thank you for making peoples days better.

Categories

Resources