Left/Right Key mapping - Touch Pro, Fuze General

I need to map keyboard buttons to reflect Left & Right soft keys so that while on keyboard mode, I press a button for SMS send or new.
It is quite annoying to pull the stylus to click "Send"!

here and/or here is discussion. the solution has not been found till this time.
this was posted by dinfinity
I've been trying to remap my Back (keycode: 0x405C --> 16476) and Home (keycode: 0x00ED --> 237) buttons as well and besides the remappings not working in Manila, mapping the Back button to OK/Close with AEB resulted in double OK presses every time I used the button, which is obviously not what I want.
I've been scouring the registry and I haven't done any fiddling with trying out different settings yet, but there's a set of registry key folders (on my Touch Pro):
HKCU\ControlPanel\Keybd\ChangeBackVKeyCode
This one contains a reference to Opera (Opera_MainWndClass, DWORD 8 == Backspace) and one to Youtube (HTCYOUTUBE, DWORD 27 == Escape from the top of my head).
It's obviously possible to create an extensive list of window classes for which the keycode could be remapped, but it would be easier if wildcards of some kind would be supported. Alternatively, the application that looks at this registry entry could be hacked, but I'm not too sure about how easy that would be
HKCU\ControlPanel\Keybd\ChangeHomeByPostMessage
This one contains one key: Manila (DWORD = 102037). This is clearly responsible for sending a message with value 102037 when the window "Manila" is active (which effectively makes it return to the home tab of Manila).
If I achieve any results, I'll edit this post.
_______Edit______
Done some fiddling:
Unsurprisingly, the registry keys are read by keypad.dll. It does not seem to support any other buttons and this version is specific to the Raphael, so it seems from this line in the dll:
"c:\wm612_19965\platform\raphael\drivers\keybd\dev ice\raphael_evt\util.cpp"
I'm not sure whether the Diamond keypad.dll contains similar references to the mentioned registry keys (anyone check this?)
Some other interesting registry keys (I haven't fiddled with these yet) I found:
SOFTWARE\HTC\ezsip
SOFTWARE\HTC\My5\CustomizedKey
Anyway, based on the window class, the back key can be successfully remapped. I remapped it, specifically for ActiveSync (damn window is open all the time, might as well serve some good!), to 0x85 (Decimal: 133) which is F22 (http://msdn.microsoft.com/en-us/library/bb431750.aspx). Using FdcSoft TaskMgr it is pretty straightforward to determine window classes.
AEB Plus on the Kaiser gave me 0x4073 as the keycode for the hardware OK button, which should be mappable, but I haven't tried this yet.
Alas, my fiddling time for today is spent, but I'll try some more tomorrow.
___ Edit2 ____
Still did some more. While crossposting in the Raphael Forum, I had a stop-think-and-google-moment and found this:
http://msdn.microsoft.com/en-us/library/aa923831.aspx
Perhaps the NULL and HWND_BROADCAST can be abused in the remapping of the home button...
Click to expand...
Click to collapse

Related

Starting an application with the power button? WM6

Can I map an application to the short-press of the power button?
I'd like the connection manager to show up rather than the profiles list.
Is that possible? If so, how?
Couldn't find no .lnk that seemed to fit so I guess it's a registry thing...?
Saw some similar threads in other device specific forums but didn't find any actual answer, figured the keymapping is device specific thus didn't post in the new general forum, hope my thinking was right.
You can map an application to the short-press of the power button with CeleTask. Open CeleTask, go to Tools-Action-Add Tool, choose thru "..." application you need, and mark "REPLACE QUICK LIST". Thats all. Good luck;-)
Celetask can do that too
Thanks for the info guys, I'll check that thing out.
http://www.yonsm.net/CeleTask/
Still, since I like to tweak my devices manually, does anyone know how changing the power button functionality works in detail?
Make copy of your registry before you doing manipulation with CeleTask and after. Compare them, and you will see where in registry you can do what you want;-)

Handling context menu

