Kopanito All-Stars Soccer

Kopanito All-Stars Soccer

View Stats:
 This topic has been pinned, so it's probably important
TAG Oct 1, 2015 @ 10:50am
Controller support
A gamepad must be activated first. To do so press one of the face buttons in game menu or during the team selection phase before a match. Color shirts at the bottom of the screen indicate detected controllers.

Steam Controller
Steam Controller may not work (or act as mouse+keyboard only) due to Steam Overlay not working, this is a known issue.

A workaround is to find a file named "gamepad_generic.vdf" inside Steam directory and copy it to the "/Steam/userdata/XXXXXXX/399820/remote/controller_config/" directory. Replace XXXXXX with your Steam Id.

WIndows
Various gamepads are supported but those compatible with the Xbox will work best
on Windows. Up to 4 controllers are supported (limitation of the XInput API) along with keyboard.

On Windows older gamepads that are using the DirectInput API may not work or some buttons may not work. This issue will be fixed in future. You can work-around this by using a Xbox 360 Controller emulator[www.x360ce.com].

If your controller have a switch like this[www.logitech.com], then please ensure that this switch is set to X before starting the game.

To use Xbox 360 Controller in Windows 8 and later it may be required to install drivers:
wired[www.microsoft.com] or wireless[www.microsoft.com].

OS X
On a Mac it's possible to use Xbox controllers by installing additional drivers[github.com].

Linux
There are some issues with controllers under Linux, whose cannot be solved by us and are related to installed packages and drivers. Sometimes just two buttons are swapped. You can use keyboard to navigate to the controls menu and remap your gamepad buttons. After remapping you should be able to use your gamepad all the time. Alternatively you can install some additional software to remap buttons outside of the game, like this one: https://apps.ubuntu.com/cat/applications/jstest-gtk/
Last edited by TAG; Jun 27, 2016 @ 5:36am
< >
Showing 1-15 of 96 comments
seshonaar Dec 2, 2015 @ 10:55am 
for me the controller works in the menu, but not in the game.
I have xbox 360 wireless controller, Ubuntu 14.04.
I'm also considering a possible configuration issue on my system, but just to let you know as well.
seshonaar Dec 2, 2015 @ 11:51am 
Ah it seems the default controller is the keyboard, and I need to activate the second controller using the "back" button on the controller, then it works
TAG Dec 2, 2015 @ 12:10pm 
Before a match, there will be an empty, centered football pitch - this is the team selection phase. In this phase you can spawn a keyboard-controlled player by pressing the space key. To spawn a gamepad-controlled player you need to press the BACK button on the gamepad, BUT there are some issues with button mapping on Ubuntu, and it would be better if you would remap buttons in the controls menu in the game if BACK doesn't work.
Last edited by TAG; Dec 2, 2015 @ 12:11pm
ltatkinson Dec 13, 2015 @ 7:35am 
Originally posted by TAG:
Before a match, there will be an empty, centered football pitch - this is the team selection phase. In this phase you can spawn a keyboard-controlled player by pressing the space key. To spawn a gamepad-controlled player you need to press the BACK button on the gamepad, BUT there are some issues with button mapping on Ubuntu, and it would be better if you would remap buttons in the controls menu in the game if BACK doesn't work.
Thanks for the confirmation, any chance this could be updated to use the "Start" and/or "A" buttons rather than the "Back" button (more intuitive/natural)?

I appreciate this is an Early Access title but the controller/gamepad detection and selection is arguably a little too quirky for a pick-up-and-play game. ;-)

Many thanks in advance.
Last edited by ltatkinson; Jun 15, 2016 @ 6:34am
TAG Dec 14, 2015 @ 3:23am 
Yes, we'll change controls, so other button than BACK will be used to activate a controller. It's an overlook on our side, we've just got used to this configuration.
George Dec 14, 2015 @ 2:50pm 
On Ubuntu 15.10 various buttons on my wireless Xbox 360 controller (including the one required to join a game) aren't mapped when using the xpad driver. It works correctly if I 'rmmod xpad' then use 'xboxdrv --mimic-xpad' to make the controller appear like a wired 360 controller. But it would be nice if xpad worked out of the box.
Last edited by George; Dec 14, 2015 @ 2:53pm
ltatkinson Dec 15, 2015 @ 2:20am 
Originally posted by TAG:
Yes, we'll change controls, so other button than BACK will be used to activate a controller. It's an overlook on our side, we've just got used to this configuration.
Thanks for the update, I'm sure the change will be appreciated by many.

