How to disable the Phone buttons ? - Windows Mobile Development and Hacking General

To secure a Qtek2020i i must disable the phone buttons.
Only the GPRS mode must stay in use. (no call)
Any solution is welcome.
THX for your help
Dany (tontonpc)

Do you just want to disable the buttons or the incoming and outgoing calling facility?

http://forum.xda-developers.com/viewtopic.php?t=16135&highlight=disable+button

THX for the link.
I have read and find the AE ButtonPlus verry nice but not freeware.
Ther are also an old version free but...
I will just disable the red and green button.
Any suggestion ??? registry documentation ?
THX Again for your help, and for the link ;-)
Dany (tontonpc)

Why disable the buttons ?
Surely you should block calls using Settings->Phone->Services->Call Baring
I assume if you set this up it can be password protected.

tontonpc said:
To secure a Qtek2020i i must disable the phone buttons.
Only the GPRS mode must stay in use. (no call)
Any solution is welcome.
THX for your help
Dany (tontonpc)
Click to expand...
Click to collapse
I know how to remap the phone buttons, but i don't know if this will actually create a "secure" Qtek. This is because even if the phone won't execute by pressing the buttons, it can execute with the stylus. Now the solution isn't exactly simple, but it can be done. The "trick" is that the first application that maps the green and the red button, locks them and afterwards no other application can map them. In order to achieve this you must create an application, which will be started either by services.exe or HKEY_LOCAL_MACHINE\init which wil map the two keys.
To register the two buttons, you must execute the
RegisterHotKey API
The virtual key code for the green (talk) button is 114 (decimal not hex) and for the red (close) is 115 (decimal again). The fsModifiers parameter as stated in the API must be zero (0). You can give any IDs for these two buttons as long as they are unique.
Happy remaping.

I agree with CSExpert. For securing the phone, you're probably better off using TAPI methods to disable the line, standard API stuff to find and close the cprog.exe app, and possibly consider disconnecting the Phone's Modem programmatically.
V

Related

Can you programmatically enable "Button Lock"?

