Set Disable all buttons except Power Button via the registry - Windows Mobile Development and Hacking General

Hi All,
Is it possible to set "Disable all buttons except power button" through the Pocket PC registry?
thanks,
Pratheep

After having read throught some of the posts and googling, sounds like this can not be done via the registry. There is an exe that can be run to disable all the buttons except power button. For more details please see this post:
http://forum.xda-developers.com/viewtopic.php?p=112394
cheers,

Related

Jas-Jar Light Button

Any ideas on how to get the light button working on a jas-jar. Mine has not been working since the start and I've tried everything. The button Im talking about is the first from the right close to the infrared port on the outside of the device. It is supposed to turn on the flashlight but when I press it nothing happens and it doesnt even show up in the buttons applet in WM5.
Actually that button doesn't turn on the flashlight, though some here have tried to come up with a hack so that it would. I don't know if they were ever successful with that.
That button turns on the screen backlight when it has timed out but your device is still turned on. It's not the most useful button, which is why folks were trying to come up with a hack to make it more useful, for instance to turn on the flashlight like you wanted to.
Maybe if someone has had success, they will chime in here.
Change the button
Attached is a cab file allowing you to make use out of the light button to anything else :lol:
When yuo say anything else, does that include controlling the flashlight? Either way, thanks for the file.
Would be nice if one could assign it to turn on the keyboard backlight.
There is no option to adjust the sensitivite of the light sensor for the keyboard, and i think that it kicks in way to late.
Find my self holding the finger over the sensor and hitting a button to make it light up.
Any one aware og a possible Reg Hack to make this option appear in the Assing Button list?
Melty said:
When yuo say anything else, does that include controlling the flashlight? Either way, thanks for the file.
Click to expand...
Click to collapse
I meant anything else with use, flushlight & the keyboard light do not have exe files in the buttons map menu :wink:
taiseer999 said:
& the keyboard light do not have exe files in the buttons map menu :wink:
Click to expand...
Click to collapse
Nope i know that :wink: thats why i'm asking if anybody knows of a hack or the whereabouts of such an exe file..... Any ideas??
why dont u just change the option in the settings\buttons\backlight and take the tick off the box, and it works like a charm. everytime u press a key it lights up, sorted, and it doesnt affect the battery at all really
@Elmo
Well i didn't use that choise because i don't have any car charger yet. (Waiting for the Brodit kit)
I want to preserve as much battery as possible.........as you already know, this baby can eat your battery pretty fast............
Re: Change the button
taiseer999 said:
Attached is a cab file allowing you to make use out of the light button to anything else :lol:
Click to expand...
Click to collapse
Is this the same as changing it manually on the registry?
Yes, it's my CAB file I posted a little while back that adds a registry entry so that you see it listed as "Button 5" in the Buttons setting applet.
elmo said:
why dont u just change the option in the settings\buttons\backlight and take the tick off the box, and it works like a charm. everytime u press a key it lights up, sorted, and it doesnt affect the battery at all really
Click to expand...
Click to collapse
God, didn't know it was that easy... cheers!
Anyone any idea how badly this affects battery life?
Re: Change the button
taiseer999 said:
Attached is a cab file allowing you to make use out of the light button to anything else :lol:
Click to expand...
Click to collapse
Isn'it available for the Wizard too ? ...
I wrote a very simple script that turn on the camera and press the flash button.
I use the flash key and ms voice command to start it
you need to have MortScript installed. (include with this package)
A very simple question from a new owner -- where are the buttons defined that are assigned in Settings - Buttons? I don't see them labeled as "Button 1", etc in the User Manual.
davidinnz said:
A very simple question from a new owner -- where are the buttons defined that are assigned in Settings - Buttons? I don't see them labeled as "Button 1", etc in the User Manual.
Click to expand...
Click to collapse
On your HTC Universal, go to:
Start>Settings>Buttons
From there you can change the assignments of the buttons.
Ok. I have found the 2 keyboard keys that are buttons 1 and 2, and the 2 external buttons that are buttons 3 and 4.
I must say that button 1 is not very useful for voice command, when the device is closed. I guess I could assign it to button 4 or button 5 with the registry hack.
On the supplied "headset", there is a microphone with a button on it.
- What does that button do?
- Is it possible to use it for Voice Command?
(I guess for that to happen, it first needs to be recognised as an assignable button in WM5).
The backlight button cab file is working. Now I can reassign that useless button becomes the OK button. Very useful when use it in the tablet mode. But I need two more buttons to use for the softkey. I have use the record button for the left softkey and have no more button for the right softkey. Any suggestion?
One more thing, the script for enabling the flash light does not work. It turns on the camera, but the flash light remains off.

