Hardware keyboard translation for HP 600, Touch Dual, Asus p750 - Windows Mobile Apps and Games

Hi ,
I have written a small application:
http://rapidshare.com/files/125258935/HebKeys_tog198.CAB.html
This application is designed for window mobile 6 devices that has a numeric keyboard,
one of the problems with this type of devices is that there isn't language support for them, for example if you want to write sms in hebrew or russion using this keyboard it is impossible.
After installing this application a XML file (layout.xml) will be coppied to your device containning all the translation of the keyboard. (this xml is configure to HP 600 !!! it will not work on other devices)
The xml file contains group of hardware keys (for example):
<keys>
<HWcode>48</HWcode>
<state1>0</state1>
<state2>ך</state2>
<state3>ן</state3>
<state4>ף</state4>
</keys>
in this example hardware key 48 will contain the following signs: 0-zero, "ך" - hebrew sign, "ן" - another hebrew sign, "ף" and another hebrew sign.
clicking on hardware key 48 (0 in the hardware keyboard of the hp 600) will itirate between does "states".
This application will run in the background, for toggeling it's translation use your Voice button (key 198) or configure it to different button:
<tog>
<HWcode>198</HWcode>
</tog>
you can of course configure yourself the signes and hardware keys to mach your device.
I written another application in order to help you find what is the hardware code for every key in your device:
http://rapidshare.com/files/125091730/KeyMap_13.zip.html
this two applications will not run together, so make sure you are closing one before running the other (SR is also agood idea).
Pls backup all your data before installing the applications.
link to the original thread (hebrew):
http://www.pocketpcfreak.com/cgi-bin/yabb/YaBB.cgi?board=Himalaya;action=display;num=1214408412
have fun
Rani

HW keyboard working on 3rd party apps in Dual
Great news to those using Touch Dual with 20keys and are fustrated with the HW keyboard typing only numbers on 3rd party apps (like Opera, Google Search etc.) - this HebKeys app by Golum can provide a reasonable solution.
Limitations:
- No XT9.
- No Shift or Capital letters.
- No symbol window access (SYM is not active).
- Long delay is required in words that have two consequent letters mapped to the same key (e.g. REad, because R and E are on the same key). Alternatively, if an unmapped key is pressed (SYM), you can re-press the key again and get the next letter.
BTW, Golum promised to provide an update with an option to update the value of this delay through an xml file.
How to install:
1. download the HebKeys app by Golum, from http://rapidshare.com/files/125260462/HebKeys_button198.CAB.html
2. download the following key mapping layout that I have created: http://www.4shared.com/file/52928436...55/layout.html
3. after installing the app, replace the layout.xml file in the app folder (under Program Files) with the layout.xml file that you downloaded in 2.
Now what you need is to run the installed app and the re-mapping is done (need to re-run it after soft-reset).
If you run the app after it was activated, you can stop it using the "Exit" button. BTW, it is possible that the link above by Golum is for a slightly different version than the one in the link I provided, in which the default when running the app is the "unmapped keyboard" and there's no option to exit (no Exit button). Golum? I personally prefer the one with the Exit option.
If you wish to play with the mapping layout, you can edit the XML yourself. It is quite readable. Notice you cannot put less than 4 options (representing 4 repeating presses) to each key.
The last key mapped is for toggling the mapping on and off (the app is still in the background). Default is the ALT key.
The mapping of the HW keys of the 20key Dual is as follows (in the order it appears on the keyboard):
81 49 50 51 79
65 52 53 54 76
90 55 56 57 8
236 119 48 120 13
If you have a different device, you can try the key mapping app in the link from my previous post, to get the mapping.
Regarding Hebrew:
The layout file that I have provided solves the keyboard problem, but replaces the Hebrew support in the original layout included with the HebKeys app. However, I found that if you have Eyron Hebrew support installed, when the HebKeys is activated and you switch to Hebrew in the Eyron soft keyboard you can use the keyboard to write Hebrew!
If you think you managed to improve it, added the Shift or Sym functionality etc. - please share with all.
Enjoy.
Update:
Please note that I have updated the layout.xml a little, so if you already downloaded it - please re-download and re-copy to the proper folder.
If you really insist to know why I udpdated:
I found out the key I used for space is actually &NBSP, which seems like a space but is not exactly a space.
For some reason putting merely a space character in the XML does not work (not recognized, probably removed by the XML interpreter), so I added a NULL character afterwards, to turn it into a significant space.

Great App, seems to be the most awaited fix for the XDA Stealth keypad. Thanks GOLUM.
- Long delay is required in words that have two consequent letters mapped to the same key (e.g. REad, because R and E are on the same key). Alternatively, if an unmapped key is pressed (SYM), you can re-press the key again and get the next letter.
BTW, Golum promised to provide an update with an option to update the value of this delay through an xml file.
Click to expand...
Click to collapse
Is it possible to use the joystick or navigation pad (right) to be able to move the cursor right away to type the next character? I used to do this on my Nokia days before.