Does anyone know how to programmatically enable the "Button Lock" function on the HTC devices? It's obviously not a registry key, so I assume there's some kind of (HTC) API function used to accomplish it :?:
maybe capturing and handling the event would be the way to go
i would asume that the hardware buttons throw events like most other things in windows
try looking into it
I'm not sure I understand what you're meaning by "capturing and handling the event"? There's no event to capture, unless you're suggesting I should "emulate" a couple of UI keypress-events which changes this setting. But that kind of implemenations usually aren't very stable.
It seems like quite of few device configuration settings isn't stored (or is visible) in either registry or filesystem. Is there some kind of non-visible configuraton hive available on these devices?
try reading this
http://www.pocketpcdn.com/forum/viewtopic.php?t=1966
you can prob find more using this search
http://www.google.dk/search?num=20&...G=Søg&meta=lr=lang_da|lang_en|lang_no|lang_sv
Ok, now I understand why you're talking about events. But the "Button Lock" setting isn't set by a hardware button. Its set from a "control panel applet", which got two alternatives
"When device is off:
( ) Lock all button except Power button
(*) Do not lock button"
Where the latter is the default after a cold reboot. Settings like these are not stored in registry, and I havent found an API for setting them either..
well the thing i was talking about was when you said program
i talked about one could write a program capturing all the buttons and only redirect the power button and leave the other event hanging
but i would asume that in the sdk there would be a flag which indicated if the the buttonlock was active
where i save if it is i'm not sure but it sure keep it on after a softreset so it cant be in active mem
Wille, did you ever work this one out? It's another of the many things I'd like to adjust programmatically.
have you looked in the stk ?
it should contain all the function calls that makes a pda work
changing something in the reg and changing sometime from a program are 2 different things
theora said:
Wille, did you ever work this one out? It's another of the many things I'd like to adjust programmatically.
Click to expand...
Click to collapse
No, unfortunately I didn't. Its not possible from an official standpoint since it seems to be a vendor specific implementation. The setting isn't stored in the registry or inside the standard file system.
You can try if Mort can help, he has made MortSaver, which shuts off the screen and buttons to act as buttonlock and screensaver in one. Perhaps he can help? Right now you can find him in the thread on MortRing, or through his website www.sto-helit.de. Or you can PM him of course.
I just handle the button events in MortSaver. Nothing special there...
wille said:
Does anyone know how to programmatically enable the "Button Lock" function on the HTC devices? It's obviously not a registry key, so I assume there's some kind of (HTC) API function used to accomplish it :?:
Click to expand...
Click to collapse
Try some reversing on \windows\buttonlock.exe and you'll get what u want
I've seen it's possible to set through a KernelIoControl call, but I haven't got enough debugging/re experience to determine the required function parameters.
(are there any in-memory debuggers like SoftIce available for these devices/Windows Mobile?)
As far as I know the best debugger right now is the free embedded visual tools from Microsoft.
There is nothing even close to SICE for CE.
However, IDA Pro, even though a disassembler and not a debugger, is quite powerful and usually does the trick.
Button Lock set/enable
I am also looking for a program/setting to turn on the button lock. I found this in another forum on xda-developers.com through a google search. There is a file to download but when executed on the PPC it gives an error Setup Failed "The file "\temp\SetButtonLock.exe" is not a valid Windows CE Setup file." I am not a programmer but I manage over 60 of these devices right now soon to be hundreds. Any info is appreciated.
http://forum.xda-developers.com/viewtopic.php?p=112394
This device is known by several names:
Audiovox PPC-6600
Audiovox PPC-6601
XdaIII (XDAIIi)
XdaIIs - O2
MdaIII (T-Mobile)
SPV M2000
i-mate PDA2k (MOST POPULAR NAME)
i-mate Pocket PC Phone 2
Qtek 9090
Siemens SX66 (Cingular)
HTC Blue Angel
Unicom CU928 (CDMA based China)
XV6600WOC (Verizon)
wille said:
Does anyone know how to programmatically enable the "Button Lock" function on the HTC devices? It's obviously not a registry key, so I assume there's some kind of (HTC) API function used to accomplish it :?:
Click to expand...
Click to collapse
Hi Wille,
This is probably too late to help, but I came across your post while looking for a solution. I ended up having to reverse engineer it myself...
You can use KernelIoControl(...) to set the button lock:
BOOL success = KernelIoControl(0x01012A00, &in, sizeof(in), NULL, 0, NULL);
struct button_lock_in
{
DWORD set_or_get;
DWORD set_value;
};
If set_or_get is 0x00000000, the set_value must be 0x00000000 to disable key lock and 0x00000001 to enable key lock.
If set_or_get is 0x00000001, set_value should be 0x00000000 (but it may be ignored). You then pass in a pointer to a DWORD in lpOutBuf and set nOutBufSize to sizeof(DWORD) (4 bytes). You'll get a 0x00000001 or 0x00000000 depending on if the buttons are locked or unlocked.
The above calls seem to work, but because it was gained from intercepting kernel calls and not from documentation I can not warrant that the above will work or won't set fire to your XDA.
By the way, lpBytesReturned doesn't seem to be implemented properly. It is unmodified by the KernelIoControl(...) IOCTL.
HELP
HELP
Somehow when I did a hard reset (for the first time) the ButtonLock is gone from Settings->System
Tried to call Audiovox/UTStar support, no help available.
Any idea how to get that app back? thx
Keylocking
Microsoft recommended way of doing this (turning keylock on) is posting
VK_F22 keycode (special key for locking WM5). I did small utility which looks Power Notification Queue and as soon as it sees WM_SUSPENDING message in it, it throws VK_F22 thus locking keyboard,
Utility can be found from
http://mobilitytoday.com/forum/showthread.php?t=13030
Devicelock
There is an aygshell-API function from Microsoft:
HRESULT SHDeviceLockAndPrompt();
But it is available only in very new Windows Mobile versions.
It works fine on a MDA Pro with AKU2.0 (OS 5.1.195 Build 14847.2.0.0) and on the landscape smartphone emulator image (same OS build) but it is not available in the standard emulator image with OS version 5.1.1700 (Build 14343.0.0.0).
How about the PIN-settings?
I would like to alternate between regular screen lock and PIN-lock..

How to stop screen on when new sms arrives?

