Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Tip us?
 
Nigel Park
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 4
Join Date: Nov 2008
Default 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?
 
Calvin.
Old
#2  
Junior Member
Thanks Meter 0
Posts: 17
Join Date: Jan 2009
I only changed eT9.Rose.wwe.kmap.txt and it worked just fine after reboot.
 
lelopet
Old
#3  
Member
Thanks Meter 0
Posts: 57
Join Date: Dec 2008
Location: Prague
Quote:
Originally Posted by Nigel Park View Post
HKLM/Software/Tegic/eT9/IME/KeyboardLayouFiles points to 0408 and wwe kmap files.
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...
 
Nigel Park
Old
#4  
Junior Member - OP
Thanks Meter 0
Posts: 4
Join Date: Nov 2008
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?
 
lelopet
Old
#5  
Member
Thanks Meter 0
Posts: 57
Join Date: Dec 2008
Location: Prague
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.
 
Nigel Park
Old
#6  
Junior Member - OP
Thanks Meter 0
Posts: 4
Join Date: Nov 2008
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?
 
lelopet
Old
#7  
Member
Thanks Meter 0
Posts: 57
Join Date: Dec 2008
Location: Prague
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...

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Profile Flow: A Tasker Alternative

By now, we’re all quite familiar with Tasker, the personal automation app that seems to be able to … more

More Tips to Help Promote Your Android App

With over 700,000 apps in the Google Play store and more than 48 billion app installs, it’s … more

Sony Continues AOSP Initiative on the Tablet Z

Sometimes, you can harp on a subject so much that you end upbeating a dead horse. In our eyes, … more