Is there a way i can read /dev/input/event file and generate key stokes?

Regards,
Hardik



On Sun, Apr 17, 2011 at 6:39 AM, Dianne Hackborn <[email protected]>wrote:

> Game pads are not currently supported.
>
> On Sat, Apr 16, 2011 at 12:56 PM, Belani <[email protected]> wrote:
>
>>
>> When I connect my USB logitech gamepad, it gets detected by android. I
>> found that It is listed in the /proc/bus/input/devices file. Also I
>> can see an entry in /dev/input/event6.
>>
>> I also tried cat and evtest on /dev/input/event6 and both show key
>> press data on the screen.
>>
>> However I am not getting any event in the onKeyDown event.
>>
>> Is there a way you can  get raw gamepad/joystick event in the app
>> (onKeyDown or other events)
>>
>> Thank,
>> Hardik
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" 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-developers?hl=en
>>
>
>
>
> --
> 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, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

Reply via email to