Hi every one.
So i set "button lock" and also disable mainly all notifications but every time a new sms arrives,the screen goes on.I will like to keep the screen off because if you carry your magician in your pocket and after that sms arrives,you can accidentaly press any button or even touch the screen.
I been checking every thing i could check but i can´t find the answer about this problem.
Thanks in advance.
Third party software Pocket Zen Phone or phoneAlarm.
Ok i´ll check it and see what i can do.
Cheers mate.
User22 said:
I will like to keep the screen off because if you carry your magician in your pocket and after that sms arrives,you can accidentaly press any button or even touch the screen.
Click to expand...
Click to collapse
There are many occasions the Magician turns on its screen. Rather than trying to find and disable all these, I copied TPDisable.exe and TPEnable.exe from the original Extended ROM into my Program Files folder, and then assigned them to a hardware key (using Hotbutton, so that I can use the same key for both).
As the name implies, TPDisable disables the touchscreen (not the display!), and TPEnable re-enables it. So, before I put my Magician into my pocket, I now disable the touchscreen (one press of a button). That still leaves the keys active, true, but I found that normally the touchscreen is much more likely to be the culprit when strange things happen on your Magician while it's in the pocket, and turned itself on.
Cheers
Daniel
@ tadzio
Well,that is a very interesting solution,but i can´t find TPDisable.exe
or TPEnable.exe inside my magician.I need a bit more info from you
Daniel.
Thanks a lot for your replies.
What happens if you hold down power button for 2 seconds to switch off backlight? Does the light still illuminate on receipt of sms?
@ cruisin-thru
I can´t see the point of your question,mainly because the thing i am looking for is to "switch off" my Qtek like a normal mobile phone,i mince buttons locks and screen off when a new sms or incoming call arrives and when you push power button for example,then screen go on and also release the lock of the buttons.
Any one can say that then i can use deltalock.I did it but the battery live is going down very quick.
Screenlock is not working properly also,i will say that Deltalock is 95% a lot better than Screenlock.
And finally,why microsoft is developing this OS without fully screen off selectable option???. Who knows!!!
Cheers
User22 said:
Well,that is a very interesting solution,but i can´t find TPDisable.exe or TPEnable.exe inside my magician.I need a bit more info from you Daniel.
Click to expand...
Click to collapse
Both programs are in the Extended ROM. Most users have made this visible (though not writable) by performing a Hard Reset, and immediately after completing the initial screen adjustment and mini-tutorial and before the device starts installing programs, a Soft Reset.
If you do not want to do a Hard Reset, search this site's FTP server for Magician Extended ROM downloads. There were a few there last time I looked.
Cheers
Daniel
Well,after config hotbutton to TPDisable and TPEnable i can´t enable the screen and hardware buttons.
TPDisable is disablind the screen but also all the hardware buttons ( with and without button lock at settins),even the power button.
I use same hardware button for TPDisable and TPEnable ,is that correct or i am doing silly things?
If I arrive an sms the screen is switching on and after a few seconds switching off again if I don't press any key or tap the screen!
It's a changeable registry key:
HKEY_LOCAL_MACHINE / System / CurrentControlSet / Control / Power /
WakeupPowerOff =12 (the default is 180)
DisableGwesPowerOff=0 (the default is 1)
If you switch on the Jam (power button) need to press some other key too, because it switches off after 12 seconds!!!
by Avers
@avers
Well that is another solution but i insist that there should be an easiest way to keep the screen fully off when a new sms or what ever arrives,including hardware buttons off ofcourse.
Any suggestion more?, perhaps at the end and betwen all of us ,we can find the solution.
Cheers.
I think the best solution is third party software like PHONEALARM,
it's easiest way to get main tweaks of Pocket Windows.
get it there
http://www.pocketmax.net/phoneAlarm.htm
Well my friends,pocketzenphone is not doing what i am looking for.
Next step is to try phonealarm,but probably will work the same way as pocketzenphone,leting the screen to go on every time a new sms arrives.
Sorry for my languaje but F... microsoft and F... devil gates.
As you can read on this post ,phonealarm IS NOT doing it.
http://www.pocketmax.net/phpbb2/viewtopic.php?t=429
phonealarm has option named "Don't activate backlight on alarm"
ALARM there means any event, that needs notification.
now i am understanding, that it is some differ that you need.
also i advice you make some registry tweaks to make a very short backlite time when sms arrives.:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\WakeupPowerOff = 10
this timeout in seconds. is used when our device self power on, when SMS arrives or we push the POWER button and do nothing anymore
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\DisableGwesPowerOff = 0
this key is enables this power control system (necessarily change it, or first key will not work)
after the editing registry you need to reboot PDA.
sorry for poor english, i translate text from russian.
if you want to use online translator i can give you original URL
_http://forum.ladoshki.com/viewtopic.php?t=16012
Thank you for your reply i will try like you and others point out and also will keep looking for that utopic soft.
deltaLock locks the screen and buttons even if you get sms or calls. I use it on my JAM and it works so far.
bnycastro said:
deltaLock locks the screen and buttons even if you get sms or calls. I use it on my JAM and it works so far.
Click to expand...
Click to collapse
If you read one of my post ,you will see that i allready said that Deltalock is working but it is KILLING the battery live very fast and when i say VERY FAST it mince that you will get almost 6hours against the normal live (more than 15hours).
Cheers mate.
I think if you keep your ppc on all the time you will get this battery life. Anyway I think deltaLock is for keeping your PPC on and having screen and button lock, not having it in suspend mode and not allowing the screen to power up. Sorry about that, seem to have misunderstood your post.
Don´t worry mate, at the end we are all together trying to find a solution to this microsoft silly programing, any comment and any new idea is wellcome.
Cheers.

Remapping the volume slider?

