Serious Sam 3: BFE
StarFscker Feb 21, 2013 @ 2:55pm
Gamepad support is bizarre [Linux]
I've got me a pair of Logitech game controllers (Bus 003 Device 007: ID 046d:c216 Logitech, Inc. Dual Action Gamepad)

Serious Sam detects them, I can start games but holy hell is it a cluster♥♥♥♥ when trying to use them.

If I press the wrong button, Sam starts shooting and will not stop until out of ammo, also he only seems capable of strafing left and right. I'm experimenting, trying to find logic in these controls, but I really just think that the gamepad configuration menu needs an overhaul, because I make little to no progress.
< >
Showing 1-15 of 19 comments
AlenL  [developer] Feb 22, 2013 @ 1:48am 
Do those controllers work correctly in Steam client Big Picture mode?
StarFscker Feb 22, 2013 @ 6:02pm 
Yes, they work properly in big Picture mode.
AlenL  [developer] Feb 23, 2013 @ 1:33pm 
I see. Well, we are working for a new implementation of the controller bindings system to fix problems like this.

Could you please just tell me whether it worked in Big Picture by default, or did you manually set up the buttons?
StarFscker Feb 27, 2013 @ 9:47pm 
I manually set up the buttons, and also I think I uploaded my button config after setting it up.
AlenL  [developer] Feb 28, 2013 @ 10:37pm 
Yeah that figures. Though we are not able to pull that config from Steam (AFAIK). We will have to make our own button rebinding system. Not the command rebinding, but the real low-level one, like Valve's, since those controllers have button numbers in different ranges, and various strange combinations, like buttons bound to sticks, etc.
I hope we can get a patch with that out soon. We don't have that controller, so I think you will have to create a binding for it first.
Last edited by AlenL; Feb 28, 2013 @ 10:39pm
StarFscker Mar 3, 2013 @ 10:33pm 
Well, I can label a jpg easily enough.
Benjamin Mar 8, 2013 @ 11:56pm 
Hi AlenL,
I noticed that some new games (like The Cave) are able to use the gamepad configuration from Big Picture Mode. This configuration data is located at the bottom of the file "config.vdf" in the "~/.local/share/Steam/config" folder.

I don't know if you are able to access this file directly from the game, but there must be some way to inherit the values here (since other games do it).

And thanks for your continued Linux support! I'll be buying your next game for sure.
AlenL  [developer] Mar 9, 2013 @ 8:27pm 
Benjamin, we had some discussion with Valve about being able to load Steam's controller config, but this is not yet feature-complete. Steam's system only defines one gamepad, but since our game has a system that reads multiple controllers (to allow for split-screen) it is unclear how to apply that data in some cases.

We already have a mapping system implemented and ready to ship in the next beta (probably this coming week). It should support all (or most) Logitech gamepads even in the first run (props to Logitech for offering to help us out on this), along with PS3 and Xbox360 gamepads. And users can create configs for new hardware and they should be easy to share. We will be including more configs (even user-made ones if they are confirmed good) into further patches as they are created.
Benjamin Mar 10, 2013 @ 4:57am 
Thanks for the info, Alen. It sounds like your system is already more robust then. I hadn't thought about the fact that Valve's BPM config only does one gamepad. I suppose Valve will have to add support for multiple configurations before they launch any Steam Boxes.

Thanks for the the awesome support though.
AlenL  [developer] Mar 10, 2013 @ 6:33am 
Note, though, that our system is not as nice an graphical as Valve's, but we require that you collect info from the log file and setup an xml file with the settings. For now. We will ship with settings for most (if not all) Logitech controllers for a start.
StarFscker Mar 10, 2013 @ 3:10pm 
Thanks for actively working on making Serious Sam 3 for Linux a more enjoyable experience. Split-Screen is a feature I'm really looking forward to utilizing the full potential of. If there's anything you need from me to help, let me know, I'll try my best.
STiAT Apr 8, 2013 @ 5:23am 
I personally have the same controller as written here (same HW-ID).

Now, for me in BigPicture Mode, the controller works as well. In TheCave it does not work at all - I don't even have an option to select the controller.

I noticed that you have a configuration for the RumblePads, though the device 046d:c216 is no rumblepad but an older one. As well as others have had problems with the F310 and F710, and had to add their own configurations like below, I guess I'll have to do the same for my gamepad. My questions to that:
How do you get the first string (030000006d0400001ec2000020200000)?
I guess the button mappings should be the same, since I have the same buttons as the RumblePads.

# Linux Configurations
030000006d0400001ec2000020200000,Logitech Rumble Gamepad F510(Linux),a:b0,b:b1,x:b2,y:b3,start:b7,back:b6,guide:b8,leftstick:b9,rightstick:b10,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:a2,righttrigger:a5,

For the F710:
#Logitech F710 Gamepad
030000006d0400001fc2000005030000,Logitech A710,a:b0,b:b1,y:b3,x:b2,start:b7,guide:b8,back:b6,leftstick:b9,rightstick:b10,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:a2,righttrigger:a5

030000006d0400001dc2000014400000,Logitech F310,a:b0,b:b1,x:b2,y:b3,start:b7,back:b6,guide:b8,leftstick:b9,rightstick:b10,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:a2,righttrigger:a5,
STiAT Apr 8, 2013 @ 5:46am 
I just found out that the F710, F310 etc. are taken out of the sdl code, and obviously are remapped.
My problem will be:
- Will that work for Dual Action Gamepad as well?
- Can I add a custom configuration for something unexisting as a definition in SDL?
- How do I find out the GUID of the Joypad which I need for SDL so it recognizes the device (I'd guess that is not done using the human readable name).
STiAT Apr 8, 2013 @ 6:26am 
Okay, got it, the proper config for the DualAction Gamepad is:
030000006d04000016c2000010010000,Logitech DualAction,a:b1,b:b2,y:b3,x:b0,start:b9,guide:b8,leftstick:b10,rightstick:b11,leftshoulder:b6,rightshoulder:b7,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftx:a0,lefty:a1,rightx:,righty:a2,lefttrigger:b4,righttrigger:b5,"
keks  [developer] Apr 8, 2013 @ 7:16am 
STiAT, this is not a controller config for Sam 3.

Here are instructions for creating controller config files

If you need help, please post your Sam3.log file after running the game with the controller plugged in.
Last edited by keks; Apr 8, 2013 @ 7:18am
< >
Showing 1-15 of 19 comments
Per page: 15 30 50

Date Posted: Feb 21, 2013 @ 2:55pm
Posts: 19