Re: [android-developers] gamepad events in InputEvent onKeyDown event

2012-02-13 Thread Ian Ni-Lewis
Since this thread is still the top result returned if you search d.a.c for "gamepad," I thought I'd make a quick update. USB gamepads are supported on Android 3.1 and above via new additions to android.view.InputDevice. InputDevice can now report input events for analog axes, and there are some

Re: [android-developers] gamepad events in InputEvent onKeyDown event

2011-04-18 Thread Dianne Hackborn
Sorry, no. On Mon, Apr 18, 2011 at 11:33 AM, Hardik Belani wrote: > > 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 wrote: > >> Game pads are not currently supported. >> >> On Sat, Apr 16, 20

Re: [android-developers] gamepad events in InputEvent onKeyDown event

2011-04-18 Thread Hardik Belani
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 wrote: > Game pads are not currently supported. > > On Sat, Apr 16, 2011 at 12:56 PM, Belani wrote: > >> >> When I connect my USB logitech gamepad, it gets

Re: [android-developers] gamepad events in InputEvent onKeyDown event

2011-04-16 Thread Dianne Hackborn
Game pads are not currently supported. On Sat, Apr 16, 2011 at 12:56 PM, Belani 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 an

[android-developers] gamepad events in InputEvent onKeyDown event

2011-04-16 Thread Belani
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