Forums » Android

Force close when trying to use joystick

Mar 30, 2012 Gary13579 link
Trying to use an OnLive Bluetooth Controller with VO. I have manually made the keylayout file in /system/usr/keylayout so that it behaves exactly as an Xbox 360 controller when the app uses the controller API introduced in 3.1. This works great on every other app that supports the 360 controller, including GTA3, Shadowgun, and Cordy.

When I open the app and hit play, it tells me that I need to use a special version for joystick support. I click "ok" and the app then force closes. Here is the logcat output (this includes everything from first starting the app, until the crash).

https://gist.github.com/2258339
Apr 01, 2012 greeze link
I'm getting this same problem with an actual wired Xbox 360 controller, so it may not be an issue specific to your controller or what you're trying to do with it.

I'm on an Asus Transformer Prime with keyboard dock and wired 360 controller. Running the .21 firmware update (ICS 4.0.3, I believe). Same problem as above: VO detects the joystick, but FC's the moment I tap "Yes" to restart in joystick mode. I don't know what a logcat is, but will gladly provide it if someone can walk me through the steps.
Apr 04, 2012 abortretryfail link
logcat is a command that reads out Android's log file. You can access it right from the device via an app called 'aLogcat' or by plugging it in to your PC and using the Android SDK's adb command.
Apr 04, 2012 Gary13579 link
I figured this may be due to ASUS's decision to ship ICS without the xpad kernel module (herpderp), so I went ahead and compiled and inserted it. The xpad module works great, but VO still crashes. I sent a much more detailed crash report to where-ever these reports go, so hopefully the developers will be able to use the crash reports to determine the issue. I'd really like to be able to use a controller to play VO :(.
Apr 04, 2012 Gary13579 link
greeze, could you do me a huge favor? Using your TFP's keyboard dock, login and launch your ship. Accelerate by holding down the W key, and keep it pressed down. Then start tapping the left arrow key. Tap it repeatedly several times, all while holding down W. Does your ship get stuck turning left?