[Q]Change Keyboard layout, easy way ?¿ - Tilt, TyTN II, MDA Vario III Android Development

Hello!
I'm trying to find how to change keyboard layout of android to my spanish qwerty
But i can't is anyway of remap without recompile the kernel?
If no, how i can recompile the kernel modifing the keyboard layout to fit my keyboard?
Thanks!

alecuba16 said:
Hello!
I'm trying to find how to change keyboard layout of android to my spanish qwerty
But i can't is anyway of remap without recompile the kernel?
If no, how i can recompile the kernel modifing the keyboard layout to fit my keyboard?
Thanks!
Click to expand...
Click to collapse
I believe you would need to change the language setting in your phone to Spanish, or download a third-party keyboard app that allows you to change just the layout on the fly from it's settings. Modifying the kernel wouldn't be the correct approach for this.

you can change the qwerty.kl file (the same file that atools change) and you can change the key combination in the kcm files.

Related

[i780]How can i change the keyboard map?

I want to change toe euro and pound sign to underscore and backslash, how can i change the keyboard map?
kaka1234 said:
I want to change toe euro and pound sign to underscore and backslash, how can i change the keyboard map?
Click to expand...
Click to collapse
easy .. not really.. but possible
dump the BIN, edit the txt file with the keyboard layout (not sure about the name) and compile it again.. all can be done with EFN's V5 Kitchen and instructions are in the PDF file that is included with the kitchen
hello.
does anyone ever done this?
i have a i780 with the qwerty keyboard.
i want to intall a french rom and maintain the keyboard in qwerty. is it possible?
i'm making a separate tool to do just that. You will be able to hot switch between different keyboard layouts with just a simple soft reset. Still work-in-progress.....check on my rom thread, will update there once ready...
http://forum.xda-developers.com/showthread.php?t=564074
Also, could you attach french dll and sym file on this thread -
http://forum.xda-developers.com/showthread.php?p=4629840#post4629840
cheers

Android :: How to change keyboard layout from QWERTY to AZERTY?

PLz do you know How to change keyboard hardeware layout from QWERTY to AZERTY,i'm using ?
i'm using Myn’s Warm Donut,every thing work fine for me !!
matriix said:
PLz do you know How to change keyboard hardeware layout from QWERTY to AZERTY,i'm using ?
i'm using Myn’s Warm Donut,every thing work fine for me !!
Click to expand...
Click to collapse
I think this is actually hardcoded into the kernel. I've had some looks at the kernel source code (which DZO maintains) as I want to add support for scandinavian keyboard. Shouldn't be that hard to modify once you manage to set up an enviroment that allows you to compile the kernel.
Could you take a photo of your azerty keyboard (detailed enough to also see the Fn alternative for each button) and if time allows I may have a go at it.
I've successfully managed to remap the kernel for my scandinavian keyboard (except for the special nordic characters).
How did you remapped it?
Henri från Finland
Hepe83 said:
How did you remapped it?
Henri från Finland
Click to expand...
Click to collapse
By changing the kernel source.
Edit: /arch/arm/mach-msm/board-kaiser-keypad.c
Then compile your own kernel. I'll send my changes to DZO once they are complete. Right now I have changed the "normal" layout but the correct way would be to add a new setting and make it selectable so it's needs to cleaning up. I also haven't managed to add ÅÄÖ (and the norwegian counterparts) yet. But everything else is mapped correctly so I no longer have to guess where the "slash" is and so on.
Actually my current mappings are posted in the kernel thread in the Vogue forums as I've asked for help for the remaining 5 buttons.
EDIT: Added my experimental kernel as an attachment. Unzip and place in x:\andboot\ (make a backup of your original kernel just in case)
This kernel should be the same as DZO's 29-03-10 kernel except it is partially remapped for nordic hardware keyboard and also have the BT changes that broke bluetooth on Eclair reverted.
EDIT2: Removed attachment, later version (and NAND) available here: http://forum.xda-developers.com/showthread.php?t=660158
Newer version of the Nordic keyboard kernel here: http://forum.xda-developers.com/showthread.php?t=655512
Edit: fixed the link
Try the attached kernel. Make sure to set board-kaiser-keypad.atttilt to 3 in default.txt/startup.txt.
Please let me know if it works OK asap. I've used a picture that I found on the net of the Kaiser azerty keyboard. Not use about the Fn->S. The picture was a bit blurry so I left the defult mapping for Fn-S which is a ".
EDIT: Removed attachment, later version (and NAND) available here: http://forum.xda-developers.com/showthread.php?t=660158

