Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For whatever reason I can never get any of my controllers to work properly on Ubuntu. The main one I want to get working is the Xbox 360 controller (wired, not wireless). It detects the L and R triggers as axis which causes serious issues in a majority of games. I press any of the triggers and it suddenly makes the game unplayable. A similar issue occurs with the PS3 Controller.

I thought that if I bought a PC game controller it would fix my issue...but man was I wrong. Is there some type of secret method to getting this to work...I'm so irritated!!!

Even configuring inputs for emulators is a pain. If I press say "A" once it shoots the entire list down with Button 1.

share|improve this question
The XBox 360 controller's triggers are analog though, not digital. So they should be read as such. – dobey Dec 23 '12 at 18:23
You could try using Qjoypad or something similar, as that has allowed me to use gamepads in dosbox and native games, etc, where either there was a problem, or the game itself did not support any sort of gamepad. See the useful answers for this question – user76204 Dec 23 '12 at 18:28
I've used Qjoypad and various apps before and none seem to fix this issue. The issue seems to be that the Axis input gets "stuck" making the computer think that it's not being released. Similar things happen with other buttons. Pressing A, B, Y, X once sends the computer multiple signals for each. Resulting in multiple button presses. – Matthew Dec 23 '12 at 18:40

One way to fix your problems is to use xboxdrv:

It's a userspace driver for the Xbox360 controller that allows you to configure and remap your controller, so that triggers are handled as buttons instead of axis and things like that, the --trigger-as-button option is what you want.

share|improve this answer
My controller is being detected as a "logic3" 0e6f:0401 thus isn't being picked up by xboxdrv (and might be my issue all together). It's a gamestop Xbox 360 wired controller. I'm sure it would work if I somehow added the ID to xboxdrv..any ideas on how to do that? – Matthew Dec 25 '12 at 1:19
xboxdrv --device-by-id 0e6f:0401 --type xbox360 – Grumbel Dec 25 '12 at 9:07
@Matthew That's odd, I have a Gamestop Xbox360 wired controller and it's detected as an Xbox controller perfectly fine. I don't see why yours would be any different. – japzone Dec 29 '12 at 23:11
To get the right device-by-id for that command you want to run lsusb and look for microsoft xbox 360 controller – Jared Rosenberg Sep 22 '15 at 14:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.