Has anyone figured out how to remap the volume slider on the Wizard?
I hardly ever want to change volume, just turn on/off vibrate mode which is a single keypress anyway, but i would really like it to be an up/down control like my old Dell Axim.
I know it functions like this in IE full screen mode, but I really want it for everything (especially MS Reader).
I think a lot of people would like this. It allows a better grip on the phone whilst moving within the app you're using (eg: MS Reader).
Any guru's got an idea about this one?
Joe
Remapping
Absolutely neccessary thing to fix (volume slider)!
And as using double-language hard-keyboard layout I am in desperate need to remap the change-layout sequence.
What about remapping in this OS, is it possible to do something?
Someone did this on the Magician (found it in that group on here at the time), I remember finding it very useful!
If someone could do a Wizard version that would be great!
Solution Found
Here is how you do it (and it was on the Magician forums, thx for the tip :wink: ):
Install the program found at the URL below, or from the attachment as you wish.
When you get the setup screen, choose "Do not handle" for all except the volume slider, which is set to up/down.
Ok it, and there you go, slider is now up/down and works in MS Reader, Today screen, and general folder browsing.
It says on the site not to put it on any device not listed as compatible, which doesn't include the Wizard, but "He who dares, wins..."
I am well chuffed with it. Now I am all ready for my commute on Monday.
http://ae.inc.ru/download/AEBPlus.zip
Joe
Unless this is a new version. DO NOT USE AEB+ WITH A WIZARD
I tried AEbuttons plus awhile ago and It deleted a couple of my buttons. I dont think it is meant for a device with as many buttons as the wizard. I had to go in and manually create the buttons again. I told it to handle all buttons though. Maybe telling it to only handle the volume slider doesn't cause this problem. I won't try it again until they actually say the wizard is compatible.
I just checked all buttons having read your post.
The only casualty is the connection manager button, which now only switches from audio vol. on to vibrate ringers when held down, and I have an icon on the today screen to go there anyway.
I can live with that
BUT BEWARE: No comms manager button = no hard reset = what do you do when you need to hard reset?
guttrhead said:
Unless this is a new version. DO NOT USE AEB+ WITH A WIZARD
I tried AEbuttons plus awhile ago and It deleted a couple of my buttons. I dont think it is meant for a device with as many buttons as the wizard. I had to go in and manually create the buttons again. I told it to handle all buttons though. Maybe telling it to only handle the volume slider doesn't cause this problem. I won't try it again until they actually say the wizard is compatible.
Click to expand...
Click to collapse
How did you restore the buttons?
Never mind:
http://forum.xda-developers.com/viewtopic.php?t=33795
joebongo said:
The only casualty is the connection manager button
.....
BUT BEWARE: No comms manager button = no hard reset = what do you do when you need to hard reset?
Click to expand...
Click to collapse
I just checked if it is possible to restore the connection manager button after installing AE Button Plus, and it seems to work
Just add these registry keys after you have installed the software and you have all your buttons back and an up down slider:
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys\40C6]
"Flags"=dword:00000000
"ResetCmd"="\"\\Windows\\AppButtons\\Comm Manager.lnk\""
"Icon"="\\windows\\CommManager.exe, 0"
"Name"="Button 5"
@="\"\\Windows\\AppButtons\\Comm Manager.lnk\""
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys\40C5]
"Flags"=dword:00000000
"ResetCmd"="\"\\Windows\\AppButtons\\Record.lnk\" -b"
"Icon"="\\windows\\HotVoice.exe, 0"
"Name"="Button 4(Hold)"
@="\"\\Windows\\AppButtons\\Record.lnk\" -b"
You can put this in a .reg file and open it on your Wizard to import into the registry
I don't think Windows minds the button to be remapped for a hard reset, the hard reset will probably still work if the button is remapped by software.
Did you figure out which reg entries are actually changed when the slider is remapped by AEB? If we can figure this out, we could create a file to do this without the need to recreate.
I am also getting slowdowns/crashed on syncing via USB, and am beginning to wonder if this is another AEB effect.
Joe
joebongo said:
Did you figure out which reg entries are actually changed when the slider is remapped by AEB? If we can figure this out, we could create a file to do this without the need to recreate.
I am also getting slowdowns/crashed on syncing via USB, and am beginning to wonder if this is another AEB effect.
Joe
Click to expand...
Click to collapse
I can't find any slider registry entries, but I have no idea where to look
I have noticed that once I close the AEB program my slider doesn't do anything anymore, so it might be possible that it is not just a registry entry

X1ButtonMapper - Extends the keyboard and other buttons

