Support me on Patreon to keep GamingOnLinux (and me) alive.
Unity Looking To Expand Linux Game Pad Support In Unity 5
Posted by , 15 July 2014 at 10:17 am UTC / 5358 views
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!

Game developer, Linux helper person, Launceston coordinator of TasLUG, handsome random steamlug community member, and independent writer/interviewer.

Currently working on Winter's Wake, a first person text adventure thing

I do more stuff than could ever fit into a bio.

Comments on this article are now closed.
Tak commented on 15 July 2014 at 10:22 am UTC

I will of course contribute everything gathered to https://github.com/gabomdq/SDL_GameControllerDB as well.


liamdawe commented on 15 July 2014 at 10:38 am UTC

This is really good news, as it's less work for developers who have had to put them in manually.


Armand Raynal commented on 15 July 2014 at 10:44 am UTC

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 commented on 15 July 2014 at 12:13 pm UTC

Armand RaynalMy 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 commented on 15 July 2014 at 12:43 pm UTC

So much work instead of leting user to configure damn thing...


Sabun commented on 15 July 2014 at 12:53 pm UTC

Armand RaynalMy 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 commented on 15 July 2014 at 2:19 pm UTC

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 :


Sorry for the large black side, guess what, I used my phone.


Maokei commented on 15 July 2014 at 3:35 pm UTC

They should bring their editor to linux.


Daverball commented on 15 July 2014 at 4:11 pm UTC

Armand RaynalOk 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.


stan commented on 15 July 2014 at 6:25 pm UTC

TakI will of course contribute everything gathered to https://github.com/gabomdq/SDL_GameControllerDB as well.
I made a pull request for my PS2 pad… (first time I do that, figured it was a good occasion to learn.)


  Go to:
Release Calendar
Popular this week
View by Category
Contact
Twitter
Facebook
Who's Online
There are 258 in total online.
Users online: C7z, Chelsea Grin, dmantione, edddeduck_feral, Lakorta, manus76, natewardawg, nIQnutn, Piejacker875, redshift
Misc