Hi-
Can anybody help me further on this?
Rgds

---------- Forwarded message ----------
From: Karthik Kannappan <[email protected]>
Date: Feb 14, 3:13 am
Subject: Keyboard support in cupcake
To: android-framework


Dianne-
Sorry for the delayed response to yours.  Thanks for the info;
however, have the following:
1. If qwerty.kl an example of the file that converts scan codes to
Android key codes?  I ran "getevent" (which I assume provides the scan
codes from the driver) on the device and was able to understand what a
line like "key 16    Q" in qwerty.kl meant.  However, qwerty.kl does
not seem to cover all the keys on the G1 phone.  Is there
documentation on how to interpret qwerty.kl?
2. Can you also let me know what the filename is for the one that
converts Android key codes to the Unicode chars?
3. Does KeyCharacterMap need to be modified, as it seems to be a
component that is generating Unicode characters?
4. How are meta keys to be handled or not?  Do we just handle the
keycode  of a "normal" key, check the state of the meta key(s) and
then determine the actual character that has been pressed?

Do you have any reference site that would take us through the various
steps to replace/add akeyboard?

Thanks.

On 2/11/09, Dianne Hackborn <[email protected]> wrote:



> Your driver can generate report whatever scan codes you want, and there are
> two files, one for mapping from scan codes to Android key codes, and another
> for translating Android key codes to Unicode characters.  For a QWERTY
>keyboardyou should only have to replace the scan code file.  Or you could
> just report the same scan codes as the G1 driver.

> On Wed, Feb 11, 2009 at 4:34 PM, Karthik <[email protected]>wrote:

>> Hello-
>> We are looking to replace the current physicalkeyboard.  What is the
>> best way to go about doing this?  At the kernel level and at the
>> android framework level?
>> Thanks.
>> -karthik

> --
> Dianne Hackborn
> Android framework engineer
> [email protected]

> Note: please don't send private questions to me, as I don't have time to
> provide private support.  All such questions should be posted on public
> forums, where I and others can see and answer them.- Hide quoted text -

- Show quoted text -

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to