Electronic Super Joy > 一般的な話題 > トピックの詳細
scorlibrian  [開発者] 2013年10月22日 18時01分
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.
1-15 / 18 のコメントを表示
< >
NoXPhasma 2013年10月22日 19時40分 
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.
最近の変更はNoXPhasmaが行いました; 2013年10月22日 20時04分
Hyeron 2013年12月2日 10時31分 
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 2013年12月6日 11時25分 
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 2013年12月8日 8時57分 
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.
最近の変更はHyeronが行いました; 2013年12月8日 8時58分
Silejonu 2013年12月18日 14時18分 
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™ 2013年12月21日 9時05分 
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 2013年12月26日 19時40分 
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.
最近の変更はinsomniac_lemonが行いました; 2013年12月26日 21時08分
SuperMazeno 2013年12月28日 8時26分 
That's Great!
God Interrupts 2013年12月28日 22時11分 
It's a good
Skully 2013年12月30日 3時18分 
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.
最近の変更はSkullyが行いました; 2013年12月30日 3時20分
-ill-ViRUS 2013年12月30日 8時53分 
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 1月7日 1時41分 
good
thorus 1月24日 9時12分 
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 1月24日 16時07分 
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 2月19日 0時45分 
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.
1-15 / 18 のコメントを表示
< >
ページ毎: 15 30 50
投稿日: 2013年10月22日 18時01分
投稿数: 18