You can sign up to get a daily email of our articles, see the Mailing List page.
We do often include affiliate links to earn us some pennies. See more here.

Unity Looking To Expand Linux Game Pad Support In Unity 5

By - | Views: 15,914
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.
14 comments
Page: 1/2»
  Go to:

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
Quoting: 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 Jul 15, 2014
So much work instead of leting user to configure damn thing... :><:
Sabun Jul 15, 2014
Quoting: 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 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
Quoting: 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.
aislan Jul 16, 2014
Shut up and bring editor to Linux!!! :><:
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.