Thursday, December 20, 2012

[android-developers] Limited support for gamepads

It looks like Android has very limited support for gamepads.
If I plug in a PS3 controller into the USB Host port of my tablet, I see this on the tty:

D/EventHub(  281): No input device configuration file found for device 'Sony PLAYSTATION(R)3 Controller'.
I/EventHub(  281): New device: id=5, fd=200, path='/dev/input/event3', name='Sony PLAYSTATION(R)3 Controller', classes=0x80000141, configuration='', keyLayout='/system/usr/keylayout/Vendor_054c_Product_0268.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, usingSuspendBlockIoctl=false, usingClockIoctl=false
I/InputReader(  281): Joystick 'Sony PLAYSTATION(R)3 Controller' has 28 axes but the framework only supports a maximum of 14.
I/InputReader(  281): Discarding joystick 'Sony PLAYSTATION(R)3 Controller' axis 63 because there are too many axes.
I/InputReader(  281): Discarding joystick 'Sony PLAYSTATION(R)3 Controller' axis 62 because there are too many axes.
I/InputReader(  281): Discarding joystick 'Sony PLAYSTATION(R)3 Controller' axis 61 because there are too many axes.
I/InputReader(  281): Discarding joystick 'Sony PLAYSTATION(R)3 Controller' axis 60 because there are too many axes.
I/InputReader(  281): Discarding joystick 'Sony PLAYSTATION(R)3 Controller' axis 59 because there are too many axes.
I/InputReader(  281): Discarding joystick 'Sony PLAYSTATION(R)3 Controller' axis 58 because there are too many axes.
I/InputReader(  281): Discarding joystick 'Sony PLAYSTATION(R)3 Controller' axis 57 because there are too many axes.
I/InputReader(  281): Discarding joystick 'Sony PLAYSTATION(R)3 Controller' axis 56 because there are too many axes.
I/InputReader(  281): Discarding joystick 'Sony PLAYSTATION(R)3 Controller' axis 55 because there are too many axes.
I/InputReader(  281): Discarding joystick 'Sony PLAYSTATION(R)3 Controller' axis 54 because there are too many axes.
I/InputReader(  281): Discarding joystick 'Sony PLAYSTATION(R)3 Controller' axis 53 because there are too many axes.
I/InputReader(  281): Discarding joystick 'Sony PLAYSTATION(R)3 Controller' axis 52 because there are too many axes.
I/InputReader(  281): Discarding joystick 'Sony PLAYSTATION(R)3 Controller' axis 51 because there are too many axes.
I/InputReader(  281): Discarding joystick 'Sony PLAYSTATION(R)3 Controller' axis 50 because there are too many axes.
I/InputReader(  281): Device added: id=5, name='Sony PLAYSTATION(R)3 Controller', sources=0x01000511

Only half the axes are supported!
This is on a tablet with Android 4.1.1

  Bram

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate