scorlibrian  [développeur] 22 oct 2013 à 18h01
Linux controllers!
So we now have a machine running Ubuntu 12.04 and we did some testing with the xbox 360 controller. I got it working using the XBoxDriver tutorial on this site:

http://www.omgubuntu.co.uk/2013/07/dealing-with-xbox-controllers-in-ubuntu

After following the instructions, I tested the game and confirmed that the buttons do not autofire. Double jump seems to work fine.

The problems people are having might stem from having multiple drivers running. I know xpad comes standard in Ubuntu and I had to blacklist it. That might account for multiple keypresses registered with one push.

Respond here with the distro you're using and the drivers you're using to get the gamepad working if you're still having problems with this.
Affichage des commentaires 1 à 15 sur 17
< >
NoXPhasma 22 oct 2013 à 19h40 
My distro is Linux Mint 13 x64, which based on Ubuntu 12.04.

I have used xpad and xboxdrv and have the problems with both of them. I'm using the backport kernel 3.8.0. Can you pls test it with that kernel too? Because I'm starting to think it could be the newer kernel which started to make these problems, because I have the problems in several unity3d games now.

And as I wrote, there is no difference for me if I use the xboxdrv or xpad driver.

*edit*
I've installed the original kernel 3.2.0 and I can say it's not depending of the kernel version. No matter if I use xpad or xboxdrv, I have auto-fire :(

*edit2*
As a note, I tried xboxdrv version 0.8.4 and 0.8.5 without any difference.
Hyeron 2 déc 2013 à 10h31 
Xubuntu 13.10 x64

Xpad and xboxdrv, X360 controller (wired) and Logitech F310.

Autofire still occurs in all four possible configurations (one pad connected at a time to make sure there's no problem with multiple input). Basically, the game ranges from a PITA to unplayable, depending on the level, and will probably become completely broken and unbeatable once double jump comes into play.
FrigidMT 6 déc 2013 à 11h25 
I just wanted to say thank you for controller support. It has made the game a lot more enjoyable.
ubuntu 12.04 & xboxdrv 0.8.2 w/ xbox wireless controller (everything works great)
Hyeron 8 déc 2013 à 8h57 
Quick update.
It seems - once again - that it's a problem with the mouse.
I have a Trust GXT31, recognized as an A4Tech. While it works fine on its own, it's also - somehow - recognized as a joystick. And Unity games seem to have taken quite a liking to joypad mice or whatchamacallit (see Expeditions: Conquistador, Ravensword, Beatbuddy).
Simple solution until a proper fix comes around :
A. Unplug the mouse
or
B. sudo rm /dev/input/js0
(which doesn't stop the pad from working) and bam. No autofire. Joy.

Oh. EDIT - Want to know if you're in the same boat?
xinput list
See an A4Tech whatever? There's your culprit.
Silejonu 18 déc 2013 à 14h18 
Xubuntu 13.04, xboxdrv, using a Razer Sabertooth (recognized as an XBox 360 gamepad).
Everything works like a charm, except the D-Pad which is incorrectly mapped.
David™ 21 déc 2013 à 9h05 
archlinux 64bit, Gamestop Xbox 360 clone. Works as a charm with xboxdrv, wasn't aware of the dpad issues because I prefer the stick
insomniac_lemon 26 déc 2013 à 19h40 
On Ubuntu 12.04 LTS (64 bit) I'm having an issue where as soon as I use the left analog stick, the input continues on forever. For instance, if I start the game and move the stick to the right, after I stop, it keeps moving the selector to the right.

The controller I use is a Snakebyte idroid:con bluetooth gamepad, and the driver I'm using is a default driver I'm pretty sure, I didn't have to install anything as far as I know.

This could be an LWJGL or SDL issue.

EDIT: Oddly, when I plug my controller in changes if I have this issue or not. If it's not plugged in, the issue occurs. If I plug the controller in and then turn it on, the issue happens, but if I turn the controller on and then plug it in the issue does not happen. The input is still stuck if the issue occurs and I turn the controller off.

This does not happen with other games. Rogue Legacy, Zigfrak, and Bastion all work correctly for my gamepad.
SuperMazeno 28 déc 2013 à 8h26 
That's Great!
GomoPhone 28 déc 2013 à 22h11 
It's a good
Skully 30 déc 2013 à 3h18 
Fedora 20 64bit, wireless XBOX360 controller

xpad has autofire and dpad doesn't work in menu.
xboxdriver doesn't have the auto fire issue, dpad works in menu but mapped wrong.

I usually just use xpad tho. It's fine with every other controller enabled game, some games even have rumble enabled and working.


This may help you guys with button mapping for controllers.

You can get the button mappings from Steam big picture easily.
Steam saves it in "pathtosteam/config/config.vdf" near the end of the file you can see it.

Looks like this.

"SDL_GamepadBind" "030000005e0400001907000000010000,mypad,a:b0,b:b1,y:b3,x:b2,start:b7,guide:b8,back:b6,leftstick:b9,rightstick:b10,leftshoulder:b4,rightshoulder:b5,dpup:b13,dpleft:b11,dpdown:b14,dpright:b12,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:a2,righttrigger:a5,"

or another example

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

*NOTE* Steam exports this as a env variable called SDL_GAMECONTROLLERCONFIG
based on your big picture mode configuration.

So you could check that env variable and adjust your mappings if you can get what you need from the string.
-ill-ViRUS 30 déc 2013 à 8h53 
Arch Linux 64bit with a PS3 controller does not work properly. Every button press behaves similar to the ESC key rendering the controller useless. The controller works fine in Steam Big Picture and other games.
Dnomaid 7 jan à 1h41 
good
thorus 24 jan à 9h12 
Hi,

I'm using Gentoo 64 bit with a noname controller recognized as: DragonRise Inc. Generic USB Joystick using the driver DRAGONRISE_FF from the kernel 3.10.25. The Controller works fine in Steam Big Picture and several other games as Dust and Rogue Legacy, but in Electronic Super Joy it seams it does net get recognized!

The Device for it is: /dev/input/event2

Anyone an idea why it is not working?

Thanks
Skully 24 jan à 16h07 
If the developer would use the controller part of SDL then everyones problems would be over. As it does a brilliant job in every game it's used, regardless of using xpad or xboxdrv. And Steam actually exports your controller config from Big Picture mode to SDL, so as long as your controller is functioning properly in Big Picture, you will have everything working. Extremely simple to implement and controller headaches on all platforms will be over.
timeskills 19 fév à 0h45 
PS3 controller, xboxdrv (should behave identical to an xbox controller)

Trying to bind controls works fine, except it doesn't seem to acknowledge pressing up or down, so I can't assign those (even though the other buttons assign just fine), so it's borked.
Affichage des commentaires 1 à 15 sur 17
< >
Par page : 15 30 50