and by the way, is there anyway to do a toogle with this one for enabling and disabling? i mean there would be a toggle that would enable this and use your configured XML as the layout then a toggle OFF to use the default or original keyboard layout. That would be awesome!

The cursor key may not be the greatest idea, as it also functions to move the curser around. It depends on the application - in some it will give you exactly what you want, in others it will move away from the location of the next word.
An alternative option is to use an unmapped key or one that is mapped to nothing, as I explained (I use SYM).
Reg toggle - as explained in the posts the last key in the layout.xml is the toggle key definition. Default is ALT.
Please note that I have updated the layout.xml a little.
If you really insist to know why I udpdated:
I found out the key I used for space is actually &NBSP, which seems like a space but is not exactly a space.
For some reason putting merely a space character in the XML does not work (not recognized, probably removed by the XML interpreter), so I added a NULL character afterwards, to turn it into a significant space.

can u provide this too on xda stealth?

Space
I cannot make a space?
HOw should I write it in text editor?
Pls Help!

space
"space" works with "0"-button, without <HWcode>48</HWcode>... in layout.xml

suggestion
tried this on my stealth, with the Layout.xml file changed to a regular eng to replace the multitap on my stealth, so far it's working fine with the exception of only 4 characters assignment on each hardware keys.. Can the maker or someone set the assignment to 5 char per key so we can accomodate the letters and number for 7 and 9..

WOW AWESOME!!
it is working properly on my stealth..
now i can write a message faster than before..
Thanks a Lot GOLUM
hopefully it can 5 char/key on the next release..

can someone plz upload the layout file for the touch dual again?
tnx

Related

HTC S740 Keyboard

I need to make a slight alteration to the S740 qwerty keyboard mapping.
I thought all I needed to do was tweak a layout file such as eT9.Rose.0409.kmap.txt in \windows but a 0409 file is not present although there are others with a different 4 digit code for other languages, such as 0408 and wwe. I have tweaked these two without success so I presume they are not the right ones.
HKLM/Software/Tegic/eT9/IME/KeyboardLayouFiles points to 0408 and wwe kmap files.
Can anyone help?
I only changed eT9.Rose.wwe.kmap.txt and it worked just fine after reboot.
Nigel Park said:
HKLM/Software/Tegic/eT9/IME/KeyboardLayouFiles points to 0408 and wwe kmap files.
Click to expand...
Click to collapse
Active layout is in HKLM/Software/Tegic/eT9/IME/KeyboardLayouDlls - it is only key 07FF there. Open it - the string names active layout you should remap. Or - if you already did with some other file, simply put its name there...
Thank you. It worked ..... but only for normal character keys.
I also tried to remap the arrow left key (which unhelpfully defaults to comm manager when I want to move cursor left) without success. There seems to be some extra code for action keys such as arrows and delete eg. // LEFT - 0x25 = VK_LEFT. Do I need to make some changes here?
Funny, never noticed that Fn+Left Arrow calls CommManager... (it took me some time to find out, what's you're talking about...)
Anyway, try this format:
{0x25 0x25 0x25 0x25 0x00 0xff}
The bolded position is responsible for Fn+Left Arrow behaviour. I did no try, it would be nice to know, if helped.
What's strange, other 0x00 values using 0xff index eg. Right Arrow, doesn't anything... Some ghost in the machine?
Generally, it's simple:
{1 2 3 4 5 6} means
1 - HW indentifier of the key
2 - which character/0x function to write/perform, if pressed
3 - what to do, if pressed and hold
4 - what to do, if Fn is active and the key is pressed
5 - what to do, if in numeric mode (double Fn lock)
6 - key index (apparently splits alphabet off special characters/functional keys)
What you see on any row after // are just comments/explanations having no influence on functionality of the file. There you'll find descriptions of all fuctions values as in the piece you quoted - eg. Backspace is 0x08, 0x2E is Delete etc.
Thanks lelopet for trying to help.
I have tried 0x25 in positions 4 and 5 and both (with reboot each time) with no success.
I now full understand how all this works but these action keys must work differently.
Any more ideas?
No...
Basically these files are working similar to some switchboard between the keyboard driver (usually .dll) and character and command sets of the operation system. If something is hardcoded somewhere beneath (as in driver) I'm afraid it is no way how to change it. If the driver calls any system service BEFORE it reaches the mapping...

Predictive Text Problem

