We do often include affiliate links to earn us some pennies. See more here.
Unity Linux developer Levi Bard has reached out to ask the community for help in gathering a comprehensive list of game pad mappings.

Unity 5 will be supporting SDL style mappings, which should make it easier for developers to make use of existing work that's out there in the community. It will also be supporting SDL_GAMECONTROLLERCONFIG, which amongst other things is used by Steam Big Picture mode to communicate its game pad bindings to games.

QuotePost your gamepad configs!
I'd like to collect Linux configurations for all the gamepads being used out there.
Steps:
• Configure your gamepad in Steam's Big Picture mode ( http://schier.co/post/gamepad-support-on-steam-for-linux )
• Grab the configuration string from the SDL_GamepadBind section of ~/.local/share/Steam/config/config.vdf
(e.g. 030000004c0500006802000011010000,PS3 DualShock controller,a:b14,b:b13,y:b12,x:b15,start:b3,guide:b16,back:b0,leftstick:b1,rightstick:b2,leftshoulder:b10,rightshoulder:b11,dpup:b4,dpleft:b7,dpdown:b6,dpright:b5,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:b8,righttrigger:b9,)
• Add your configuration in a comment to this post



Additionally, if you have something that's not in this repo of community maintained SDL2 bindings, consider throwing that a pull request! Article taken from GamingOnLinux.com.
Tags: Unity
0 Likes
About the author -
author picture
Game developer, Linux helper person, and independent writer/interviewer.

Currently working on Winter's Wake, a first person text adventure thing and its engine Icicle. Also making a little bee themed base builder called Hive Time :)

I do more stuff than could ever fit into a bio.
See more from me
The comments on this article are closed.
All posts need to follow our rules. For users logged in: please hit the Report Flag icon on any post that breaks the rules or contains illegal / harmful content. Guest readers can email us for any issues.
14 comments

Tak Jul 15, 2014
I will of course contribute everything gathered to https://github.com/gabomdq/SDL_GameControllerDB as well. :)
Liam Dawe Jul 15, 2014
This is really good news, as it's less work for developers who have had to put them in manually.
Armand Raynal Jul 15, 2014
My favorite controller, the Sixaxis/dualshock 3, is not supported either on SteamOS or on big picture on windows(expect if i use DS3 tool).
Tak Jul 15, 2014
My favorite controller, the Sixaxis/dualshock 3, is not supported either on SteamOS or on big picture on windows(expect if i use DS3 tool).

Eh? I'm using the dualshock 3 as my primary gamepad.

Over USB, it Just Works™. Via bluetooth, you do have to use sixad (I'm using a PPA, but that's because the gamepad itself doesn't actually use the standard bluetooth stack.

I made a little utility for switching back and forth from sixad to "normal" bluetooth operating mode - you're welcome to try it.
kozec Jul 15, 2014
So much work instead of leting user to configure damn thing... :><:
Sabun Jul 15, 2014
My favorite controller, the Sixaxis/dualshock 3, is not supported either on SteamOS or on big picture on windows(expect if i use DS3 tool).

I have to agree with Tak that the PS3 dualshock 3 controllers work fine with SteamOS. I tested it just now on the latest Alchemist update to make double sure of it.
Here's me controlling my buggy goat with it on SteamOS:
http://i.imgur.com/sO2O7VE.jpg
Here's me maneuvering the SteamOS menu's with the DualShock 3 SixAxis:
http://i.imgur.com/FA5REXm.jpg
SteamOS even detects it as a PS3 controller right off the bat:
http://i.imgur.com/7HUPxT0.jpg

All I did to get it working was connect it via a cheap USB cable (seen here):
http://i.imgur.com/AH42ywL.jpg

Wireless is of course another thing entirely, and I don't have any bluetooth connectors for it to begin with.
Armand Raynal Jul 15, 2014
Ok Guys, reading you i was wondering if I was dumb, so I made a video to show you that, on my setup, it does not work :

View video on youtube.com

Sorry for the large black side, guess what, I used my phone.
Maokei Jul 15, 2014
They should bring their editor to linux.
Daverball Jul 15, 2014
Ok Guys, reading you i was wondering if I was dumb, so I made a video to show you that, on my setup, it does not work :
[...]
I remember having to press the home button, before the controller would accept any other input, apart from that, the DS3 is working out of the box for me as well. Also the Controller usually needs to be connected before you start Steam if I remember correctly.
aislan Jul 16, 2014
Shut up and bring editor to Linux!!! :><:
Cheeseness Jul 16, 2014
Shut up and bring editor to Linux!!! :><:

Surely you understand just how inappropriate and counterproductive that comment is in this context. I hope very much that you will edit it and find other, more productive ways to request editor support that show a little more respect for the people whose efforts you are hoping to engage.
Sabun Jul 16, 2014
Ok Guys, reading you i was wondering if I was dumb, so I made a video to show you that, on my setup, it does not work.

Three quick questions. First, are you plugged into a USB 2 or USB 3 slot? It might make a difference, although unlikely as both work for me.

Secondly, is it certain that the USB cable you are using is not faulty in any way? I've had black USB cables like this work with some devices and not others, making me think the other devices were broken. It was just a shoddy USB cable, which is why I bought this new one.

Third, after plugging in the DualShock 3 controller, have you held down the PS button until a menu appears in SteamOS? That's usually what I have to do initially to get it recognized for input.

These are just some steps I would advise when attempting to troubleshoot why it doesn't work. Have you navigated to the controller section in SteamOS via keyboard+mouse whilst the PS3 controller is plugged in? Does it say PS3 controller or nothing at all?
Armand Raynal Jul 16, 2014
Ok Guys, reading you i was wondering if I was dumb, so I made a video to show you that, on my setup, it does not work.
Three quick questions. First, are you plugged into a USB 2 or USB 3 slot? It might make a difference, although unlikely as both work for me.

Secondly, is it certain that the USB cable you are using is not faulty in any way? I've had black USB cables like this work with some devices and not others, making me think the other devices were broken. It was just a shoddy USB cable, which is why I bought this new one.

Third, after plugging in the DualShock 3 controller, have you held down the PS button until a menu appears in SteamOS? That's usually what I have to do initially to get it recognized for input.

These are just some steps I would advise when attempting to troubleshoot why it doesn't work. Have you navigated to the controller section in SteamOS via keyboard+mouse whilst the PS3 controller is plugged in? Does it say PS3 controller or nothing at all?

Plugged at a USB2.0 port. The cable work fine on windows with DS3 tool.

I didn't pull the home button for a long time. I just touched it quickly as you can see in the video.
Nothing in the settings.

I'll try what you recommended, and post here to tell if it worked or not. Anyway, thanks for your reply.
Tak Jul 16, 2014
Just remembered - there's also a recent regression in the sony hid driver.

If you're using an affected kernel (check /var/log/syslog for error messages marked "sony"), this may be hitting you.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.