Keyboard layouts - HTC Wings

* Update Nov. 12. 2008 (missing file in zip)
I have made this thread because I spent some time searching for the keyboard mapping (kmap) of my HTC S730 phone (Wings). A guy named bigflavor pointed me in the right direction, so here we go.
The kmap is a file you use to set up the correct mapping between the slideout keyboard on the phone and the actual characters that comes out when you press the keys.
0106, 0406, 0706 - this is all for Danish, i.e. the "06" (http://www.microsoft.com/globaldev/reference/winxp/xp-lcid.mspx).
For Danish keymapping:
The zip file contains 3 files
eT9.Wings.0406.kmap.txt
eT9.Dis.9Keys.Danish.Kbd.dll
eT9.Danish.Ldb.dll
1. Connect your Windows Mobile to your PC via the USB-cable.
2. Extract all files into the \\Windows folder on your HTC S730.
3. Open up your Mobile Registry Editor and add the following 5 key/value pairs to the Registry of your HTC S730.
HKEY_LOCAL_MACHINE\SOFTWARE\Tegic\eT9\AvailableLanguages
Add 0106
HKEY_LOCAL_MACHINE\SOFTWARE\Tegic\eT9\IME\KdbDlls
Add 00010606 = eT9.Dis.9Keys.Danish.Kbd.dll
HKEY_LOCAL_MACHINE\SOFTWARE\Tegic\eT9\IME\KeyboardLayouDlls
Add 00000706 = eT9.Wings.0406.kmap.txt
HKEY_LOCAL_MACHINE\SOFTWARE\Tegic\eT9\IME\LanguageKeyboardIDMapping
Add 0106 = 0706
HKEY_LOCAL_MACHINE\SOFTWARE\Tegic\eT9\LdbDlls
Add 0106 = eT9.Danish.Ldb.dll
- you're done - have fun

You should make a wiki entry, and link it off the WM 6 standard page and the Wings main page. I've been maintaining the Wings main page for some time, trying to update it as more things pop up.

Where can I find other language packs?

gejm said:
Where can I find other language packs?
Click to expand...
Click to collapse
You'll find it (eT9 Lang Pack) at http://www.modaco.com/content/vox-vox-modaco-com/254428/pauls-vox-et9-language-pack/ or http://melgurth.ovh.org/index.php?page=downloads (T9 Lauguage Pack)

Oh, thanks, but it's the XT9 pack... I already have the other one and it works, but the problem is the QWERTY keyboard layout - when I press fn+m, for example, the apostrophe should come out - the semicolon does instead.
I've included my hardware layout pic - seems it's norwegian or something like that o.o
I'd be satisfied with working other or english layout, it's only important to me if the corresponding keys will work as they should

gejm said:
Oh, thanks, but it's the XT9 pack... I already have the polish one and it works, but the problem is the QWERTY keyboard layout - when I press fn+m, for example, the apostrophe should come out - the semicolon does instead.
I've included my hardware layout pic - seems it's norwegian or something like that o.o
I'd be satisfied with working polish or english layout, it's only important to me if the corresponding keys will work as they should
Click to expand...
Click to collapse
try using the Tilt keyboard fix to fix it! you can get it at http://forum.xda-developers.com/showthread.php?t=334911

Related

Keyboard layout tool for MDA Vario

If you want to easily customize your own keyboard AND you're using the MDA Vario, the .xls file has the keyboard codes. I don't have the I-Jam or Qtek so I don't know what's printed on their slide-out keyboards, but it's possible that the key position and its corresponding code are the same across all branded HTC Wizards.
The creator of AEK has a bunch of layout maps for the MDA Vario on his website:
http://ae.inc.ru/aekmaplayout.php
I based my own custom layout on Peter Kaszanics's "Greman, HTC Wizard with QWERTZ keyboard" layout. Basically, I added:
; QWERTZ --> QWERTY
; transposed _ and -
; added \ symbol, mapped to SHIFT+DOWN key
; added ° degree symbol mapped to SHIFT+OK key
; ' apostrophe mapped to SHIFT+LEFT ARROW
; ?smiley face to DOT+OK
; ^ to SHIFT+RIGHT ARROW
; ± to SHIFT+BACKSPACE
Now, if anyone has a Vietnamese character layout, that would be da bomb! AEK is a really cool tool - I'll probably activate my copy.
Enjoy!
Custom layout
Note from AEKMAP Author
AEKMAP Author
Note:If you think your layout file may be interesting to someone else please do not hesitate to e-mail it to me with description and your copyrights for adding to database. I will be glad to present you AEKMap registration code.
Click to expand...
Click to collapse
You can find this here:
http://ae.inc.ru/aekmapsample.php

Sliding keyboard layout change

How do I change the keybord layout from english to a layout of my choise like danish?
And how do I modify sym.0409.txt in the windows dir (read only and located in ROM)
I've alreade tried the tips on localisation of keyboard in the wiki and can't seem to get them to work.
I'm new to wm6 so please be gentle...
Welcome to WindowsMobile
I think you could give a try to :
"Restore local language support for sliding keyboard after upgrade to a different language ROM"
http://wiki.xda-developers.com/index.php?pagename=Hermes_Registry
I've tried that with little luck. I've managed to modify sym.0409.txt to a more userfriendly version. This is however only possible via PC and not directly on the device as originally tried due to the fact that I'm currently nowhere near my PC.
It seems that the hardware keyboard control is managed slightly dirrerently in the Kaiser relative to the Hermes.
http://ae.inc.ru/aekmap.php
AT&T Tilt layout
Anybody know how to get the AT&T keyboard layout on the HTC ROM?
saq said:
Anybody know how to get the AT&T keyboard layout on the HTC ROM?
Click to expand...
Click to collapse
Paint the far bottom key bright Blue and the middle keys White to where it looks like your flipping somebody the finger and you have the tilt keyboard......
d

Cant change Diamond Keyboard!

Hi,
I used to be able to click on the small up arrow just to the right of the keyboad symbol at the bottom of the screen. A menu would appear for me to select a keyboard.
Recently I can only select the "windows" keyboard. Even if I go to input settings in windows I can see the other keyboard options but it instantly puts it back to "keyboard" !!!
anyone know how to stop this?
BR
Darrell
Keybord and T9
Hi
When I am using keybord (not full qwerty) I am not able to get either contact suggestions o wordsuggestions to work.
The same apply with downloaded Resco keybord.
Any suggestions?
regards
stefan
I found this fix on another forum, works for resco also
HKLM\System\CurrentControlSet\Control\Layouts\e0010409
Ime File = \windows\compime.dll
Layout Text = COMP IME
stefan

Get MS keyboard back in WM 6.5

The HTC keyboards don't have a "Ctrl" key so I can't copy or paste in some programs - how can I get the default MS keyboard back?
mem2358 said:
The HTC keyboards don't have a "Ctrl" key so I can't copy or paste in some programs - how can I get the default MS keyboard back?
Click to expand...
Click to collapse
Has it ever had a Ctrl key?
Cheers, Rob.
Yes it has a Ctrl-key.
I want the keyboard also back
I have searched a long time for this, tried many regedits but never succeeded. Your best option is to pay for Resco Keyboard Pro.
TouchPal keyboard also has copy and paste functions.
Hey guys, I was looking for the MS keyboard too! I cant copy/cut paste or Ctrl z anymore with the HTC qwerty.
The free Finger Keyboard 2.1 has copy and paste facilities: http://forum.xda-developers.com/showthread.php?t=501122.
Make sure you install the WVGA version.
Iphone like keyboard (HTC Topaz)?
I am looking for a keyboard that works well with fat fingers the iphone board is so much better then the one I have on my TOPAZ
To get MS keyboard, I do this:
Modify this registry first:
[HKEY_CLASSES_ROOT\CLSID\{42429667-ae04-11d0-a4f8-00aa00a749b9}\IsSIPInputMethod]
"Default"="1" (by default it is "0")
Then install this program in phone memory:
http://forum.xda-developers.com/showthread.php?t=414422
Then modify the registry as follows:
[HKEY_CURRENT_USER\Software\HtcExtFun]
"StylusOutSipName"="Keyboard"
"StylusInSipName"="Touch Input"
Finally restart.
This way, when stylus is in, it will switch to HTC's Touch Input (Full, Compact or Phone pad depending on your last selection) then when you take out the stylus it will switch to the MS Keyboard.
Why use a keyboard for copy/cut/past?
Here is what I've done...
Install the keys controler from http://forum.xda-developers.com/showthread.php?t=555821
Change the behavior of the volume keys:
VOL DOWN :
- single click : default
- double click : Emulate CTRL+C to OS
- long click : Emulate CTRL+X to OS
VOL UP :
- single click : default
- double click : default
- long click : Emultate CTRL+V to OS
And it's working with all the applications....
And I quote:
This is for Topaz 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).
Nice one though romualdrichard, But I'd use it if I had a Topaz or a program just like that for my MDAcIV
omar302 said:
To get MS keyboard, I do this:
Modify this registry first:
[HKEY_CLASSES_ROOT\CLSID\{42429667-ae04-11d0-a4f8-00aa00a749b9}\IsSIPInputMethod]
"Default"="1" (by default it is "0")
Then install this program in phone memory:
http://forum.xda-developers.com/showthread.php?t=414422
Then modify the registry as follows:
[HKEY_CURRENT_USER\Software\HtcExtFun]
"StylusOutSipName"="Keyboard"
"StylusInSipName"="Touch Input"
Finally restart.
This way, when stylus is in, it will switch to HTC's Touch Input (Full, Compact or Phone pad depending on your last selection) then when you take out the stylus it will switch to the MS Keyboard.
Click to expand...
Click to collapse
TNX! Finally something that works! Do you know how I can get the big buttons with gestures mode on? I got the small kb buttons now...
VerusAmos said:
TNX! Finally something that works! Do you know how I can get the big buttons with gestures mode on? I got the small kb buttons now...
Click to expand...
Click to collapse
If you go to Menu>Settings>Personal>Input and from there select "Keyboard" from the drop down menu.
By the way, the gestures will also work on the small buttons.
omar302 said:
If you go to Menu>Settings>Personal>Input and from there select "Keyboard" from the drop down menu.
By the way, the gestures will also work on the small buttons.
Click to expand...
Click to collapse
I know they also work on the small kb, but my point is that I like the layout with the other two options on. The row with numbers is gone so it leaves more space for the letter buttons.
The reason I cant turn on these options is because I'm using Benko's v5.0ROM (6.5) and that ROM has only the Touch Input kb. I think the chef took out the settings from the drop menu. Also there's no input settings in the personal settings, so I cant change the ks settings.
Can I just add MS Keyboard without installing the additional code? I want MS Keyboard whether stylus is in or out.
akran said:
Can I just add MS Keyboard without installing the additional code? I want MS Keyboard whether stylus is in or out.
Click to expand...
Click to collapse
Use the same procedure, but put "Keyboard" for both registry strings.
VerusAmos said:
I know they also work on the small kb, but my point is that I like the layout with the other two options on. The row with numbers is gone so it leaves more space for the letter buttons.
The reason I cant turn on these options is because I'm using Benko's v5.0ROM (6.5) and that ROM has only the Touch Input kb. I think the chef took out the settings from the drop menu. Also there's no input settings in the personal settings, so I cant change the ks settings.
Click to expand...
Click to collapse
I can't seem to get the program to install in my Topaz WM6.5 WWE asia rom. Can you like make it nto a .cab?
I found out how to put the MS KB back to the drop menu again! Here's a a reg file...
VerusAmos said:
I found out how to put the MS KB back to the drop menu again! Here's a a reg file...
Click to expand...
Click to collapse
Thaks for this....
Also I was thinking to go for WVGA version of http://forum.xda-developers.com/showthread.php?t=501122
Which one will be good for easy????
Can't really give an opinion on that... I always have prefered the MS kb. Other kb's that are finger friendly are the latest HTC kb's. Or the EzInput kb's which is simular to the HTC kb's.