I have been using the comp ime settings to get predictive text to work (i to I and contractions like dont to don't) for almost a year. Suddenly it stopped working and every time the system tried to make a fit to the text I entered the system would screw up. I would lose the ability to enter text -- the cursor would move but no text and backspace would no longer erase.
The system then slows down and needs to be rebooted to work again.
I was able to go back to the orignal registry settings for the T9 IME but lost the previous functionality.
Any ideas? Could me compime.dll file or a supporting file get corrupted ?
I think I know
I think this is an issue with your registry settings:
Backup your registry before trying this:
(MS IME)
HKLM\System\CurrentControlSet\Control\Layouts\e0010409
Ime FILE = \windows\compime.dll
Layout Text = COMP IME
or you can do:
(T9)
Ime FILE = \windows\eT9ime.dll
Layout Text = eT9 IME
See if this helps any. I found this information somewhere in this forum and I use this tweak to get LOGMEIN to work with keyboard. However, I believe it may just be what you need to get this going. Ultimately, go to your soft keyboard and make sure that the T9 setting is on and not on ABC.

How do I customize my keyboard layout? (Add umlauts)

I have a Touch Pro with a UK keyboard.
All I want to change now is to add the German umlauts to the fn+key of the characters.
I tried this in eT9.Raphael.wwe.kmap.txt:
{A A A Ä Ä 0x0a}
Works ok for the umlauts, but my SHIFT key stopped working.
The CAPS LED lights up but i still get lowercase letters.
The CAPS key pretty much works as expected but changes the SHIFT key to something else, popping up menus or closing the SMS program when combined with some keys.
With the FN key only 1 through 0 work, the rest either does nothing or calls other functions again.
Maybe I just messed up the file somehow.
Does anyone have an original WWE or 407 file for the Touch Pro?
What I also tried is this:
{E E E € € 0x02}
Doesn't work but pops up the symbol map.
Where do special keys like € and £ come into play?
Entering random characters into *.kmap.txt seems to work only for certain characters (or keys?).
All I need is the 4 cursed umlauts added to my standard keyboard layout.
Has anyone done this before or am I the first crazy enough to try?
Your input and ideas are highly appreciated.
http://forum.xda-developers.com/showpost.php?p=2837568&postcount=1500
Pampilius86 said:
http://forum.xda-developers.com/showpost.php?p=2837568&postcount=1500
Click to expand...
Click to collapse
I don't want to change the keyboard layout.
That one has been asked and answered before.
My phone doesn't have the German QWERTZ layout but UK QWERTY.
Looks like this: IMAGE
So I just want to use a few additional characters with the FN key.
Does anyone know if the UK keyboard layout is different from the WWE and how I can use it?
I was never able to get the € and £ (printed in green on the E and W keys) to work.
you must search the forum with the keyword: "ezinput". click the first item in the search results -its caption is "[30-Nov-08] HTC EzInput Keyboard Suites - QVGA and VGA RC2 and ..."-
i think this will solve your problem
ps: i would like to give you the direct links but forum administrators don't allow some members to add links in their messages
Did u try this?

Good Text Editor/Word Proc. OR Soft Keyboard w/ Ctrl

Is anyone using a good text editor/word processor (spell check, large files, etc)? Needs offline support because I won't have wifi everywhere.
Alternatively, does anyone know of a good soft keyboard with ctrl keys? (thinking I can use this keyboard, if it exists, with emacs through optware in a terminal window)
ERamseth said:
Is anyone using a good text editor/word processor (spell check, large files, etc)? Needs offline support because I won't have wifi everywhere.
Alternatively, does anyone know of a good soft keyboard with ctrl keys? (thinking I can use this keyboard, if it exists, with emacs through optware in a terminal window)
Click to expand...
Click to collapse
Check out irssi connectbot in the Market, I might have the name wrong, just search for irssi. It has several meta keys in a special menu, although not sure it's enough for emacs. It works great for screen and irssi though.
khaytsus said:
Check out irssi connectbot in the Market, I might have the name wrong, just search for irssi. It has several meta keys in a special menu, although not sure it's enough for emacs. It works great for screen and irssi though.
Click to expand...
Click to collapse
Yeah after some messing around, i think i might roll with nano over emacs anyway.
For what it's worth, I decided to give this combo a try:
Better keyboard 8 - multi touch, better layout of secondary keys, directional arrows, can set key height, can disable fullscreen keyboard entry so you can see the context of what you're typing
Better terminal emulator pro - ctrl key support, temporary re-map of volume keys for tab completion, better support for resizing terminal when keyboard opens in landscape mode
Nano, installed through optware - most straightforward of the well-known terminal based text editors, can be set up with word wrap and spell check

[Q] Keyboard app development (for Physical Keyboard)

Hey guys,
So I have bought a Huawei Boulder (U6350 also called orange barselona), so when you write a text message, if you hold certain key (for example a) it gives me a choice between characters similar to what you pressed (for example ą, ä, ã, á, à or something like that), but certain keys doesn't give appropriate characters for my language (for example ė, į, ų), so I decided to create my own keyboard app, that will support this physical keyboard and when I hold it or press twice or 3 times in a row, it will give me characters I need, but here is the problem: I don't know how :/. I know how to set up adb, eclipse etc. it's just I don't know how to create keyboard app, and also how to make that app compatible with my phones physical keyboard.
Thanks for your answer.
Simonas.

Categories

Resources