Aloshi / EmulationStation

A flexible emulator front-end supporting keyboardless navigation and custom system themes.
MIT License
2.08k stars 905 forks source link

Initial configuration of sixaxis controller failing #229

Open mattcarrier opened 10 years ago

mattcarrier commented 10 years ago

OS: ubuntu server (Trusty) ES: precompiled debian binary and manually compiled

Running sixad I can connect the sixaxis controller and see the controller working using jstest-gtk. When I start ES I can see "1 gamepad detected, Hold A button ..." any button I press or hold does not get recognized by ES. es_log.txt states that it has added an unconfigured Playstation3 controller. Let me know if there is any more information I can provide.

Aloshi commented 10 years ago

If you can, find/compile the SDL2 joystick test program (this) and see if it works correctly there.

You can also try disabling the accelerometers and see if that helps (enable_accel 0 in the sixad config file I think - see this).

nilsbyte commented 10 years ago

Is this problem resolved?

dudleydes commented 10 years ago

I am having similar problems with the Retropie image. When using the PS3 controller over the bluetooth, I too see "1 gamepad detected, Hold A button ..." everytime ES starts.

Accelerators are disabled in the sixad config. I shall try the SDL2 joystick test program that Aloshi suggested and report back soon.

dudleydes commented 10 years ago

Everytime I launch ES when using a PS3 controller over bluetooth, I get a welcome screen saying No gamepads detected. I activated the controller by the pressing the PS button during the ES splashscreen. Running the SDL2 joystick test program, I get the following output:

There are 1 joysticks attached
Joystick 0: Sony Computer Entertainment Wireless Controller
 axes: 4
 balls: 0
 hats: 0
 buttons: 19
instance id: 0
 guid: 050000004c0500006802000000010000
Watching joystick 0: (Sony Computer Entertainment Wireless Controller)
Joystick has 4 axes, 0 hats, 0 balls, and 19 buttons

It appears that the controller is working fine over BT but ES does not seem to pick it up which means I have remap ES everytime it launches.

As mentioned previously, accelerometers are disabled.

Please let me know if there is anything I can do in testing

moparisthebest commented 9 years ago

I ran into this too, emulationstation would never recognize my ps3 controllers. I managed to compile that SDL test program, and for reasons I can't explain, it detects 0 controllers when ran under my user, but 2 controllers when ran as root with sudo. emulationstation detects them also when ran with sudo. What I don't understand is jstest and jstest-gtk both detect them and work when NOT ran as sudo, so I guess it's not a permissions problem?

Any ideas?