Support us on Patreon to keep GamingOnLinux alive. This ensures all of our main content remains free for everyone. Just good, fresh content! Alternatively, you can donate through PayPal. You can also buy games using our partner links for GOG and Humble Store.
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,970
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: «2/2
  Go to:

Cheeseness Jul 16, 2014
Quoting: aislanShut 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
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.

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
Quoting: Sabun
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.
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.