Hi Umakanta Patro, thanks you reply i have been checking that link but i got these below error while building rootfs
030_Keypad.kcm:20: not enough on this line: type FULL
device/ti/omap3evm/TWL4030_Keypad.kcm:24: not enough on this line: key A {
device/ti/omap3evm/TWL4030_Keypad.kcm:25: not enough on this line: label:
'A'
device/ti/omap3evm/TWL4030_Keypad.kcm:26: not enough on this line: base:
'a'
device/ti/omap3evm/TWL4030_Keypad.kcm:27: not enough on this line: shift,
capslock: 'A'
device/ti/omap3evm/TWL4030_Keypad.kcm:28: not enough on this line: ctrl,
alt, meta: none
device/ti/omap3evm/TWL4030_Keypad.kcm:29: not enough on this line: }
device/ti/omap3evm/TWL4030_Keypad.kcm:31: not enough on this line: key B {
device/ti/omap3evm/TWL4030_Keypad.kcm:32: not enough on this line: label:
'B'
device/ti/omap3evm/TWL4030_Keypad.kcm:33: not enough on this line: base:
'b'
device/ti/omap3evm/TWL4030_Keypad.kcm:34: not enough on this line: shift,
capslock: 'B'
device/ti/omap3evm/TWL4030_Keypad.kcm:35: not enough on this line: ctrl,
alt, meta: none
device/ti/omap3evm/TWL4030_Keypad.kcm:36: not enough on this line: }
device/ti/omap3evm/TWL4030_Keypad.kcm:38: not enough on this line: key C {
device/ti/omap3evm/TWL4030_Keypad.kcm:39: not enough on this line: label:
'C'
device/ti/omap3evm/TWL4030_Keypad.kcm:40: not enough on this line: base:
'c'
device/ti/omap3evm/TWL4030_Keypad.kcm:41: not enough on this line: shift,
capslock: 'C'
device/ti/omap3evm/TWL4030_Keypad.kcm:42: not enough on this line: alt:
'\u00e7'
device/ti/omap3evm/TWL4030_Keypad.kcm:43: not enough on this line:
shift+alt: '\u00c7'
device/ti/omap3evm/TWL4030_Keypad.kcm:44: not enough on this line: ctrl,
meta: none
device/ti/omap3evm/TWL4030_Keypad.kcm:45: not enough on this line: }
device/ti/omap3evm/TWL4030_Keypad.kcm:46: too many errors. stopping.
make: ***
[out/target/product/omap3evm/obj/KEYCHARS/TWL4030_Keypad.kcm_intermediates/TWL4030_Keypad.kcm.bin]
Error 1
make: *** Waiting for unfinished jobs....
please check my .kcm file
On Thu, Oct 25, 2012 at 4:37 PM, Umakanta Patro <[email protected]> wrote:
> Take a look into the below link:
>
> http://source.android.com/tech/input/key-character-map-files.html
>
> Here in your .kcm file you need to specify the functionality for the
> button with shift being pressed.
> Also you need to register your shift key with the flag "SHIFT" in your .kl
> file.
>
> Doc on .kl file format and syntax:
> http://source.android.com/tech/input/key-layout-files.html
>
> Thanks & regards,
> Umakanta Patro
>
> On Thursday, 25 October 2012 13:11:38 UTC+5:30, venkat k raju wrote:
>
>> HI Matthias Brugger,
>>
>> for single key i have done configuration and it's working fine.
>>
>>
>> i have mapped
>> 1(a,b,c) 2(d,e,f) 3(g,h,i) 4(j,k,l)
>> 5(m,n,o) 6(p,q,r) 7(s,t,u) 8(v,w,x)
>> 9(y,z) 0(space) cancel enter
>> menu shift alt power
>>
>> can you tell me how can you shift functionalities like
>> shilt+1 =a,b,c
>>
>>
>>
>>
>> On Wed, Oct 24, 2012 at 3:59 PM, venkat k raju <[email protected]>wrote:
>>
>>> Hi Matthias Brugger,
>>> thank you
>>>
>>> i will look at and i will come back to you
>>>
>>>
>>> On Wed, Oct 24, 2012 at 3:30 PM, Matthias Brugger
>>> <[email protected]>wrote:
>>>
>>>> On 10/24/2012 10:52 AM, venkat k raju wrote:
>>>>
>>>>> Hi Matthias Brugger,
>>>>>
>>>>> in this case android virtual keypad not working properly,because if i
>>>>> made changes in generic.kl,generic.kcm
>>>>> i don't want to change android virtual keypad functionality i need
>>>>> both should work properly
>>>>>
>>>>
>>>> don't edit the generic.kl but create your own one, which will be loaded
>>>> by android. it should have the name of the keypad you use.
>>>>
>>>> Have a look at
>>>> frameworks/base/services/input
>>>> and
>>>> frameworks/base/libs/ui
>>>>
>>>> for the implementation.
>>>>
>>>>
>>>>
>>>>>
>>>>> On Wed, Oct 24, 2012 at 1:36 PM, Matthias Brugger <[email protected]
>>>>> <mailto:[email protected]>> wrote:
>>>>>
>>>>> On 10/24/2012 06:46 AM, venkat k raju wrote:
>>>>>
>>>>>
>>>>>
>>>>> Dear all,
>>>>>
>>>>> i am working with am3703 custom board and tps65930,tps65930
>>>>> have
>>>>> (6x6)
>>>>> Keypad Interface.
>>>>>
>>>>> now i want to integrate this keypad interface to my
>>>>> targetboard with
>>>>> android OS.
>>>>>
>>>>> i don't want to change android virtual keypad functionality i
>>>>> need both
>>>>> should work properly like
>>>>> whatever functionality i have assign to hardware key's it's
>>>>> work
>>>>> and as
>>>>> well as virtual keypad default android stack have
>>>>>
>>>>> can anybody suggest me some tips for this
>>>>>
>>>>>
>>>>> There are two ways:
>>>>> 1. create a key layout file named after your keyboard. this should
>>>>> be loaded automatically by Android.(copy it to
>>>>> /system/usr/keylayout)
>>>>> 2. change the kernel driver of your keypad to send the keys you
>>>>> want
>>>>> to the Android userspace framework. By default, Android uses the
>>>>> generic.kl and generic.kcm files.
>>>>>
>>>>> Good luck.
>>>>> Matthias
>>>>>
>>>>>
>>>>> thanks&Regards
>>>>> k.v.raju
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the
>>>>> Google
>>>>> Groups "rowboat" group.
>>>>> To post to this group, send email to [email protected]
>>>>> <mailto:row...@googlegroups.**c**om>.
>>>>>
>>>>> To unsubscribe from this group, send email to
>>>>>
>>>>> rowboat+unsubscribe@__googlegr****oups.com<http://googlegroups.com>
>>>>> <mailto:rowboat%2B...@****googlegroups.com>.
>>>>>
>>>>> For more options, visit this group at
>>>>>
>>>>> http://groups.google.com/__**gro**up/rowboat?hl=en<http://groups.google.com/__group/rowboat?hl=en>
>>>>>
>>>>> <http://groups.google.com/**grou**p/rowboat?hl=en<http://groups.google.com/group/rowboat?hl=en>
>>>>> >.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> thanks&Regards
>>>>> k.v.raju
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "rowboat" group.
>>>>> To post to this group, send email to [email protected].
>>>>>
>>>>> To unsubscribe from this group, send email to
>>>>> rowboat+u...@**googlegrou**ps.com.
>>>>>
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/**group**/rowboat?hl=en<http://groups.google.com/group/rowboat?hl=en>
>>>>> .
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> thanks&Regards
>>> k.v.raju
>>>
>>
>>
>>
>> --
>> thanks&Regards
>> k.v.raju
>>
> --
> You received this message because you are subscribed to the Google Groups
> "rowboat" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rowboat/-/zc6kvzfoyO4J.
>
> 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/rowboat?hl=en.
>
--
thanks&Regards
k.v.raju
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
TWL4030_Keypad.kcm
Description: Binary data