Hey guys,
I developed a small application which adds functionality to the X1 keys and keyboard. The reason why I made this program is, that I can't find a decent button mapping tool out there that does what I want - that is:
Extend the normal keys with long press and assign programs/functions to it
Extend the keyboard with a Control key (Tab key is reassigned to control key)
Assign missing FN+Key combination with additional special character or applications
Assign the ok button with really closing an application, depending on your task manager
To achieve this, I was writing this small app which itself checks for specific key events and starts mort script files in case such an event happens. I chose Mortscript because it easily allows everyone to define about almost everything that is possible and the application doesn't need a fancy UI to configure the key events.
You can find a readme within the archive which describes the program in more detail and you can also find some example script files for MortScript as a starting point.
For installation, you have to copy the X1ButtonMapperScripts folder of the archive to your root (\) directory of the device. You also need to install MortScript which you can find at Mort's homepage (mort.sto-helit.de). MortScript is a small and powerful application which is often used and mature. After that, you have to start X1ButtonMapper.exe and then the specific key presses will cause the calling of the script files. When you did not encounter any problems (software is still in testing phase), you can copy a link to the X1ButtonMapper.exe into your \Windows\Autostart folder for automatic loading at reset.
My current configuration, just for example, is as follows:
Ok short press closes an application, Ok long press (~500 ms) causes an app to minimize
Long press of left softkey opens start menu
Long press of right softkey opens MortButtons
Long press of volume up opens comm manager
Long press of volume down opens SPB task manager (Alt+Tab)
FN+a/s/d/f writes special characters I miss on the keyboard (%_\€)
FN+y/x opens Wifi network selection and resco explorer (FN+C/V are unused)
I would appreciate to get any feedback about this software, if it works, what you like, don't like and desperately miss.
Please be aware that this software is free and you are allowed to redistribute it, but please don't change it and always distribute the whole zip archive and not the extracted files!
Please be also aware that this software is in a testing phase and may hang up your device and may even cause data loss (not happened to me yet but theoratically possible). So please backup your data and be aware that I can't be held responsible in case this happens!
Update: V. 1.2 now allows to keep the original OK button function without change and to use Fn+Tab for sending the original Tab key!
i havent used your program but when i was looking for one such as yours, i came across ae button plus. im not familiar with scripts and programing and so i find ae button plus a good program. its not free but for $8, i think its worth it.
otherwise, keep up the good work. we need people like you to get the most of of our phones.
Would it not make more sense to remap the au key rather then tab key to ctrl? I use my tab key for form entry.
AE Buttons plus cannot do what this program does, that's why I did the hassle to develop it. Also PQz2 doesn't do what I need. For example you can't assign FN+x combinations with AE buttons plus and you can't remap the ok button (at least it didn't work for me).
Regarding the tab key, I tried to make FN+Tab to send the tab key, but that didn't really work. Maybe in some next release it will work, but I still think that the Tab key is dispensible.
Regarding the scripts, it's really easy and you can find ready scripts for almost any task. Also I did include some examples as a starting point. The scripts offer a lot more flexibility than any of the button mapping tools existing, so, take the challenge, it's worth it!
Pyrojester said:
Would it not make more sense to remap the au key rather then tab key to ctrl? I use my tab key for form entry.
Click to expand...
Click to collapse
Did I miss something or does this remap ctrl to tab? That would be a HUGE thing in my opinion... And no, the au button is used here a lot...
Yes, remapping Tab to Ctrl is one of the fixed mappings it does. One of the most powerful things and something I really missed with AEButtons.
With Ctrl on the keyboard you get copy and paste, wordwise navigation with the cursor, Undo/Redo and wordwise delete/backspace. Check the readme in the Zip File for more details.
I also added Fn+DPad for PageUp/Down and Home/End - also something I really missed before.
Dandie said:
Yes, remapping Tab to Ctrl is one of the fixed mappings it does. One of the most powerful things and something I really missed with AEButtons.
With Ctrl on the keyboard you get copy and paste, wordwise navigation with the cursor, Undo/Redo and wordwise delete/backspace. Check the readme in the Zip File for more details.
I also added Fn+DPad for PageUp/Down and Home/End - also something I really missed before.
Click to expand...
Click to collapse
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Will instal later today...!!!!
Dandie said:
[*]Extend the keyboard with a Control key (Tab key is reassigned to control key)
Click to expand...
Click to collapse
and I am officially blind...
Can this program work alongside aebutton plus? That would be great as they both have big advantages. I know this version of the CE core of WM only supports one key hook and I am pretty sure aebp uses a key hook. Are you using a key hook here? Is anyone using both? Great work!
Actually I uninstalled AEButtonsPlus before I was starting the development of this application. There is indeed a limitation about keyboard hooks in WinCE and my program uses them - don't know about AEButtonPlus.
There is a software available which claims to remove this limitation of windows mobile - it is called HookMgr and you can download it for free - check Google. I did not test it nor would I recommend to install several applications using keyboard hooks - they will most likely interfere with each other.
What is it that AEButtonsPlus has that you miss with my application?
Dandie said:
Actually I uninstalled AEButtonsPlus before I was starting the development of this application. There is indeed a limitation about keyboard hooks in WinCE and my program uses them - don't know about AEButtonPlus.
There is a software available which claims to remove this limitation of windows mobile - it is called HookMgr and you can download it for free - check Google. I did not test it nor would I recommend to install several applications using keyboard hooks - they will most likely interfere with each other.
What is it that AEButtonsPlus has that you miss with my application?
Click to expand...
Click to collapse
I did not know about that HookMgr software. Interesting.
I have not yet had the chance to try AEButtonPlus, but I believe it allows programming the short press and also double press of all the keys (was not aware of the ok key limitation). Is there a reason why you only provide long press options? Double press is not really necessary, but I would like to change the short press options. IIRC (I should probably stop making comments before my X1 even arrives but can't help it. so exciting) out of the box, only the short press of the soft keys is configurable. It would still be nice if you grabbed these so that I could configure all my buttons in the same place. Also, it doesn't seem that you provide a way to program the short or long press of the panel key. Would this be possible? Lastly, it might be good to make changing tab to ctrl optional and or offer another key to change. The addition of a ctrl key is great, but tab is also useful. The original renderings of the X1 back in January showed a ctrl key on the keyboard. Dont know who's idea it was to delete it.
I would love to help out. I could write a settings application for you that would store the options in the registry. Rather than running the scripts, it could look in the registry for what to execute. By default the registry values would just be the scripts, but users could change it to run an exe directly. I could also make a cab for it. The settings app would be in .NET. Let me know if this sounds good.
BTW, I think the ok and win keys would make good ctrl keys btw, as they are redundant to the keys on the front; ok button being my choice.
JKingDev said:
Is there a reason why you only provide long press options? Double press is not really necessary, but I would like to change the short press options.
Click to expand...
Click to collapse
I only provide the long press option because detecting double or even triple clicks would delay every button click and therefore reaction time, that's why I didn't realize it. I kept the short press of the keys (except OK) because they all make sense to me. You need the Softkeys, so their short press needs to be kept and the loudness up/down is essential in my opinion.
I also decided not to allow to remap the camera button because its handling is a bit difficult (two press levels) and I think the camera button is necessary when you really consider using the camera.
I also left the hang up and pick up buttons untouched because they already have short and long press actions (devicelock and handsfree) and I did not want to touch functions which are installed pretty deep into the system. I also like the function the way it is.
JKingDev said:
Also, it doesn't seem that you provide a way to program the short or long press of the panel key. Would this be possible?
Click to expand...
Click to collapse
Sure I did - actually I wanted to map it with opening the start menu but it can't be suppressed, not even by a keyboard hook! By the way, this is also the case with the symbol key - can't be remapped!
JKingDev said:
Lastly, it might be good to make changing tab to ctrl optional and or offer another key to change. The addition of a ctrl key is great, but tab is also useful. The original renderings of the X1 back in January showed a ctrl key on the keyboard. Dont know who's idea it was to delete it.
Click to expand...
Click to collapse
Yeah, the ctrl button was one of the main reasons why I wrote this application. Also that the X1 keyboard leaves many Fn+Letter combinations unused which is just stupid. As I said, I wanted FN+Tab to send the tab key but that didn't work for some reason. Also I think that Tab is disturbing when writing because when touching it for accident you get holes in your text :/
JKingDev said:
I would love to help out. I could write a settings application for you that would store the options in the registry. Rather than running the scripts, it could look in the registry for what to execute. By default the registry values would just be the scripts, but users could change it to run an exe directly. I could also make a cab for it. The settings app would be in .NET. Let me know if this sounds good.
Click to expand...
Click to collapse
Actually I don't see any problem with the scripts. They offer a lot more flexibility that a UI can ever give and for newbies the experienced could offer a set of reasonable scripts, so I don't see any issue with this. MortScript is easy to use and way more powerful than any button mapper UI on the market - why do people always want GUIs?
JKingDev said:
BTW, I think the ok and win keys would make good ctrl keys btw, as they are redundant to the keys on the front; ok button being my choice.
Click to expand...
Click to collapse
First of all, you can't separate between the ok key of the keyboard and the ok key on the front on the level of the keyboard hook, so it would be impossible to remap the one without the other. The win key is not redundant and therefore I decided to keep it because I find it very useful.
Dandie said:
First of all, you can't separate between the ok key of the keyboard and the ok key on the front on the level of the keyboard hook, so it would be impossible to remap the one without the other. The win key is not redundant and therefore I decided to keep it because I find it very useful.
Click to expand...
Click to collapse
Ah. That stinks about the ok key.
Dandie said:
I only provide the long press option because detecting double or even triple clicks would delay every button click and therefore reaction time, that's why I didn't realize it. I kept the short press of the keys (except OK) because they all make sense to me. You need the Softkeys, so their short press needs to be kept and the loudness up/down is essential in my opinion.
Click to expand...
Click to collapse
True. I wasn't really interested in double and triple. Just really the short. About the softkeys, normally I would not remap soft keys, but the X1 has a shortage of customizable buttons so I would like to change them.
Dandie said:
I also decided not to allow to remap the camera button because its handling is a bit difficult (two press levels) and I think the camera button is necessary when you really consider using the camera.
Click to expand...
Click to collapse
Interesting. On my tilt, I had short press opens camera album and long press opens the camera. Something similar would be interesting. Not a big thing though.
Dandie said:
Sure I did - actually I wanted to map it with opening the start menu but it can't be suppressed, not even by a keyboard hook! By the way, this is also the case with the symbol key - can't be remapped!
Click to expand...
Click to collapse
That stinks! Why do they insist on forcing panels on us? I do believe there is a registry key that can change what the panel button does though. You should look into that if you dont use the panels or just dont want a dedicated key. I am trying to find that info.
Dandie said:
Actually I don't see any problem with the scripts. They offer a lot more flexibility that a UI can ever give and for newbies the experienced could offer a set of reasonable scripts, so I don't see any issue with this. MortScript is easy to use and way more powerful than any button mapper UI on the market - why do people always want GUIs?
Click to expand...
Click to collapse
Lol. I guess its not necessarily a GUI but just options that would be good. You are right, the scripts are very flexible so no point in changing that. The only options I would really like is a choice about the ctrl key (possibly make the win key an option) and an option of whether or not to capture the short press soft keys.
Thanks for takin the time to explain all of your decisions. This is really great software! Hope I dont seem like I am asking a lot. Just some suggestions. Thanks!
JKingDev said:
About the softkeys, normally I would not remap soft keys, but the X1 has a shortage of customizable buttons so I would like to change them.
Click to expand...
Click to collapse
You can remap the Softkeys already in the button configuration of Win Mobile, but I personally wouldn't do it. Better to remap them for the today screen via registry and using the long press events from my software for additonal functionality. This way it doesn't interfere with the sytem at all.
JKingDev said:
That stinks! Why do they insist on forcing panels on us? I do believe there is a registry key that can change what the panel button does though. You should look into that if you dont use the panels or just dont want a dedicated key. I am trying to find that info.
Click to expand...
Click to collapse
Well, I think that's just the way it is integrated into the system. Maybe by some kind of driver or something. The "sym" key behaves the same way. We have to live with that fact.
JKingDev said:
The only options I would really like is a choice about the ctrl key (possibly make the win key an option) and an option of whether or not to capture the short press soft keys.
Click to expand...
Click to collapse
The softkey can originally already be remapped and for the tab key the best solution would be FN+Tab = Tab. I will have a look into this again.
JKingDev said:
Thanks for takin the time to explain all of your decisions. This is really great software! Hope I dont seem like I am asking a lot. Just some suggestions. Thanks!
Click to expand...
Click to collapse
Yeah, that's fine. I would actually like some feedback from people who tried the software. Anyone?
Here it is for those who want to know:
http://forum.xda-developers.com/showthread.php?t=448067
(Remap panel key)
I finally installed this today and it reminded me the about the good things the Touch Pro has that I previously owned. It truly amazes me that HTC does not put the ctrl key to their HW keyboards, it makes no sense to me.
I started to think that maybe it would be better to use the win key for this, win key kinda is there on top of the screen?
EDIT: and now I bothered to read posts above... fn+tab=tab could also be a good option.. After all tab is not used that often...
Great work on this, one of the best things made to X1 by XDA member so far...
At least someone having the guts to try my software - thank you for the positive feedback!
Regarding the Win-key, I wouldn't remap it because:
1. I'm using it often
2. The win key is often sent in combination with other keys and it will cause some side effects to remap it - that's why I gave up on this idea
When there's more feedback and some problems discovered that are necessary to change, I will have another look into this FN+Tab issue.
By the way, having Tab remapped to Ctrl also has a good benefit - accidental clicks on tab don't happen anymore.
Hmmmm MortScript messed up my OK button.

How to disable "footprint" on right hardware-button?

Hi,
I would like to disable the footprint-application from the right hardware-button, but it dosn't work. In registry under HKLM/Software/Microsoft/shell/keys I've made two new entries (40C1 and 40C2), so I can choose now the two hardware-buttons in preferences. But when I lay another program to the right hardware-button, this programm starts together with footprint...
The left hardware-button is no problem, it works fine with every programm I want
Thanks
oese
(sorry for my bad english, I hope you can understand my problem...)
Looks like it is somehow hardcoded into the TouchFLO interface. I managed to "unmap" the left key (simply by uninstalling TomTom), but I had no success with the Footprints key so far.
I think that some program or registry setting is responsible for these keys mapping.
I've managed with ae button plus to assing a different application to these keys, but the default apps run again with the new apps. And I think that because you uninstalled tomtom, just they didn't find the app and for this is not running with the new assinged app.
I don't think that is touchflo related.
dancer_69 said:
I think that some program or registry setting is responsible for these keys mapping.
Click to expand...
Click to collapse
I am not sure mate, tried to look almost everywhere in the registry with no success. But I'll keep trying, the Navi and Footprints buttons sux. I'd rather have Diamond's/HD's Back and Home keys, if nothing better.
dancer_69 said:
I've managed with ae button plus to assing a different application to these keys, but the default apps run again with the new apps.
Click to expand...
Click to collapse
Got the same result too, when tried to map another app with AEBP.
dancer_69 said:
And I think that because you uninstalled tomtom, just they didn't find the app and for this is not running with the new assinged app. I don't think that is touchflo related.
Click to expand...
Click to collapse
Sure, I know it just doesn't find the app, but at least it got me rid of TomTom (I am an iGO 8 user). I admit it's quite lousy workaround.
I think I found something.
Seems that the function of these buttons loading as a service.
I've managed to unbind the left button by stop the NaviService(NPS0 and I think that
the service App Service(APP1 is responsible for the right button, but I cannot stop this service.Needed further research though.
EDIT:
I've managed to disable it from registry(HKLM\Services\App). I changed Context and Index values to 0 and seems that the button is unbind now!
Needed to set these services to not automatic start also. This can be done with FdcSoft Task Manager 3.1
Ok, after some time playing around with my registry, I found a workaround how you can start a different program with the footprint button:
(BTW I have a German version so I'm not sure how the features are called in English, so if anyone can describe what I write next clearer, please feel free. Thx)
First you have to go to system preferences. In the system tab you'll find an option where you can make some adjustments about A-GPS and Place Settings. In the left tab you can activate and deactive A-GPS and tell your device which provider to use to access it. In the right tab you can tell the device not to notify you if some HTC software wants to start this feature which monitors the place where you are. Check this box.
This will keep the Google notifier to pop up every time you press the footprint button.
The go to the registry:
\HKLM\Software\HTC\FootCam
and simply change the path in there to any program you want to use with the button. e.g. \Program Files\ThumApps\ThumbCal\Thumbcal.exe
Well, works well, but do you have any idea if disabling these services does not cause any other issues?
After a hard reset I did the following
- installed the 40C1 and 40C2 reg key
- set the the NaviService(NPS0) to manual
Both buttons can now be used by Windows without any issue so far. No more changes were needed for me. Hope that helps. (I have a HTC Guide, that is the O2 branded version)
Sebastian
I mentioned that few posts above.
The problem is that when the NaviService doesn't run, NaviPanel doesn't start automatic when in carkit mode, even if this option is checked in carkit settings screen.
kuerbis said:
- set the the NaviService(NPS0) to manual
Click to expand...
Click to collapse
Hi,
where I can find this setting?
oese
dancer_69 said:
I think I found something.
Seems that the function of these buttons loading as a service.
I've managed to unbind the left button by stop the NaviService(NPS0 and I think that
the service App Service(APP1 is responsible for the right button, but I cannot stop this service.Needed further research though.
EDIT:
I've managed to disable it from registry(HKLM\Services\App). I changed Context and Index values to 0 and seems that the button is unbind now!
Needed to set these services to not automatic start also. This can be done with FdcSoft Task Manager 3.1
Click to expand...
Click to collapse
...................................
sorry for my stupid question
it works for my iolite...
THANKSALOT
Left Key
HKey_LOCAL_MACHINE\Services\NaviService
Turn «Flags» from 0 to 1
For me it works
U can read this (its in german), include a reg-file to dissolve this and a navipanel.lnk for start menu
Greetings Mirko
angeja said:
HKey_LOCAL_MACHINE\Services\NaviService
Turn «Flags» from 0 to 1
For me it works
Click to expand...
Click to collapse
that thing disable my both buttons for some reason. and copilot and footprnts!! well it looks that it works for me atm.
You can use AE Button Plus, you can assign 4 different actions to each button.
Dontatos said:
that thing disable my both buttons for some reason. and copilot and footprnts!! well it looks that it works for me atm.
Click to expand...
Click to collapse
Before read THIS
Then use "Start" - "Settings" - "Hardware-Buttons" to change assignment.
Greetings Mirko
Yes It Works,
Followed the steps and it works. I assigned foot prints to put phone in standby ( screen off / on ) The Off works quick, the On has a delay but I will get used to it.
Set the NAVI to Manual Start is the trick

Categories

Resources