George: Kopanito's controller/gamepad detection seems to be very quirky in general, at least on Linux, and not solely limited to xpad:

http://steamcommunity.com/app/399820/discussions/2/485623406954207364#c487876568233970237

TAG: Can you confirm which library (and version) is used within Kopanito for gamepad detection?

Many thanks in advance.
Last edited by ltatkinson; Jun 15, 2016 @ 6:34am
TAG Dec 15, 2015 @ 2:32am 
We use http://nwjs.io, which is just Chromium. In other words it should work exactly like in the Chrome browser (at least in the version 41).

Don't know how Chromium handles controllers on Linux, we're new to Linux development, so any help or guidance are welcome in this matter.
Last edited by TAG; Dec 15, 2015 @ 12:29pm
George Dec 15, 2015 @ 12:07pm 
Using the gamepad tester at http://www.html5rocks.com/en/tutorials/doodles/gamepad/gamepad-tester/tester.html I see that it has the same problems as Kopinato. The controller is mapped as follows:
  • LT = Second stick x (axes[2])
  • RT = Extra axis (axes[5])
  • LB = Left top shoulder (buttons[4])
  • RB = Right top shoulder (buttons[5])
  • Left stick button = Start (buttons[9])
  • Left stick x-axis = First stick X (axes[0])
  • Left stick y-axis = First stick Y (axes[1])
  • Right stick button = First stick button (buttons[10])
  • Right stick x-axis = Second stick Y (axes[3])
  • Right stick y-axis = Extra axis (axes[4])
  • A = Face button 1 (buttons[0])
  • B = Face button 2 (buttons[1])
  • X = Face button 3 (buttons[2])
  • Y = Face button 4 (buttons[3])
  • D-pad up = D-pad bottom (buttons[13])
  • D-pad down = D-pad left (buttons[14])
  • D-pad left = Second stick button (buttons[11])
  • D-pad right = D-pad top (buttons[12])
  • Back = Left bottom shoulder (buttons[6])
  • X-box button = Select (buttons[8])
  • Start = Right bottom shoulder (buttons[7])
I get the same mapping if I use xpad or 'xboxdrv --mimic-xpad-wireless' but the correct mapping if I use 'xboxdrv --mimic-xpad'.

Using xpad the pad is identified as:
(null) (null) (Vendor: 045e Product: 0291)

Using 'xboxdrv --mimic-xpad-wireless' it is identified as:
Xbox 360 Wireless Receiver (Vendor: 045e Product: 0719)

Using 'xboxdrv --mimic-xpad' iti is identified as:
Microsoft X-Box 360 pad (STANDARD GAMEPAD Vendor: 045e Product: 028e)
Last edited by George; Dec 15, 2015 @ 12:09pm
ltatkinson Dec 15, 2015 @ 9:38pm 
Originally posted by George:
Using the gamepad tester at http://www.html5rocks.com/en/tutorials/doodles/gamepad/gamepad-tester/tester.html I see that it has the same problems as Kopinato. The controller is mapped as follows:
  • LT = Second stick x (axes[2])
  • RT = Extra axis (axes[5])
  • LB = Left top shoulder (buttons[4])
  • RB = Right top shoulder (buttons[5])
  • Left stick button = Start (buttons[9])
  • Left stick x-axis = First stick X (axes[0])
  • Left stick y-axis = First stick Y (axes[1])
  • Right stick button = First stick button (buttons[10])
  • Right stick x-axis = Second stick Y (axes[3])
  • Right stick y-axis = Extra axis (axes[4])
  • A = Face button 1 (buttons[0])
  • B = Face button 2 (buttons[1])
  • X = Face button 3 (buttons[2])
  • Y = Face button 4 (buttons[3])
  • D-pad up = D-pad bottom (buttons[13])
  • D-pad down = D-pad left (buttons[14])
  • D-pad left = Second stick button (buttons[11])
  • D-pad right = D-pad top (buttons[12])
  • Back = Left bottom shoulder (buttons[6])
  • X-box button = Select (buttons[8])
  • Start = Right bottom shoulder (buttons[7])
