RCU mapping

260 views
Skip to first unread message

Damir Miljkovic

unread,
Dec 10, 2014, 10:18:23 AM12/10/14
to android-...@googlegroups.com
Hi all,

I have to do RCU mapping which I don't quite understand. *.kl is clear, this is for mapping keys from kernel to values in android framework but what about *.kcm file? My RCU has numbers from 0-9 and letters are printted out when I press keys multiple times (a, b, c on number 2), except 0 which only prints out only 0 and + (I need a space but i don't know how to map it).
Second thing is that when I open chrome I can write letters in URL (search) bar, but when I actually open any web page I can only write letters in input text fields, this doesn't make any sense to me.
Could anyone help me to understand this key layout mapping, take look at attached file.

Thnx in advance.
mapping_file.kcm

Glenn Kasten

unread,
Dec 10, 2014, 10:37:37 AM12/10/14
to android-...@googlegroups.com
Sorry if this is a dumb question, but I don't understand what "RCU" means in this message.
None of the terms at the link seem to apply, so it must mean something else. Can you please explain?

Damir Miljkovic

unread,
Dec 10, 2014, 4:19:25 PM12/10/14
to android-...@googlegroups.com
I am sorry RCU is remote control unit, plain remote control for TV

Damir Miljkovic

unread,
Dec 15, 2014, 3:12:53 PM12/15/14
to android-...@googlegroups.com
Anyone?

mich...@android.com

unread,
Dec 22, 2014, 6:54:22 PM12/22/14
to android-...@googlegroups.com
http://s.android.com/devices/input/key-character-map-files.html is your best source of information on KCM files, so make sure to give it a thorough read.

That being said, could you describe exactly what you expect / want in each circumstance vs. what you're getting? I'm not sure I fully understand what you're looking for yet.

Damir Miljkovic

unread,
Dec 23, 2014, 2:09:40 PM12/23/14
to android-...@googlegroups.com
For example: how do I add mapping for 0 when pressed multiple times to get following output:
1 press: 0
2 press: space
3 press: ,
4 press: +

Michael Wright

unread,
Dec 23, 2014, 4:23:56 PM12/23/14
to android-...@googlegroups.com
Ah, yeah, that's not possible with just KCM / KL files. You'd have to build your own IME to do something like that.


--
You received this message because you are subscribed to a topic in the Google Groups "android-platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-platform/huyOreUZufM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-platfo...@googlegroups.com.
To post to this group, send email to android-...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/d/optout.

Damir Miljkovic

unread,
Dec 23, 2014, 11:48:39 PM12/23/14
to android-...@googlegroups.com
Can you give me an example how to implement this with LatinIME, I am trying to understand how this exactly works.

Thnx
Reply all
Reply to author
Forward
0 new messages