I like this room. But well, It’s just not for me. Instead I like playing old games with emulators, like zsnes (Super Nintendo) or MAME (Arcade) or even dolphin (Gamecube). And when playing emulated games, I recommend Ubuntu, even if other operating systems have a marketshare edge (for now).
Ubuntu has been a first class citizen with many emulators for some time now. I think the idea of a free operating system running mutliple console platforms on commodity hardware just has a certain nerd-charm, so the platform has recieved a lot of attention from emulator writers. But to get a true console/arcade experience you need to move beyond the keyboard … to a gamepad of some kind.
Admit it: arcade and console games are more fun to play with a gamepad. Usually the system-specifc controller is the best, but a good one like the sixaxis controller, or the xbox controller are reasonable substitutes for the platform native varieties. You can get close to that picture without being the guy in that picture.
10 years ago, Linux distributions were downright awful at using gamepads. Given how hard and adware ridden this process can be in other operating systems, I really wasn’t looking forward to configuring my gamepad on Ubuntu today.
My, how the landscape has changed with Ubuntu. To set up a Sixaxis controller under Ubuntu, follow the steps below:
- Plugin your sixaxis controller over USB and press the
Yes folks, that is it. I put in a single list item to illustrate how poor my writing skills are and how easy this process is.
Now that your head is spinning from awe of how easy things have become in Ubuntu, it’s time to temper that elation with some facts. Things don’t always go right. Your needs maybe different than mine, and your controller may not work right away in exactly the way you want it to. So, I thought a small section on tips and configuration might be in order.
Let’s test that controller:
1 2 3
If things are going right, when you plugin the controller you will see output like this in your syslog:
1 2 3 4 5 6 7 8 9 10 11
Now, run the
jstest /dev/input/js0 command. When you press the buttons, you
should see numbers changing on your screen. When I first did this, I did not.
It turns out I had to reset
the controller to factory defaults, and everything worked fine after that
(paperclip-sized-hole underneath the controller close to the left trigger
Do you want some lower-level configuration? If you are running a sixaxis controller on Ubutnu, you just might be that type of person. Go checkout the Ubuntu Sixaxis page, which talks about how to pair the device over bluetooth, even how to use the really cool QTSixA tool.
But enough of reality, if you have /dev/input/js0 and jstest works, you are golden. All your games and emulators should now “just work”.
Thanks Ubuntu developers and community, and happy gaming!