After searching the wide web of the world I didn't find anyone who cared to program the special characters for nordic keyboards (æ,ø and å). The norwegian stock ROM has got these mapped to own keys, but I've never liked to use stock ROMs, so I was stuck with the "long press method".
New! Now Spanish is also supported!
If you screw up your phone trying to adb push, cp -f these files I'm not responsible yada yada yada (nothing wrong should happend, really)
What I've done is taking the modified files from teferi, and added my own editing for the quick keys (as I had to make place for the chars I removed from jkl) and the special chars of course.
Confirmed on my G2 (running the Sense ROM from MoDaCo), but should work for the Desire Z too! Any guinea pigs out there?
*Norwegian* version 0.3: -Fixed issue with , and ; didn't work on hardware keyboard. version 0.2: Quick change to the "Z" button, since "`" is used in command substitutions. -alt-z is still "^", alt-shift-z = "`" version 0.1: -alt+j,k,l = æ,ø,å (alt+shift gives capitol letter). - make ".com" a TAB key, as it ought to be - left softkey is now "\" "|" "/" - right softkeys are now "[" "(" "<" and "]" ")" ">" - alt-z is now "^"
*Spanish version* Version 0.2 -Corrected filenames for the new files, and included the right "originals". Version 0.1 [Key] - [Shift + key] - [FN + key] - [Shift + FN + key] a - A - ! - á e - E - 3 - é i - I - 8 - í o - O - 9 - ó u - U - 7 - ú n - N - = - ñ ? - ¿ - " - ¡ . - < - : - >
*Add -wwe after "keypad" in the filename for both files if your running a Desire Z based ROM. CM and G2-based will work without -wwe*
- download file
- unzip *.zip
- adb push vision-keypad.kl /sdcard/
- adb push vision-keypad.kcm.bin /sdcard/
- adb shell
- su (if you don't have ro.secure turned off)
- mount -o remount,rw /dev/block/mmcblk0p25 /system
- cp -f /sdcard/vision-keypad.kl /system/usr/keylayout/
- cp -f /sdcard/vision-keypad.kcm.bin /system/usr/keychars/
Btw... backup of original keymapping is included... just rename them without .orig, and follow the procedure above
Guide to make your own keys: Download a hex editor (i prefer xvi32), open the "kcm.bin", and alter the symbols shown in the attached .jpg. If you wish to alter the "main" char of the key, you can change that in the .kl file with notepad (check the difference between esp and nor to see an example).