Hi again, sorry but I've got another silly questions that refrain me from sleeping and I haven't found better place to put it.
Namely, could someone explain how the wince system handles context menu and what is needed (components and registry entries) to display it ? I mean the context menu when you double-click desktop / hold stylus or for example on a file.
Thank You very much Your answers and sorry if the post is in wrong place.
each program handle their own contex menu
if they manage it by reg's or hardcoded or an xml file
depend on the programmer
Yeah, U right, that I know, but I am looking for the mechanism in windows core / mobile - these standard context menu like for desktop and files (that's probably explorer context menu). I am trying to figure out having an "opened" gps device with windows core, some are stripped so much that are lacking the context menu - u hold the stylus, dots are appearing and nothing happens. I am looking for a way to restore the abilty to call / display the context menu (the standard one given us by BIll) So far I guess it must be regulated by explorer, am I right ?
I am not quite sure what you are trying to do, but if you are trying to add some stripped functionality to a PNA (navigation only device) via registry you are wasting your time.
If it is not there you ether need to find and install an app that will replace it or you are out of luck.

Floating context menu in WM6 Standard (smartphone)?

Hi - I have searched and searched, but can't find the answer: how do you bring up the context menu (ie. right-click menu on the desktop; tap&hold action on Pocket PC) on a smartphone?
I have a T-Mobile Shadow (HTC Juno), but every button I try to "hold" just activates its "single press" function. I might have assumed that the Smartphone OS does not include support for a context menu, except I read somewhere that it was assigned to one of the hardware buttons on the HTC Tornado, and when using MyMobiler (remote keyboard/mouse app, kind of like VNC for the smartphone) I am able to right-click on screen items to bring up context menus. Obviously these menus exist, especially because WM6 has a (mostly) unified application platform, and many otherwise PPC apps make heavy use of the tap&hold menu function.
Digging around in the registry, I found the following key:
HKLM\Software\Microsoft\Shell\Extensions\ContextMenu\{CCCB31A5-8BA0-11d2-8C2F-00C04F72E246}
As well as a "ContextMenus" (plural) key in the same area that contains sub-keys for ActiveSync, AppView, Calendar, Contacts, Inbox, Notes, Phone, PicturePicker, Pictures...
...so clearly even many of the built-in smartphone apps include support for context menus.
I'd like to assign the context-menu functionality to my Shadow's hardware key, which probably means I need to create a shortcut file (.lnk) that activates this extension. Does anybody know how to do this? The PPC hardware button architecture is different; it uses a DWORD "Flags" value of "0B" for the context menu.
Anybody? Being able to bring up the context menu makes applications like Total Commander much easier to use. Please don't reply and tell me that there's no such thing as a floating context menu on the Smartphone OS, because I've disproven that.
(cross-posted at MoDaCo here: http://www.modaco.com/content/HTC-J...ting-context-menu-in-WM6-Standard-smartphone/)
there aren't context menus on smartphones
That's a funny one. Seriously, install MyMobiler and try right-clicking in on the Smartphone interface with your mouse. You'll get context menus.

Question for WiMo Standard developers -- Intercepting keystrokes

This question is for WiMo Standard developers. I am a Windows .NET developer willing to learn more of this platform if you guys think this is doable and relatively simple.
Do you think it's possible and would you say it's relatively easy to implement a "dormant" application (in the Windows desktop world, this would be a service or any other type of TSR application) that intercepts keystrokes (interrupts?) and sends to the OS another keystroke defined in some sort of mapping configuration?
What I'd like to have (or be able to build) is an application that will intercept a keystroke like Fn+A while typing text and type á (or Á, depending on whether I'm writing in lower or uppercases). If I don't release Fn, but press A again within a second or so, then replace that previous letter by à (or À) and then by â (or Â), etc. Just toggle through all the foreign characters that resemble the letter A (configurable through a GUI or even a configuration file) until the Fn key (or Ctrl, etc., depending on the device) is released. Most QWERTY WiMo phones do this, but not all and the Samsung BlackJack II (i617) is an example. That is really my biggest complain with this phone and I'd love to overcome it.
Keep in mind that, although this may seem like an easy task at first, there are many things to take into consideration. For example:
- The application should only work when the device is accepting text input, not when it's in the home screen, a menu, etc.
- The application should be able to handle more than one mapping per key combination.
- The application should be able to delete the previously written character if Fn was not released and the second key was pressed again and a new mapping was found (á, backspace, à, backspace, â, release Fn, done!).
- The application should be able to determine whether the next letter was supposed to be lower or uppercase and return the correct character.
- The application should become friendly with T9 if enabled (or disable itself if T9 is enabled; I personally wouldn't care, since I always disable T9).
TIA for your feedback!

More precise volume control app?

At the moment i can only use the standard windows mobile 5 step volume control, and this is VERY annoying.
Like in windows media player you can change the volume from 0 to 100 with steps off 1% at the time..
Is there such app that does this for the sytem/ring volume?
Because when i'm now listening to music and it's not loud enough, i can't put it louder, because it's going REALLY loud then.. because i have only 5 steps
Using the WinMedia vol control in other applications
If you are willing to do a reg edit
here is a copy of someone else's post I saved
wish I could give "Pete S" more credit
________________________________
Using a registry editor (I use Total Commander), navigate to
HKLM\Software\HTC\VolumeOverlay\3rdPartyAPClass and you will see a list of apps which use the slimvolume control. You have to add keys (new folders in Total Commander) for all the apps you want to add.
Under these keys you have to create a String value containing the Window Classname of the app. You can get these names using a program like FdcSoft Task Manager v3.1.
I've listed a few of the common ones below to save you the time.
Create a Key: "Nitrogen" Create a String Value called “ClassName” with value "CNtgWndMain"
Create a key: "CorePlayer" Create a string value called "ClassName" with value "wCorePlayer"
Create a key: "Opera" Create a string value called "ClassName" with value
"Opera_MainWndClass"
And so on. Take care to get caps and lower case correct, and don't include ""s. If you get the window class names wrong, don't worry, it just won't work till you get it right.
The settings take effect immediately, no need to restart.
PS: If you're not confident editing the registry, best not to do it. If you do, take great care, don't accidentally delete any keys!
-------------------------------------------------------------------------------- Last edited
by Pete_S; 28th October 2009 at 07:14 AM..
________________________________________
Or if you use TD2 tools (available here on xda)
It will automate the entire regediting process and allow you to add
the 15 position vol control to other APs just by
"opening them and inserting the stylus"
Very simple to do and TD2 Tools has many other useful and powerful features
Hope that helps you or gives you some pointers to get started
in a nut shell
Yes! you can do exactly what you ask and its pretty simple
with either a reg-edit or automated with another free program
(look for Gaz TD2 Tools for WM 6.5 (Release 2c).cab)
KJL
BTW I've reported a bug with the slim sidebar control in the Tess 4.2
ROM so if your using it you might need to wait for a software fix
to use the above
workaround!!
Use advanced configuration tool
goto HTC audio manager
set music player volume to 50%
Now the music isn't too loud and the steps are smaller !!
greatings Nico
I well understand that TD2 tools is only for W6.5, but is your manual procedure to create et reg key OK with W6.1 ? I don't find the 3rdPartyAPClass in HKLM\Software\HTC\VolumeOverlay. How can I do ? Thanks in advance.
Xavier92 said:
I well understand that TD2 tools is only for W6.5,
Click to expand...
Click to collapse
I use TD2 Tools with the standard WM6.1 ROM that HTC issues. I have version 2.0.3552.42948, release 2a.
Xavier92 said:
I well understand that TD2 tools is only for W6.5, but is your manual procedure to create et reg key OK with W6.1 ? I don't find the 3rdPartyAPClass in HKLM\Software\HTC\VolumeOverlay. How can I do ? Thanks in advance.
Click to expand...
Click to collapse
The registry edit works for 6.1
If you can't find "3rdPartyAPClass", I presume you have "InhouseAPClass"? You could try putting the new entries in there instead.
In fact, TD2 tools can change these parameter only from the 2c version. But, I succeed in making manually the key as explained before. But unfortunately, no change in the volume behaviour.
For me (and it seems I not alone), the main issue is the hard button vol+ and vol- which are not able to change the volume level les than 25%.
Thanks.
Still looking for something like this
Instead of using the classical VolUP and VolDOWN buttons, just tap on the Volume bar to select a more precise Volume percentage.
Am I wrong?
Sorry for double posting.

Categories

Resources