Custom keyboard layout

Hey, I found OK and caps lock keys on the D4 keyboard useless - I just don't see any difference between using OK, mapped as D-pad center, and Enter, and caps lock can be substituted by double press of shift. So I decided to play with the layout a bit, mainly because I was irritated by a need to touch the screen to work with clipboard or to go back.
The result is attached - a custom layout which remaps OK button from DPAD_CENTER to ESCAPE and caps lock from CAPS to CTRL_LEFT.
Esc works as the Back button and Ctrl is tested working in combinations of Ctrl+A (Select all), Ctrl+X (Cut), Ctrl+C (Copy) and Ctrl+V (Paste). Unfortunately Ctrl+Z/Y (Undo/Redo) don't seem to work... Any suggestions for other combinations to try?
I have tested it all on rooted Eclipse ICS 1.2 ROM, but it should generally work on all rooted Android 4.0.4 ROMs.
How to get it working?
1. You probably need to have your phone rooted first.
2. Optional - you might want to backup your original /system/usr/keylayout/omap4-keypad.kl if you're on different ROM (it should be all the same, but I haven't tested it)
3. Unpack the attached custom_layout.zip to the root of your phone - it will put omap4-keypad.kl into /system/usr/keylayout
4. Reboot your phone.
In case you'd like to revert the changes, I put the original keylayout from my system in original_layout.zip, or you can use your own backed up file
Hope you enjoy my mod. Also, which key would you suggest to replace by Menu? I'm thinking about SYM, but I still think the day I'll actually need it might come, unlike with caps lock and OK
For those interested in changing values for themselves I've attached scancodes of all the buttons given out by safestarap's key test - see keycodes.txt. If you're gonna change any .kl files, be sure to open it with some program supporting UNIX formatting such as PSPad - I really don't wanna see what would happen after editing it with Notepad You should probably also see Android documentation article about it first.
This sounds rather good...i wasn't going to, but this may give me a reason to root my phone. Thanks f for your work. It does seem illogical having those buttons. Btw what happens to LED when you press caps lock now.
Still running stock ics on Vodafone UK.
Sent from my DROID4 using xda app-developers app
This doesnt seem to work on stock rooted.
it seems the physical keyboard runs off generic.kl and the omap4.kl, but i simply used root explorer to edit the KL's and got things how i wanted them. i missed my HTC G2 alt + del/backspace = delete whole line, so i made tab the ALT_LEFT and problems solved, also mapped OK as CTRL_LEFT for copy paste ext.. just my pref.
also changed all the qwerty keys to WAKE_DROPPED to wake the screen instead of having to hit the top power button, as i leave my phone on my desk open constantly so its annoying to always have to hit the power button to wake.
So do you have to change the 2 files or just the one?
Sent from my DROID4 using xda app-developers app
bustr85 said:
Btw what happens to LED when you press caps lock now.
Click to expand...
Click to collapse
I have Caps Lock mapped as Ctrl and it's not connected to the LED at all - seems the LED is working as normal Caps Lock signalization. However, after double-press of Shift the caps Lock is activated and the LED signalizes it fine.
wheeliest said:
This doesnt seem to work on stock rooted.
it seems the physical keyboard runs off generic.kl and the omap4.kl, but i simply used root explorer to edit the KL's and got things how i wanted them. i missed my HTC G2 alt + del/backspace = delete whole line, so i made tab the ALT_LEFT and problems solved, also mapped OK as CTRL_LEFT for copy paste ext.. just my pref.
also changed all the qwerty keys to WAKE_DROPPED to wake the screen instead of having to hit the top power button, as i leave my phone on my desk open constantly so its annoying to always have to hit the power button to wake.
Click to expand...
Click to collapse
Didn't know the Alt+BkSp combination, thanks What other combinations do you use?
BTW Alt+Tab works for switching apps (I have now SYM mapped as ALT_LEFT and TAB is left untouched - I like to use it when filling forms).
In my mod it already is WAKE_DROPPED, but not by me, it's probably one of the Eclipse mods to stock
bustr85 said:
So do you have to change the 2 files or just the one?
Sent from my DROID4 using xda app-developers app
Click to expand...
Click to collapse
What do you mean? Do you refer to wheeliest's post?
Ah, good idea mapping SYM to ALT_LEFT. Then we can go in and define Alt key combos for the rest of the alpha keys, to get all the other symbols that we need (e.g., brackets, curly brackets, vertical bar, backquote...)
Sent from my DROID4 using Tapatalk
I edited both .kl's to answer the above question,
I also changed the "/" to work as a "?" with out shifting first. (which i changed in the omap4 keychars)
system/usr/keychars/omap4-keypad.kcm
its about the middle of the code, you get into the symbols after the numbers.
key SLASH {
label. number: '?'
base: '?'
shift: '/'
ctrl. alt. meta: none
and thats the only useful key combos i know.
I've tried to edit the keyboard for my AOSP Unofficial CM10/JB ROM. No luck at all.
None of the changes take effect and the shift key stops functioning as it should. You have to hold the shift key down and press the additional key for it to work, the same as you do on a computer keyboard.
I've tried to edit both the generic and omap4 files. It always ends up with the same result. Not looking for a fix just notifying you guys.
Long press symbols
Hi, does anybody know where to change symbols and/or their order in long press popup window?
screenshot - imgur.com/joN15zH
CM10 or CM11
wild_a said:
Hi, does anybody know where to change symbols and/or their order in long press popup window?
screenshot - imgur.com/joN15zH
CM10 or CM11
Click to expand...
Click to collapse
Unfortunately I don't know, but I never use it.
My short story:
My old phone was a Motorola Milestone 1 (Droid 1) with physical QWERTY.
I used it with Smart Keyboard Pro (SKP). It has an option called “Physical Keyboard”, by this way I reach the special characters of SKP’s actual language (long press on short character then some short press for selecting).
I changed for Droid4, upgraded for SlimKAT 4.4.2 installed SKP, but it is not worked with new 5-row keyboard. I can’t reach the keyboard’s yellow and my language-specific characters. Shift is not working with yellow keys.
Solution:
Change SYM and CAPS LOCK buttons in /system/usr/keylayout/omap4-keypad.kl:
I changed SYM button for “ALT”:
KEY 162 ALT_LEFT
and the CAPS LOCK button to “CTRL”:
KEY 222 CTRL_LEFT
Than modify /system/usr/keychars/omap4-keypad.kcm as follows:
Defined yellow characters for ALT method, and some other characters for all available buttons. The original SYM function still available by ALT+Space.
I attached a picture about the ALT-characters.
Unfortunately the new CTRL-button not works with SKP “Phisical Keyboard” option so I must switch off this option. By this way I lost the language specific fonts, so I programmed the upper rows for this fonts. The selection is working by SHIFT and D-pad, than CAPS-LOCK + C is Copy and CAPS-LOCK + V is Paste.
I attached a picture about CTRL-characters too.
I used character codes at: fileformat.info
We must be use the C/C++/Java source codes.
Thats all.
Zavo
hi.
i wanna change my hardware keyboard of droid4. its qwerty ... and i want to have qwertz.
so i edited the /system/usr/keychars/omap4-keypad.kcm and changeg key "Z" { label base shift } with "Y" . reboot and it works me happy
by thinking myself that i missed Ä Ö Ü at the hardware keyboard and dont want to wait long with long push on a to wait for the popup and choose there ä, i tryed to edit the /system/usr/keylayout/omap4-keypad.kl:
CAPS LOCK button to “ALT”:
KEY 222 ALT_LEFT
and back into the /system/usr/keychars/omap4-keypad.kcm there under A { label: "A" / base : "a" / shift: "A" / cltr,alt,meta: "ä" }
reboot and now it works nothing -.-
also the y z is back to qwerty and not qwertz ?!?!?!??! in the files is all right.
why my changes are undone ????
can some help ? ideas ?
thx and sry 4 bad english
Felix241 said:
hi.
i wanna change my hardware keyboard of droid4. its qwerty ... and i want to have qwertz.
so i edited the /system/usr/keychars/omap4-keypad.kcm and changeg key "Z" { label base shift } with "Y" . reboot and it works me happy
by thinking myself that i missed Ä Ö Ü at the hardware keyboard and dont want to wait long with long push on a to wait for the popup and choose there ä, i tryed to edit the /system/usr/keylayout/omap4-keypad.kl:
CAPS LOCK button to “ALT”:
KEY 222 ALT_LEFT
and back into the /system/usr/keychars/omap4-keypad.kcm there under A { label: "A" / base : "a" / shift: "A" / cltr,alt,meta: "ä" }
reboot and now it works nothing -.-
also the y z is back to qwerty and not qwertz ?!?!?!??! in the files is all right.
why my changes are undone ????
can some help ? ideas ?
thx and sry 4 bad english
Click to expand...
Click to collapse
the fault is that in the .kcm no ÄÜÖ alowed.
when i entered A {
label: "A"
base: "a"
shift: "ä"
}
reboot
the system dont work with the .kcm anymore... what do i have to fill in under shift : "" for an ä ?
thx 4 help
Felix241 said:
the fault is that in the .kcm no ÄÜÖ alowed.
when i entered A {
label: "A"
base: "a"
shift: "ä"
}
reboot
the system dont work with the .kcm anymore... what do i have to fill in under shift : "" for an ä ?
thx 4 help
Click to expand...
Click to collapse
I think that for ÄÜÖ, in the stock kcm you press ALT+u and then the key that you want to have ' ': a,u,o......
Hi everyone
I know it's an old post but it really helped me solve the non CTRL problem.
I needed it to switch between languages on the hard keyboard as I installed the CM11 ROM. It's a little bit funny that it takes a CTRL button to switch, but no one bothered to notice that there isn't such button.
Anyhow, my current problem is this - I'm missing a letter on the Hebrew keyboard. I have all the letters except one. It's annoying to type with a missing letter.
I've tried to look for a way to add this letter on the ompam4-keypad.kcm file, but it doesn't contain the hebrew characters.
I really don't know where to go for that char map that contains other characters other than english.
Can anyone help me?
drornohi said:
I know it's an old post but it really helped me solve the non CTRL problem.
I needed it to switch between languages on the hard keyboard as I installed the CM11 ROM. It's a little bit funny that it takes a CTRL button to switch, but no one bothered to notice that there isn't such button.
Anyhow, my current problem is this - I'm missing a letter on the Hebrew keyboard. I have all the letters except one. It's annoying to type with a missing letter.
I've tried to look for a way to add this letter on the ompam4-keypad.kcm file, but it doesn't contain the hebrew characters.
I really don't know where to go for that char map that contains other characters other than english.
Can anyone help me?
Click to expand...
Click to collapse
Frankly I never updated it for CM11 and CM12 I've been using for over a year now, even though it always bugged me not to have Ctrl Good wake-up call I'll try to get to it through the weekend, no promises though.
@ZavoDroid's post (#10, last of previous page) looks golden, will try to make something similar working with CM11 and CM12. Will need you to report how the CM11 version works, I'm still at CM12 currently.
Edit: @drornohi - did you try custom layouts from this thread to see they did not work with CM11? And what is the specific character you miss from your Hebrew keyboard - could you post it here in lower case and upper case, ideally with Unicode codes as well?
LuH said:
Frankly I never updated it for CM11 and CM12 I've been using for over a year now, even though it always bugged me not to have Ctrl Good wake-up call I'll try to get to it through the weekend, no promises though.
@ZavoDroid's post (#10, last of previous page) looks golden, will try to make something similar working with CM11 and CM12. Will need you to report how the CM11 version works, I'm still at CM12 currently.
Edit: @drornohi - did you try custom layouts from this thread to see they did not work with CM11? And what is the specific character you miss from your Hebrew keyboard - could you post it here in lower case and upper case, ideally with Unicode codes as well?
Click to expand...
Click to collapse
Sadly, it's not a layout problem.
I think that the keyboard doesn't take the characters from the .kcm file. The keyboard linked to another app that mapping the layout to a character map according to the current chosen language. i.e, when you press 'm', it links it to the app that checks which language is chosen, if english - it will type 'm', if hebrew it will type ׳צ׳ (a hebrew letter)
The problem is I don't know where is this app. I've been trying to look it up in the CyanogenMod11 source code but I'm not a developer so I didn't manage to load the project to eclipse.
Actually I have 2 missing letters.
The first one is ׳ף׳ unicode U+05E3 (source: http://unicode-table.com/en/05E3/)
The second one is 'ץ' unicode U+05E5 (source: http://unicode-table.com/en/05E5/)
If you want I have the full hebrew charmap with unicodes: http://unicode-table.com/en/blocks/hebrew/
Thanks for trying! Hope you'll save us all!
drornohi said:
Sadly, it's not a layout problem.
I think that the keyboard doesn't take the characters from the .kcm file. The keyboard linked to another app that mapping the layout to a character map according to the current chosen language. i.e, when you press 'm', it links it to the app that checks which language is chosen, if english - it will type 'm', if hebrew it will type ׳צ׳ (a hebrew letter)
The problem is I don't know where is this app. I've been trying to look it up in the CyanogenMod11 source code but I'm not a developer so I didn't manage to load the project to eclipse.
Actually I have 2 missing letters.
The first one is ׳ף׳ unicode U+05E3 (source: http://unicode-table.com/en/05E3/)
The second one is 'ץ' unicode U+05E5 (source: http://unicode-table.com/en/05E5/)
If you want I have the full hebrew charmap with unicodes: http://unicode-table.com/en/blocks/hebrew/
Thanks for trying! Hope you'll save us all!
Click to expand...
Click to collapse
Hey, I'm also no dev and never opened the CM11 project - wouldn't know where to start
By inspecting the CM11 build briefly I think I found where it loads language-specific layouts: cm-11-20150327-UNOFFICIAL-maserati.zip\system\priv-app\InputDevices.apk\res\raw\*.kcm - but there is 05E5 mapped to PERIOD ( . : ), are you sure you can't type it by period? Also regular period should be mapped to SLASH ( / ? ) according to keyboard_layout_hebrew.kcm.
I tried to set 05e3 as Alt+L. Try replacing your /system/priv-app/InputDevices.apk by attached file and use it in combination with some keylayout with Alt (ZavoDroid's maybe). Do a backup before - it's my first attempt on repacking a system apk so anything can go wrong
Edit: just realized I forgot to attach the APK. -_- Sorry, will do in several hours - it's almost 6 AM now so I need to catch some sleep, left laptop elsewhere.
...so here you are with the attachment
drornohi said:
Sadly, it's not a layout problem.
I think that the keyboard doesn't take the characters from the .kcm file. The keyboard linked to another app that mapping the layout to a character map according to the current chosen language. i.e, when you press 'm', it links it to the app that checks which language is chosen, if english - it will type 'm', if hebrew it will type ׳צ׳ (a hebrew letter)
The problem is I don't know where is this app. I've been trying to look it up in the CyanogenMod11 source code but I'm not a developer so I didn't manage to load the project to eclipse.
Click to expand...
Click to collapse
I think what happens here is that as long as you have Settings - Languages & input - Physical keyboard - omap4-keypad set to default layout, /system/usr/keychars/omap4-keypad.kcm is used, but once you add any languages there, it uses language's kcm from /system/priv-app/InputDevices.apk for CM11, or /system/priv-app/InputDevices/InputDevices.apk for CM12.
Please let me know if the attached apk works (try signed first) installed or put into system directly - you should be able to type ף by pressing Alt+L (SYM+L with Zavo's custom kl - also attached).
LuH said:
Hey, I'm also no dev and never opened the CM11 project - wouldn't know where to start
By inspecting the CM11 build briefly I think I found where it loads language-specific layouts: cm-11-20150327-UNOFFICIAL-maserati.zip\system\priv-app\InputDevices.apk\res\raw\*.kcm - but there is 05E5 mapped to PERIOD ( . : ), are you sure you can't type it by period? Also regular period should be mapped to SLASH ( / ? ) according to keyboard_layout_hebrew.kcm.
I tried to set 05e3 as Alt+L. Try replacing your /system/priv-app/InputDevices.apk by attached file and use it in combination with some keylayout with Alt (ZavoDroid's maybe). Do a backup before - it's my first attempt on repacking a system apk so anything can go wrong
Edit: just realized I forgot to attach the APK. -_- Sorry, will do in several hours - it's almost 6 AM now so I need to catch some sleep, left laptop elsewhere.
Click to expand...
Click to collapse
Actually your'e right. I forgot I have already found ׳ץ׳ letter (It's my GF's phone so It's not near me all the time). The other one is still missing though.
Thanks for finding the apk file. I'll try edit it myself and let you know (I'm trying with notepad because I read that you can't open apk with eclipse)
I want to make the 'Q' letter assigned to ׳ף׳ because now it assigned to '/' but I already have that.
---------- Post added at 02:41 PM ---------- Previous post was at 02:36 PM ----------
LuH said:
...so here you are with the attachment
I think what happens here is that as long as you have Settings - Languages & input - Physical keyboard - omap4-keypad set to default layout, /system/usr/keychars/omap4-keypad.kcm is used, but once you add any languages there, it uses language's kcm from /system/priv-app/InputDevices.apk for CM11, or /system/priv-app/InputDevices/InputDevices.apk for CM12.
Please let me know if the attached apk works (try signed first) installed or put into system directly - you should be able to type ף by pressing Alt+L (SYM+L with Zavo's custom kl - also attached).
Click to expand...
Click to collapse
I'll try it when I'll have the phone with me (it's my GF's)
How did you pack the apk again after unpacking it?
I want to change it to the 'Q' letter instead of Alt+L
I have some ideas to to improve the keyboard functioning with some keys.
drornohi said:
How did you pack the apk again after unpacking it?
I want to change it to the 'Q' letter instead of Alt+L
I have some ideas to to improve the keyboard functioning with some keys.
Click to expand...
Click to collapse
Searched xda for instructions, in some general android development forum on xda found a rom & apk kitchen (intended for different device though, apk kitchen is universal) and used the apk kitchen for proper unpack and repack. I think it's needed, because InputDevices.apk is signed so the kcm's crc would not match if I just overwrote it in the apk directly.

Categories

Resources