Gang Beasts
BUG: PS4 Contoller Mapping is Wrong
The contols screen that uses a PS4 Contoller (DualShock 4) for the image, actually is incorrect for the in-game controls. And Xnox 360 controller is mapped correctly.

The DS4 X button is the Xbox X button.
The DS4 Square is the Xbox A button.
And so on.

I'm running Ubuntu 16.10, kernel 4.8
< >
114/14 megjegyzés mutatása
It doesn't show as incorrect for me, last I checked. Screenshot?
I don't think you understand. The controls layout, which pictures a PS4 controller is how it should be. When actually using a controller, the buttons are not matching what it says on the picture.
Lyam eredeti hozzászólása:
I don't think you understand. The controls layout, which pictures a PS4 controller is how it should be. When actually using a controller, the buttons are not matching what it says on the picture.
Are you saying X is kick and Square is jump? No, I DON'T understand, because I don't really see what the problem is. If it's the controls layout, just rebind them.
The controller default or the controller keymap is wrong.

On the PS4 controller, the X button (where A on Xbox 360 should be) should be "Jump" and because the game doesn't save the rebinding, it takes forever if you have multiple controllers.

Instead, on the PS4 controller, the Square is jump. Everything has moved clockwise as far as the buttons go.

To top it off, the loading screen which shows the controls has X as Jump, when Square actually makes you jump.

TL;DR You missed the point completely. I was saying: Either fix the layout, or fix the screen that shows the controls.
I should note that the controller is mapped correctly on every other game, so it has nothing to do with the Linux kernel or input drivers.
So you're saying that yes, the controls themselves are wrong, in which case you COULD just rebind them.
Hi!

From all of our testing, we haven't come across this issue on any platform/OS (i.e., PS4 'X' is always jump and PS4 'Square' is always kick).

Have you encountered this issue with any other Unity games? There's an issue in Unity's input that changes how inputs are read based on the operating system.

Beyond that, I'm not sure. I know it's a pain to individually rebind each controller for each player, but it may be your only option. At least with the new rebind screen you can choose to only rebind the face buttons, rather than having to rebind the whole mapping.

As a test, you could try resetting the mappings for all controls in the Input screen? Perhaps the mapping generated when the game first ran was incorrect?

Let me know how you get on :)
Thanks for your reply, I'll give it a try
I tried resetting the controls and the DS4 still is giving me the wrong button scheme. Remapping does work, of course, but for whatever reason the default is wrong, or at least the buttons are showing up in the game in the wrong order.
Interesting. I've successfully ran the game on Ubuntu 16.04 so I doubt it's an OS-level issue. I assume you don't have anything installed that would interfere with any input devices?

I might have to look into this further by installing Ubuntu 16.10 somewhere, and testing the input again. Is there anything else you have installed/are using that I should be aware of?

Just for complete clarification, here's what the controls should be (limited to just the face buttons for brevity):

Y / Triangle : Lift/Taunt
B / Circle : Duck/Headbutt
X / Square : Kick/Lie Down
A / Cross : Jump/Sprint
⚡DrSpoof eredeti hozzászólása:
Y / Triangle : Lift/Taunt
B / Circle : Duck/Headbutt
X / Square : Kick/Lie Down
A / Cross : Jump/Sprint

Correct, that's what it shows at loading. So, here is what I have:

Player 1 - Xbox 360 Controller
Player 2 - Xbox 360 Controller
Player 3 - Xbox 360 Controller
Player 4 - Xbox 360 Controller
Player 5 - PS4 Controller

PS4 Controller:
Triangle: Lift/Taunt
Circle: Duck/Headbutt
Square: Jump/Sprint
Cross: Kick/Lie Down
L1: Left Punch/Grab
R1: Right Punch/Grab
L2: Menu/Pause
R2: Player List

I couldn't figure out which one was show player names.

Is it possible that because the PS4 controller is not the first one that the game is using Xbox button mapping?
I don't think that should affect how it reads the controller mapping - each mapping is stored separately so there shouldn't be any 'overlap'.

What's interesting is that your L2 and R2 bindings are incorrect as well - L2 should be 'Show Overlays' and R2 should be blank. The controls you currently have bound to those should be Start/Options for Menu/Pause, and Back/Touchpad Button for Player List/Scoreboard. But at the same time, your Duck and Lift bindings are correct!

You mentioned that your PS4 Controller is actually player 5 - does that mean you have 4 Xbox controllers plugged in at the same time? Have you tried unplugging all controllers but the PS4 controller and seeing if that helps? Also, do your Xbox controllers function correctly?
The Xbox controllers all work perfectly :)

The PS4 controller, by itself still is having the same issue though. I'm going to reboot and see if the system forgets about the 360 controllers
Here, this may help. This is executing

>steam

from the terminal and then running the game.

Using libudev for joystick management


Importing game controller configs
Found /dev/input/event19
Mapping raw axis 0 to 0
Mapping raw axis 1 to 1
Mapping raw axis 2 to 2
Mapping raw axis 3 to 3
Mapping raw axis 4 to 4
Mapping raw axis 5 to 5
Sony Computer Entertainment Wireless Controller: Mapping b1.0 to b0
Sony Computer Entertainment Wireless Controller: Mapping b2.0 to b1
Sony Computer Entertainment Wireless Controller: Mapping b8.0 to b6
Sony Computer Entertainment Wireless Controller: Mapping h0.4 to a7
Sony Computer Entertainment Wireless Controller: Mapping h0.8 to a6
Sony Computer Entertainment Wireless Controller: Mapping h0.2 to a6
Sony Computer Entertainment Wireless Controller: Mapping h0.1 to a7
Sony Computer Entertainment Wireless Controller: Mapping b12.0 to b8
Sony Computer Entertainment Wireless Controller: Mapping b4.0 to b4
Sony Computer Entertainment Wireless Controller: Mapping b10.0 to b9
Sony Computer Entertainment Wireless Controller: Mapping a3.0 to a2
Sony Computer Entertainment Wireless Controller: Mapping a0.0 to a0
Sony Computer Entertainment Wireless Controller: Mapping a1.0 to a1
Sony Computer Entertainment Wireless Controller: Mapping b5.0 to b5
Sony Computer Entertainment Wireless Controller: Mapping b11.0 to b10
Sony Computer Entertainment Wireless Controller: Mapping a4.0 to a5
Sony Computer Entertainment Wireless Controller: Mapping a2.0 to a3
Sony Computer Entertainment Wireless Controller: Mapping a5.0 to a4
Sony Computer Entertainment Wireless Controller: Mapping b9.0 to b7
Sony Computer Entertainment Wireless Controller: Mapping b0.0 to b2
Sony Computer Entertainment Wireless Controller: Mapping b3.0 to b3
Assigning joystick 1
Legutóbb szerkesztette: Lyam; 2016. szept. 29., 21:15
< >
114/14 megjegyzés mutatása
Laponként: 1530 50

Közzétéve: 2016. szept. 26., 17:54
Hozzászólások: 14