HW Keyboard remapping - Using Russian Keyboard

I have problems with stock RuKeyboard HW keys Layout - not convinient for me. But i found how to remap keyboard - it is quite easy at that application, you just have to
1. Unpack rKeyboard.apk using APKTools
2. Edit Arrays.xml - it is XML for substitution
3. Repack
4. Sign and reinstall
So, the main problem is to get scancodes of a HW keyboard.
Thouse numbers from *.kl files are not scancodes (or they are uncompatible).
The question is how to get scancodes from the hardware keyboard of Desire Z (i think i have spanish version).
Did you get solution for that?

Little Froyo File-System Mods

Froyo (2.2):
Disable the dam annoying shutter sound:
Just rename the file "/system/media/audio/uicamera_click.ogg". (Root is required)
Change language of the SpellChecker:
Default language installed is en_US.aff and en_US.dic. Just get your desired language pack from web, rename and replace the original files in "/system/etc/spellchecker/"
Here is german: http://forum.xda-developers.com/attachment.php?attachmentid=491986&stc=1&d=1295272104
Bluetooth HID Keyboard Layout:
By default you can only use a querty keyboard. But there are mods for other languages on the web. See this thread: http://forum.xda-developers.com/showthread.php?t=799079&highlight=bluetooth+keyboard
You can also change it by yourself. (http://forum.xda-developers.com/showthread.php?t=504710)
I will expand this post as i find more little modifications.
cheers

[Update]QWERTZ for Xoom external Keyboard

Here is my version of a QWERTZ Keyboard Layout for german (flashable by recovery).
Use it for your BT or USB Keyboard.
I have a 3G Xoom with hc 3.2 modded for european running but it should work on every xoom afaik.
If you have root and you know what you do and you want a german keyboard layout for your german bluetooth or your usb keyboard you will have to take the following steps:
- download zip to your device
- move it to external sdcard (or internal in case you have the modded recovery for this)
- boot into recovery
- use "install zip from sdcard" to install
How it works:
- it replaces (/system/usr/... keychars/Generic.kcm and keylayout/Generic.kl) in your system directory to give android the right mapping for a QWERTZ Keyboard.
WARNING:
- if you toast your cat with this - I am not responsible for that!
- if you brick your device - look at the cat - I am not responsible for that!
For german speaking audience...
Q&A:
Kozdoba said:
Please could you provide some manual how to add another language.
Click to expand...
Click to collapse
Have a look into the ZIP-File. There a two files. One tells the system which scancode of your keyboard maps to which keycode. The other tells the system which chars maps to which keycodes.
For the lookup of the keyboard scancodes use KeyTest.apk from Chris Boyle.
To edit you have to use a program that is able to handle Unix carrige returns and the file has to stay at UTF8 - I myself use PSPad for this task (there is a russian version available and its totally free!).
Your primary target is Generic.kcm (changes to Generic.kl are very difficult because you are not free to choose the keycode name - they depend on some internal android header on compile time!) - some of the mapping are obvious some other not. For russian I think you will have to put them like in a special notation like " '\u00e7' " (it just an example how to notate hex chars - my best guess is to have a look here).
Kozdoba said:
I would like to use Russian and QWERTY layout for Bluetooth keyboard.
Click to expand...
Click to collapse
I do not think this can be done without a very special app for the keyboard. Maybe you can mix up things by setting the soft keyboard to the one language and the hard keyboard to the other.
Will it work with the original Motorola Xoom Keyboard?
I do not know - but if you tell me it does not I will my best to make it work. The original Xoom Keyboard has a vendor code that may or may not be known to the us version of 3.2 now - if you want me to fix it contact me please.
Will it work with my XYZ brand keyboard?
That depends. In most cases - for example you can connect that keyboard to your pc successfully - it will work. Contact me if it does not.
Is it possible to remap the windows key to home?
Yes it is. Find the 'special version' (QWERTZ_Xoom_DE_Windowskey_as_Home.zip) below.
Btw: it's spelled QWERTZ and not QUERTZ.
Just telling you this because I've seen that you made the same mistake in another forum as well...
ooops ... you are right.
Silly mistake, sorry.
Riffer said:
Here is my version of a QWERTZ Keyboard Layout for german flashable by recovery.
I have a 3G Xoom with hc 3.2 modded for european running but it should work on every xoom afaik.
If you have root and you know what you do and you want a german keyboard layout for your german bluetooth or your usb keyboard you will have to take the following steps:
- download zip to your device
- move it to external sdcard (or internal in case you have the modded recovery for this)
- boot into recovery
- use "install zip from sdcard" to install
WARNING:
- if you toast your cat with this - I am not responsible for that!
- if you brick your device - look at the cat - I am not responsible for that!
For german speaking audience...
Click to expand...
Click to collapse
Does it give possibility to use both layout QWERTY and QWERTZ? Please could you provide some manual how to add another language. I would like to use Russian and QWERTY layout for Bluetooth keyboard.
Thanks.
it's also possible to install perfect keyboard free. after activating this keyboard you can also choose the german layout for the stock keyboard.
burgi400 said:
the german layout for the stock keyboard.
Click to expand...
Click to collapse
For an external hardware (usb or Bluetooth) keyboard?
Kozdoba said:
Does it give possibility to use both layout QWERTY and QWERTZ?
Click to expand...
Click to collapse
No. Its just a change to QWERTZ by replacing the mapping files.
Kozdoba said:
Please could you provide some manual how to add another language. I would like to use Russian and QWERTY layout for Bluetooth keyboard.
Click to expand...
Click to collapse
I will add some sentences to the start post for this.
also worth noting that some hardware keyboards will have their own .kl files, like the BT moto keyboard will load its own .kl file by default e.g Vendor_22b8_Product_093d.kl so modding generic .kl may not work for all external keyboards
Riffer said:
No. Its just a change to QWERTZ by replacing the mapping files.
I will add some sentences to the start post for this.
Click to expand...
Click to collapse
Thanks any way, but it's not decision that I need. I would like to have both languages on keyboard, because I use them 50/50.
Kozdoba said:
Thanks any way, but it's not decision that I need. I would like to have both languages on keyboard, because I use them 50/50.
Click to expand...
Click to collapse
Just to understand:
you want to use the same keyboard for qwerty and russian?
Riffer said:
Just to understand:
you want to use the same keyboard for qwerty and russian?
Click to expand...
Click to collapse
Yes, I need both layout on one keyboard. So I could use external keyboard for typing in Russian and English, like on virtual one. It's weird that Google or Moto forgot to add support for several languages for the virtual keyboard((
Is it possible to match the "windows"-key to the home button? Keycode is 117.
Yes it is.
Find the 'special version' in the starting post.
I have the same issue as Kozdoba.
Have an Apple wireless keyboard that I want to use with Swedish layout when writing email and messages, but in standard US layout mode otherwise.
It should be possible to switch between layouts when needed.
I guess this would require someone to make some custom changes to the Honeycomb input code, and for that Google need to release it into AOSP.
i flashed the zip, but not only the z/y buttons are switched, also many other buttons. but i would like to undo it. is there a flashable zip to, or do i have to restore my backup?
i would like to just change the z/y buttons
btw i am using the brand new ensington keyfolio for unversal 10" tabs

Categories

Resources