I get the same mapping if I use xpad or 'xboxdrv --mimic-xpad-wireless' but the correct mapping if I use 'xboxdrv --mimic-xpad'.

Using xpad the pad is identified as:
(null) (null) (Vendor: 045e Product: 0291)

Using 'xboxdrv --mimic-xpad-wireless' it is identified as:
Xbox 360 Wireless Receiver (Vendor: 045e Product: 0719)

Using 'xboxdrv --mimic-xpad' iti is identified as:
Microsoft X-Box 360 pad (STANDARD GAMEPAD Vendor: 045e Product: 028e)
Thanks for the information, for reference I receive the same result using the wired Xbox 360 controller (045e-028e-Microsoft X-Box 360 pad) with Firefox (42.0) but the following mappings are different:
  • D-pad up = Extra axis (axes[7]), value: -1.00
  • D-pad down = Extra axis (axes[7]), value: 1.00
  • D-pad left = Extra axis (axes[6]), value: -1.00
  • D-pad right = Extra axis (axes[6]), value: 1.00
Chrome (47.0.2526.73) with the same controller (STANDARD GAMEPAD Vendor: 045e Product: 028e) reports the correct mappings:
  • LT = Left bottom shoulder (buttons[6])
  • RT = Right bottom shoulder (buttons[7])
  • LB = Left top shoulder (buttons[4])
  • RB = Right top shoulder (buttons[5])
  • Left stick button = First stick button (buttons[10])
  • Left stick x-axis = First stick X (axes[0])
  • Left stick y-axis = First stick Y (axes[1])
  • Right stick button = Second stick button (buttons[11])
  • Right stick x-axis = Second stick X (axes[2])
  • Right stick y-axis = Second stick Y (axes[3])
  • A = Face button 1 (buttons[0])
  • B = Face button 2 (buttons[1])
  • X = Face button 3 (buttons[2])
  • Y = Face button 4 (buttons[3])
  • D-pad up = D-pad top (buttons[12])
  • D-pad down = D-pad bottom (buttons[13])
  • D-pad left = D-pad left (buttons[14])
  • D-pad right = D-pad right (buttons[15])
  • Back = Select (buttons[8])
  • X-box button = Extra button (buttons[16])
  • Start = Start (buttons[9])
Both were tested on Ubuntu 14.04 LTS (x64), hopefully this information will help the devs with their troubleshooting.
Last edited by ltatkinson; Jun 15, 2016 @ 6:33am
ltatkinson Dec 20, 2015 @ 6:35am 
Originally posted by George:
On Ubuntu 15.10 various buttons on my wireless Xbox 360 controller (including the one required to join a game) aren't mapped when using the xpad driver. It works correctly if I 'rmmod xpad' then use 'xboxdrv --mimic-xpad' to make the controller appear like a wired 360 controller. But it would be nice if xpad worked out of the box.
It appears some controller/gamepad issues were fixed in the "Untested new features" Beta branch:

http://steamcommunity.com/app/399820/discussions/2/485623406954207364#c487877107148280931

George: Does the Beta branch also resolve your issue?
Last edited by ltatkinson; Jun 15, 2016 @ 6:37am
SKID Dec 31, 2015 @ 3:03am 
keyboard is default controller and can't be disabled, so my gamepad (2nd controller) doesn't work in practce
TAG Dec 31, 2015 @ 3:44am 
Originally posted by SKID:
keyboard is default controller and can't be disabled, so my gamepad (2nd controller) doesn't work in practce
When in practice, first activate your gamepad by pressing START or BACK, this will allow you to control one of the players using your gamepad. Then you can disable keyboard by pressing spacebar.
Sir Vival Jan 2, 2016 @ 12:17pm 
Windows can support more than 4 controllers using DirectInput or WinRT for windows 10
Last edited by Sir Vival; Jan 2, 2016 @ 12:17pm
kusmierek Jan 14, 2016 @ 12:42pm 
PS3 controller works with Kopanito on OSX - but sometimes it fires action (e.g. lob) out of the blue. I will investigate futher if it's Kopanito or the controller issue.
Unfortunatelly http://www.html5rocks.com/en/tutorials/doodles/gamepad/gamepad-tester/tester.html is not working on my computer.
< >
Showing 1-15 of 96 comments
Per page: 1530 50