Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

I have an XBox joypad:

Bus 005 Device 004: ID 045e:0289 Microsoft Corp. Xbox Controller S

When I start Bastion from the terminal the following is output:

Number of joysticks: 1

Number of buttons for joystick: 0 - 10

Number of axes for joystick: 0 - 6

Number of PovHats for joystick: 0 - 1

When I load up the game it displays a message "press any key" and at this point, if I press a button on the joypad it advances to the main menu. However, the up/down/left/right controls do not work and the button will not operate the menu. When I enter the control configuration, the joypad section is disabled and displays a message "joypad not detected." If I enter the control customization and try to reconfigure one of the controls, noises can be heard when pressing joypad buttons, but the input is otherwise ignored.

Further information which may or may not be relevant:

  • My controller is an original Xbox controller, not a 360 controller. XNA games on Windows apparently only work with Xbox360 controllers because they use xinput rather than direct input, see eg here.

  • My controller works (almost) properly with MonoGame trunk samples, but Bastion uses a modified MonoGame and crashes when run against trunk, so I can't add debugging to see where the problem is.

  • Bug can also be reproduced with a Xbox 360 wired controller.

share|improve this question
I have the same issue with a 360 controller, precise 64 bit – psylockeer Jun 3 '12 at 14:08
Same here... :( – alemur Jun 3 '12 at 14:36
Same here. (huh, there is a character minimum) – senshikaze Jun 4 '12 at 18:33
up vote 2 down vote accepted

This is fixed in the latest package from the Software Centre.

share|improve this answer

SuperGiant Games has not included joystick support for the linux release. Perhaps in a later update.

share|improve this answer
too bad :-( thanks anyway – psylockeer Jun 8 '12 at 23:50

You can try using the qjoypad to do joystick to keyboard emulation:

You need to install the playdeb ppa's to get it to show up in the software centre, all of the instructions are on the playdeb site. it works awesome.

share|improve this answer

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.