Soft Keys in WM5 - Windows Mobile Development and Hacking General

I have noticed that soft keys are always very slow in WM5. Is it possible to have an application which maps two dedicated buttons like vol up / down (with configurable exceptions ofcourse ), so as to just mimic the functionality of softkeys per app. Is this possible ? If yes, can some one point me to proper documentation so I can implement this.

Related

[Qtek 9100] xbar2 buttons mapping

One soft I find very usefull with my qtek 9100 is Xbar (new pocket pc version).
This soft was designed for smartphone (one handed operation).
It happens that qtek 9100 is a smartphone too and one haded operation is good for it also.
Especially considering the fact that most task switcher have not yet been optimised for WM5.
This one is also great for in it is only 57 ko.
Now the problem is you can map buttons but as it was designed for SPV c500 (like HOME, BACK, 1, 2, 3, 4, *, #) I am not able to find what are the buttons for Qtek 9100.
Did someone managed to map some buttons or even the full keyboard?
That would make a fantastic launcher with 40 shortcuts in 2 clicks.
Yes, specially since there`s no CUT/COPY/PASTE shortcuts on the keyboard and that Xbar has them. Can you map some shortcut frrom the keyboard to these?
yes no problem.
you have to create shortcuts to the copy/Paste in "xmacros" folder.
Then you put it in "key" folder and rename it whatever you want.
I used "w.lnk" and "x.lnk" as it is mapped to volume UP/DOWN.
But it also work with w and x keys on the keyboard when it is open.
I guess you can use "c" and "v" if you are more classic.

Emulating a device specific hardware key press (C#, .NET)

Hi, I have a Sony Ericsson X1. This device is enriched with 4 front hardware keys (2 softkeys and a "panel"-button and a "ok"-button). You have to possibility to customize the function of the 2 softkeys, but not the panel-button or the ok-button.
Now, I'm trying to write a application in C# that does programmatically exactly what a keypress does (on the panel-button), but I'm not able to find any information anywhere that can help me with this task, so that's why I'm asking the question here.
Anyone here with some information that might be of help?
Some more information, I ran AE Button Plus, and the "Panel"-button identifies as key code = 00EA and the ok-button identifies as key code = 405C!

assign buttons on the Wing

Last night I was on this site and started the "make your wing really fly" mods and now my green call button doesn't work anymore. Is there a FREE key mapping program out there so I can reassign it? Or, perhaps a registry hack to allow me to simply reassign it with it having to waste more space on my Wing?

[Q] How to use application that need Dpad?

Hello everybody,
Today, I have HTC Wizard with a lot of hardware keys . I like the blackstone but I'm affraid to see that there is no hardware keys (no Dpad). I use applications that work only with Dpad (no touchscreen functions).
Have you solution to have software direction pad when applications run (Like the soft direction keys on the virtual keyboard)?
The standard SIPs provided by HTC all have "virtual" arrow keys. Most apps will work fine with these, provided that they play nice when the SIP keyboard is enabled.
Also, I'm sure D-pad specific SIPs will appear soon, and I'm hoping for a virtual D-pad solution + WVGAFIX3 combo. The 160 rows of leftover pixels when in 480x640 mode would be just great for 4-directional buttons and and action/Enter key.
However, I've had the HD for a couple of weeks, and I can honestly say that I don't miss the D-pad at all. I migrated from a smartphone (HTC Vox), so I was definitely wary. I've found that most apps/games (and the WM 6.1 GUI) work fine with touch (as they well should, on WM Professional). For the really small buttons, a finger nail or stylus is needed, but I find these occasions to be rare.
The worst example I've come acroos is Opera Mini (essential on my Vox), which is practically unusable on the HD without the stylus. Then again, I don't miss Mini when I have Opera Mobile.
Would you care to elaborate a bit on the apps you need to use?
ugumba said:
Also, I'm sure D-pad specific SIPs will appear soon, and I'm hoping for a virtual D-pad solution + WVGAFIX3 combo. The 160 rows of leftover pixels when in 480x640 mode would be just great for 4-directional buttons and and action/Enter key.
Click to expand...
Click to collapse
Yes I agree and I hope too
I hesitate between the touch HD abd the Xperia X1

[APP+DRV] [Keys remapper] Rhodium Keyboard Controller GSM/CDMA v1.4

This is for Rhodium only! Do not try to install this on other devices!
Do not ask me to make a version for other device since my remappers are driver dependent and this can be very and very complicated without real device (if possible at all).
So, what is it ? It's a patched keyboard driver with configurator application for keys setup. Any key (yeah, i mean ANY, including Home and Back keys) can be reassigned to perform desired actions. Keys on a QWERTY keyboard are not an exception, they might be remapped too.
If any key has an action configured and is defined to be processed by my driver extension, it wouldn't go into the system. That is to say no one program even like AEButton will see key events processed by my driver.
Some Raphael owners is familiar with this remapper. And if you are one of them then you can skip all the text below and just download attached archive.
Features:
Different event types supported: single, double and triple clicks, long presses
Two modes of key mapping: three actions per key or direct key mapping
Key repeats in direct key mapping mode
Actions sequence repeats in actions mode
Key combinations using FN modifier
Default key behaviour action - you won't loose key's default behaviour if you just want to add double click or long press to it
Different key behaviour depending on foreground process/window class/window text
Multiple rules for each key to provide different behaviour for each application you want
Multiple actions for each event
Different predefined actions:
Run program
Key press emulation
Send symbol/text to active window
Close active window
Switch to window by class/text
Terminate data connection
Wi-Fi toggle
BT toggle
Screen rotation
Power management (screen power toggle, suspend, reset)
Exceptions lists which are used to deny key remapping depending on foreground process/window class/window text
Configurable long press and double click duration
Configuration import/export in configurator
Changelog is located in post #2 here.
Configurator UI localization support information is located in post #3 here.
Requirements:
- .NET CF 2.0 (for configurator app)
Installing:
- Install SdkCerts.cab
- Install RhodiumKbdControl_XXX.cab
- Soft reset
- Check if keyboard works by pressing hardware buttons and seeing if they do their work, if not - uninstall cab, this wouldn't work on your current ROM (PM me if you still want this to work on your device)
- If it works - go to the control panel and find "Keyboard Config" on a System page
How to define key processing:
- Run configurator (Control Panel -> System -> Keyboard Config)
- Press Menu -> Add key
- When dialog asking you to press key appears press and release desired key
- Set up needed options in key setup dialog and press OK (left softkey)
- In configurator's main window press left softkey "Update settings" to let new configuration take place (reboot is not needed, coz new settings will work immediately after saving)
Backup before installing of modified driver is strongly recommended.
Be careful when downloading the cab, make sure you choose the correct version suitable for your device.
Raphael's version thread here and Topaz's one here.
Changelog:
15-11-2009:
Version 1.4:
+ Shift/Caps modifier support
+ Triple click
+ Multiple actions for each event (in other words, each event has actions sequence now)
+ Repeatable actions on press & hold for long press, double click and triple click
+ Configurator user interface localization support
+ Default key action can now emulate other key
+ Direct key mapping got modifiers
* Fixed problems with default key action, added option "Extended emulation" - it should be used only when emulation of selected key doesn't work
* Fixed FN modifier behaviour on remapped key
* Key emulation now allows to specify key code manually (e.g. if you can't find needed key in list)
* Fixed some items in key code selection combobox, added "VK_ACTION" modifier
28-08-2009:
Version 1.3.2:
* fixed direct key mapping bug when keyboard "hangs up"
26-08-2009:
Version 1.3.1:
* fixed bug in configurator when application hangs after closing of file selection or window selection dialogs while editing key settings
25-08-2009:
Version 1.3:
+ implemented key combinations through FN modifier (its behaviour on remapped key is the same as for not remapped one)
+ added direct key mapping - in this mode remapper generates key down when hardware key is pressed and key up on its release (for those who want to have real CTRL key, for example)
+ key repeats on direct key mapping
+ added action for default key behaviour - when you assign double click and long press actions but want to leave key's default behaviour on click, just select 'default key action' for it
+ added process name to key rule match criteries
+ added window text and process name exception lists
+ added setting for device lock checking - you can select whether to remap keys when device is locked
+ added right win key modifier to 'emulate key press' action
* fixed configuration loading from registry
* redesigned key edit dialog
* redesigned exceptions list dialog
* some other small fixes
* removed key names from all configs, them are taken directly from driver now, so you don't need to define them manually anymore
* key processing splitted into two modes: click/double click/long press or direct key mapping
* exceptions list in registry under Software\KeyboardConfig\WindowExceptions is splitted into three keys under this one: Class, Text, Process - if you are planning to use old .reg files, move all values to WindowExceptions\Class
* project renamed to Raphael Keyboard Controller
23-06-2009:
Version 1.2:
+ configuration export to/import from xml file (Menu -> Config -> Save/Load)
+ window exceptions list (Menu -> Window exceptions list) - driver will not remap particular key in case foreground window class is in this list
+ added Ctrl, Alt, Shift, Win key modifiers to emulate key press action
+ added APP1-APP6 key codes to list in emulate key press action - see above how to use them and how to add new button to list in Buttons applet
+ press & hold - long press action is performed after specified interval, no more need to release a key (the same is for double click too)
+ power management action (screen on/off, suspend device, reset device)
+ screen rotation action
+ BT on/off action
+ Wi-Fi on/off action
+ terminate data connection action
+ added 'vibrate on action' setting - device will vibrate at the moment when action is performed
* improved window selection dialog, now it has a Catch button for those whose stylus sensor is broken
* close window action works as ok/close now
* rewrote send text action - now it has two methods of text send (via paste and via key emulation) and supports control characters; if one method doesn't work for you use another
* fixed issue described in this post - now if some key has double click action and you actually perform single click, then immediately press another key, single click action of first one will be performed before the last pressed key action - thus both events will be performed in the correct sequence
* some dialogs fixes
* probably fixed bug when keyboard stops working in rare cases, at least i did all to avoid this
* optimized performance, works better than 1.1
16-06-2009:
+ version for Raphael CDMA devices
09-06-2009:
Version 1.1:
+ double clicks
+ different key behaviours depending on active window class/text
+ several actions: run program, emulate key press, send text to active window, close active window, switch to window by class/text
* run program action supports arguments now
* redesigned key setup dialog
* new program selection dialog
02-06-2009:
First version.
Configurator UI localization:
Since version 1.4 configurator supports localization.
On start it reads file "kbdconfig.ui.lng" from directory where is located itself.
Localization file is a simple text UNICODE file formatted in a following manner:
Key=Value
Key=First string\r\nSecond string\r\nAnd so forth
If you want to translate UI - download attached sample english file and use it as source.
After translation you will need to put it to \Windows\ folder to use on your device.
Or you can make a cab and send it to me, so i can attach it in this post.
German file provided by S-Line.
-- reserved 3 --
-- reserved 4 --
Works beautifully, thanks!
damn i coudln't find an option to set the Messaging key to "Ok"
that sucks.
xnifex said:
damn i coudln't find an option to set the Messaging key to "Ok"
that sucks.
Click to expand...
Click to collapse
you should search better:
- 'emulate key press' action with key code of F6 and RWin modifier checked
- 'close active window' action
NICE - have a TOPAZ and really needs a tool to remap the keys, so I will dare and test this one for the BACK and WIN key. Could be rather cool if it works on a TOPAZ too..
EDIT:--> Does not work - damn. Locks device...so beware
Martinhdk
several people already asked me for Topaz version of remapper
will analyze its keypad driver and see what i can do
maybe in near future this thing will be released for Topaz
btw, i need keypad.dll from this device, PM me it please
tarkim said:
you should search better:
- 'emulate key press' action with key code of F6 and RWin modifier checked
- 'close active window' action
Click to expand...
Click to collapse
i was thinking the "close active window" may do it. What does the F6 & RWin part do?
xnifex said:
i was thinking the "close active window" may do it. What does the F6 & RWin part do?
Click to expand...
Click to collapse
it's a standard windows mobile vkey combination for ok/close
by default WM closes windows which have OK button and minimizes windows with X
'Close active window' action is my own implementation of this feature - it closes all windows, not just ones with OK button
Keypad.dll - TOPAZ
tarkim said:
Martinhdk
several people already asked me for Topaz version of remapper
will analyze its keypad driver and see what i can do
maybe in near future this thing will be released for Topaz
btw, i need keypad.dll from this device, PM me it please
Click to expand...
Click to collapse
Hi man - here is as you requested for TOPAZ
Works on my Tmobile Touch Pro 2 (Rhodium)
Question about keyboards
Tarkim,
You seem to know your way around HTC Rhodium keyboards. Twice now I have lost my Touch Pal Keyboard being replaced by a Phone keyboard. The first time I had loaded a cab file that changed the snooze options and I had to restore from backup. The second time I was minding my own business and changed the keyboard to "keyboard" the old full QWERTY key with small keys and then I tried to change back to Full QWERTY but all I got was the phone keyboard. I had to restore again. Hold the phone....after the last restore I tried to recreate but what I thought was the phone keyboard was not. I looked at the phone keyboard and it was what you would think with three letters per number key. This "other" keyboard that shows up has a number pad the letters p and w and some arrow keys this a return key as well. if this "other" keyboard shows up again is there a reg setting that I can go and change back to get my Touch Pal keyboard back?
I have a T-Mobile TP2
TIA
Works on CDMA Telus TP2.
I've tried to fix localization issue by your great remapping driver.
But there is a problem because unlike build-in driver it does not support language mode. Or am I wrong? How can I make for an example such config: English mode let's leave as is, but in my native laungage (Russian) mode to assign double-clock or long-press to enter Russian symbols without FN button?
Please help????? HTC make a real bad localization and 7 letters need to be pressed by FN+some, damn...
Also the Config Application has broken UI elements in mode where controls more than screen is able to fit...this is not major issue, just let you know.
thanks for such great software!
gsm one works fine on my cdma telus tp2 with the exception that it's moved my FN key to the mail one (one right of fn).
updated first post, CDMA version is there now
you can download it and start remapping your keys
thanks to all who PMed me to get CDMA version for testing
i already gave it to first who requested and it's enough since there is no need to perform full testing
sorry, i forgot to remove advertisement about testing and got more testers than i need as a result
i won't reply to all you folks, who asked me to get a test version, because the text will be the same, so i will reply here: sorry again and thanks
izuzu said:
Works on CDMA Telus TP2.
Click to expand...
Click to collapse
are you using GSM version ? i assume that yes, because you posted earlier than i released it for CDMA
it would be better to use CDMA version since i can't guarantee that GSM version will work without problems on Telus TP2
5h4d0w said:
gsm one works fine on my cdma telus tp2 with the exception that it's moved my FN key to the mail one (one right of fn).
Click to expand...
Click to collapse
this is because of different key tables in keypad driver for GSM and CDMA devices - use CDMA version

Categories

Resources