A button remapping question

A question for someone more technical than I:-
I've just installed the very useful Hitchhiker. What I want to do is remap the Comm Manager button above the volume slider so that, when I press it, instead of launching Comm Manager, it switches on Wi-Fi and launches Hitchhiker.
Does anybody have a tweak for this? Preferably a cab as reg fiddling is beyond me.
Thanks.
It will be easy to set button 5 to hitchhiker, just go to settings\buttons and it allows you to change button assignments there. To have wifi come on at the same time one possible way is to have button 4 do it - click wifi on, click (hold) hitchhiker on.
Use vjvolubilis to get one click wifi on see here http://forum.xda-developers.com/viewtopic.php?t=46947
hope that helps
Hmm... I might try "click button 4 for wi-fi, then hold button 5 for hitchhiker" for a bit and see how it goes.
Thanks.
Remap Hold Button 5?
Are you able to change the hold funciton on Button #5, the Comm Manager button? I saw that you were talking about doing that, but I haven't been able to figure out how to do this.
I tried adding another folder in the Registry that related to the Hold function to 5 but I'm not sure if I set it up correctly b/c it's not working--it still only has the switch between virbate and normal modes of sound.
Thanks for your help.

Easily Adjust Volume?

Is there a way to easily adjust the volume using the wheel? Or do we have to get the stylus out :?
Cheers
Just tried SPB pocket plus but it doesnt have a volume indicator, just a control which doesnt show what the volume is set to!
any clues?
What is it that you want to do?
If you move the jogwheel during a call, you can change the voulme of the speaker...
OK, But do you know how to adjust the volume when not in a call without tapping the screen? is there a way to do this please?
probably clumsier than tapping the screen, but if you have both Spb Pocket Plus and MS VoiceCommand, you can issue commands for Volume Up, Volume Down, Volume Loop, and Mute.
You can also tapp on the Comm Manager button and toggle the between (preset volume), (vibrate), and (silent).
Is there a good screen tap recorder which works with the tytn?
I tried Vitobuttonmapper which does this but it messed up all my other button assignments! I just want to be able to assign the voicedialler press and hold function to bring up the volume bubble!
Anyone found a prog which will turn a screen tap into an .exe which will be assignable to a button?
Vijay?
Anyone??????
with aebutton plus 2.4.3 beta (its now in 2.4.4 beta), if you remap the "ok" buttons after adding it, you can select it in such a way (under "\options\restore volume slider\" select "if today is active").
Now in the today screen, when you press the ok button, the volume slider will be activated. You can then use he left right up/down keys to select the volume of choice.
However, upon capturing the ok button, i have to map the ok button to close active apps when pressed twice. Pressing it once, regardless of the program in the foreground yields nothing.
To minimize, i have the use the red phone button.
I use the following mortscript:
Code:
MouseClick 160,0
Sleep 100
MouseClick 160,200
In portrait QVGA.
There's a neater way with VJKeyPress as well, but I can't remember the settings right now
If necessary it'll be easy to turn this into a seperate app.
V
vijay555 said:
If necessary it'll be easy to turn this into a seperate app.
V
Click to expand...
Click to collapse
That would be v. nice! would it be possible to make it landscape aware too?
(i'm to much of a thicky for mortscript..... )

OK and WIN button do not work

My OK and WIN button launch nothing anymore.
I have a TyTN and the OK and WIN button on the front side and on the external keyboard are like inactive.
How can I restore their default behavior ? where is it located in the registry ?
chris247 said:
My OK and WIN button launch nothing anymore.
I have a TyTN and the OK and WIN button on the front side and on the external keyboard are like inactive.
How can I restore their default behavior ? where is it located in the registry ?
Click to expand...
Click to collapse
HAve you installed AEButtonPlus by any chance?
Yes, I install AEbutton. Is that the reason ?
I am going to uninstall it to try if I will have my OK and WIN button back.
I installed AEbutton for the copy/paste possibility that you can assign to a button (very useful), I will miss that, but I miss my 2 buttons even more.
I uninstalled AEButton, and made soft reset.
The OK and WIN buttons are still not working :-(
I have just installed ButtonMapper instead of AEButton, I now have the OK button working again !!
But the WIN button is still not working.
Anyone knows how I could get my WIN button working again ?
My OK button is fine, but my WIN button works intermittently. Sometimes it takes three or four presses to register and bring down the Start menu. In contrast, the WIN/OK combined button under the scroll wheel always works without fail. Annoying!
chris247 said:
I have just installed ButtonMapper instead of AEButton, I now have the OK button working again !!
But the WIN button is still not working.
Anyone knows how I could get my WIN button working again ?
Click to expand...
Click to collapse
TBH, I'd uninstall button mapper, then run something like SKTools to clear all errant shortcuts and and notification queue entries. Then see where you go from there. Failing that, I'd recommend a hard reset.
bydandie, good idea I will have a look at sktools.
Do you know how does button handling work under the hood ?
what process is launched when I press a button ?
Good question....
I'm thinking a way to change my hard button links without installing a 3rd party software.
Is it possible modifying Registry?
Any other idea?
chris247 said:
bydandie, good idea I will have a look at sktools.
Do you know how does button handling work under the hood ?
what process is launched when I press a button ?
Click to expand...
Click to collapse
No, but I do know that in the past when I tried AEButtonplus, I got the same issues as you, but with an uninstall it cured it. It may be worth reinstalling AEButtonplus and then ensure within the app the the Win and OK buttons have nothing assigned to them.
I'm not sure what it calls, ,the codes look different from what is used by things such as the Soft-Key mapper
JmJ17 said:
Good question....
I'm thinking a way to change my hard button links without installing a 3rd party software.
Is it possible modifying Registry?
Any other idea?
Click to expand...
Click to collapse
Normally the hard buttons can be found under HKLM/Software/Microsoft/Shell/Keys
There you will find a series of subkeys beginning with 40C
Each subkey correspond to a hard button. For instance on my ppc 40C1 is the calendar hard button. So try to find the subkeys related to Ok and Win buttons and change the default value by the path of the app you want to launch. By default, the hard buttons applications links can be found under
/Windows/AppButtons
Cheers,
.Fred
ps.: I don't have an OK and WIN buttons on my ppc, so maybe its different for these two...
Thanks for the information dotFred, I have had a look on the registry and in the windows folder.
You are right the linking between the application and the hard button is made here, but only for the configurable buttons that you can configure in WM5 settings/button. Unfortunately the TyTN's OK and WIN button on the front and on the side of the PocketPC are not included :-(
I'd also like a way to configure the function of the start button, and the side OK/start button. I have installed Smallmenu and would like those buttons to open it instead of opening the standard start menu.
Any ideas?
I noticed on my 8525 that when i put some programs onto my memory card it deactivated these two buttons as well. You might try uninstalling some recent programs. (the program that caused problems with me was an expired trial version of WA2 that i moved onto my card.)

Mapping Power button

Hi peeps !
Searched all over the forum, but couldn't find the answer.
Is there a way to assign a function to the Power On/Off button other than to turn the Athena on / off ?
I typically, for instance, would like to bind the "DisplaySwitch" psShutXP shortcut to the Power Button so that when i press it, it doesn't turn the Athena off but only the screen.
Additionnaly, if one knows how to assign a sequence of actions to the Power Button (like "locking the device + switching screen on / off"), that'd be great.
Thanks guys !
Turning off only the screen is the default action for the power button...
There is an app that many on here use (I can't think of the name) which lets you reassign most of the buttons on the Athena, including the OK and Windows button, to many different functions. You can also hack the registry to reassign the camera/comm/browser buttons if the standard reassignments that Windows Mobile gives you aren't enough - but really odd things like locking + screen off may require you to also write your own small app first.
Hi there, thank you for your answer.
Actually, the Power button must do something more than just flicking the screen off, like scaling the CPU down, spinning out the microdrive, flushing a bunch of buffers, etc.
I'm asking because of a problem I posted about in the forum (here: http://forum.xda-developers.com/showthread.php?t=353456), about my Athena being strangely slow, and its CPU being 80% used by nothing that I can see or find, when I wake it up using the Power button.
I'm trying to see if I can circumvent the problem if I can't manage to find its source and solve it, in fact.
I used AEButtons Plus, which works pretty well with ALL buttons but the Power one, and I couldn't find a reference to it in the registry either.
Thanks for your time !
Yup, that's the app I was thinking of. I don't use it so I couldn't think of the name. Sorry to hear of your slowdown problems, I've been monitoring that thread. I agree that it sounds like a hardware problem at this point.
You need DevieLock.cab. It can be set to switch off the screen and lock the device. It can by mapped to any button but Power on/off though.
Thanks man, gonna look it up right away !

Categories

Resources