1st axis of the PS3 Gamepad not working properly on linux

Technical support for the Linux and Mac platforms for all Trine games.
FBGOX
Posts: 2
Joined: Sun Jun 28, 2015 3:38 pm

1st axis of the PS3 Gamepad not working properly on linux

Postby FBGOX » Sun Jun 28, 2015 3:59 pm

Hello guys,

I have a problem, using my PS3 gamepad to play Trine 2 on Linux.
I was able to configure the game to properly handle the pad (which was not easy) except of the first axis (moving the left analog stick left and right). When I move the stick the character sometimes moves an inch, but that's it. Also configuring the stick in the game's settings is problematic.
Every other axis works properly (including moving the left stick up and down). I tried two different gamepads via Bluetooth and cable and I always got the same result.
I'm using Arch Linux x86_64.
Sorry for my bad english :)

User avatar
MarjutFB
Posts: 258
Joined: Tue Dec 03, 2013 3:48 pm
Contact:

Re: 1st axis of the PS3 Gamepad not working properly on linu

Postby MarjutFB » Wed Jul 15, 2015 1:03 pm

Sorry for the delay.

Unfortunately we can't offer support for this. The Linux version of Trine 2 only supports Xinput, making other controllers hard or even impossible to config. Also we currently don't have any plans to change this. Sorry for the inconvenience.

Hopefully you can play with another controller.

Cheers!

FBGOX
Posts: 2
Joined: Sun Jun 28, 2015 3:38 pm

Re: 1st axis of the PS3 Gamepad not working properly on linu

Postby FBGOX » Wed Jul 15, 2015 9:02 pm

I already bet the game, so I'm not in need anymore.

Configuring other controllers indeed is not easy because in most cases you have to edit the UserBinds txt files.
But it is possible to properly configure other pads. The Wii U Pro controller for instance works properly. It's just the 1st axis of the PS3 controller, which has a strange behaviour no matter what it is being used for. I also noticed that this issue doesn't exist on Trine EE. I was able to use the config files from Trine 2 with minimal changes and the game is perfectly playable with the PS3 pad.

Here are my files if anyone is interested:

Trine EE

User_Custom_0_GUI_Binds_for_Sony_PLAYSTATION_R_3_Controller__A4B19P0_.fbbinds

Code: Select all

# Automatic binds dump
#

[General]

Name = User Custom 0 GUI Binds for Sony PLAYSTATION(R)3 Controller [A4B19P0]
UserDisplayName = Speichern 1*

[Controller]

IDNumber = 1
IDString = Sony PLAYSTATION(R)3 Controller [A4B19P0ID0]
ControllerType = Joystick
ControllerSubType = General

[Bindings]

skipCinematicWithConfirmation = 1, Button, Undefined, 14
skipCinematicWithConfirmation = 1, Button, Undefined, 3
mouseButton = 1, Button, Undefined, 14
directionX = 1, Axis, Undefined, 0
directionY = 1, Axis, Undefined, 1
toggleUpgradeMenu = 1, Button, Undefined, 0
togglePauseMenu = 1, Button, Undefined, 3
togglePlayer = 1, Button, Undefined, 3
accept = 1, Button, Undefined, 14
cancel = 1, Button, Undefined, 13
left = 1, Button, Undefined, 7
right = 1, Button, Undefined, 5
up = 1, Button, Undefined, 4
down = 1, Button, Undefined, 6
decrease = 1, Button, Undefined, 7
increase = 1, Button, Undefined, 5
move_left = 1, Button, Undefined, 7
move_right = 1, Button, Undefined, 5
arrow_left = 1, Button, Undefined, 7
arrow_right = 1, Button, Undefined, 5
rename = 1, Button, Undefined, 15
sort = 1, Button, Undefined, 12
select_profile = 1, Button, Undefined, 15
delete = 1, Button, Undefined, 12
settings = 1, Button, Undefined, 12
refresh = 1, Button, Undefined, 15
start = 1, Button, Undefined, 3
purchase = 1, Button, Undefined, 15
reset = 1, Button, Undefined, 15
resetSkill = 1, Button, Undefined, 14
purchaseSkill = 1, Button, Undefined, 14
choose = 1, Button, Undefined, 14
button1 = 1, Button, Undefined, 14
button2 = 1, Button, Undefined, 13
button3 = 1, Button, Undefined, 15
button4 = 1, Button, Undefined, 12
previous = 1, Button, Undefined, 10
next = 1, Button, Undefined, 11
padWarpPlayerEnable1 = 1, Button, Undefined, 15
padWarpPlayerEnable2 = 1, Button, Undefined, 12
padWarpPlayerUp = 1, Button, Undefined, 15
padWarpPlayerForward = 1, Button, Undefined, 12


User_Custom_0_InputComponent_Thief_Binds_for_Sony_PLAYSTATION_R_3_Controller__A4B19P0_.fbbinds

Code: Select all

# Automatic binds dump
#

[General]

Name = User Custom 0 InputComponent Thief Binds for Sony PLAYSTATION(R)3 Controller [A4B19P0]
UserDisplayName = Speichern 1*

[Controller]

IDNumber = 1
IDString = Sony PLAYSTATION(R)3 Controller [A4B19P0ID0]
ControllerType = Joystick
ControllerSubType = General

[Bindings]

moveHorizontal = 1, Axis, Undefined, 0
moveVertical = 1, Axis, Undefined, 1
use = 1, Button, Undefined, 13
jump = 1, Button, Undefined, 14
left = 1, Button, Undefined, 7
right = 1, Button, Undefined, 5
up = 1, Button, Undefined, 4
down = 1, Button, Undefined, 6
ropeJump = 1, Button, Undefined, 14
rope = 1, Button, Undefined, 8
rope = 1, Button, Undefined, 9
ropeWind = 1, Axis, Undefined, 1
ropeSwing = 1, Axis, Undefined, 0
ropeWindUp = 1, Button, Undefined, 4
ropeWindDown = 1, Button, Undefined, 6
ropeSwingLeft = 1, Button, Undefined, 7
ropeSwingRight = 1, Button, Undefined, 5
selectNextWeapon = 1, Button, Undefined, 12
selectPrevCharacter = 1, Button, Undefined, 10
selectNextCharacter = 1, Button, Undefined, 11
aimX = 1, Axis, Undefined, 2
aimY = 1, Axis, Undefined, 3
vanish = 1, Button, Undefined, 15
prepareLowGravityArrow = 1, Button, Undefined, 1
controlConsoleMoveHorizontal = 1, Axis, Undefined, 0
controlConsoleMoveVertical = 1, Axis, Undefined, 1
controlConsoleRotateHorizontal = 1, Axis, Undefined, 2
controlConsoleRotateVertical = 1, Axis, Undefined, 3


User_Custom_0_InputComponent_Warrior_Binds_for_Sony_PLAYSTATION_R_3_Controller__A4B19P0_.fbbinds

Code: Select all

# Automatic binds dump
#

[General]

Name = User Custom 0 InputComponent Warrior Binds for Sony PLAYSTATION(R)3 Controller [A4B19P0]
UserDisplayName = Speichern 1*

[Controller]

IDNumber = 1
IDString = Sony PLAYSTATION(R)3 Controller [A4B19P0ID0]
ControllerType = Joystick
ControllerSubType = General

[Bindings]

moveHorizontal = 1, Axis, Undefined, 0
moveVertical = 1, Axis, Undefined, 1
use = 1, Button, Undefined, 13
jump = 1, Button, Undefined, 14
left = 1, Button, Undefined, 7
right = 1, Button, Undefined, 5
up = 1, Button, Undefined, 4
down = 1, Button, Undefined, 6
sword = 1, Button, Undefined, 15
hammer = 1, Button, Undefined, 15
selectNextWeapon = 1, Button, Undefined, 12
selectPrevCharacter = 1, Button, Undefined, 10
selectNextCharacter = 1, Button, Undefined, 11
aimX = 1, Axis, Undefined, 2
aimY = 1, Axis, Undefined, 3
magnetize = 1, Button, Undefined, 1
controlConsoleMoveHorizontal = 1, Axis, Undefined, 0
controlConsoleMoveVertical = 1, Axis, Undefined, 1
controlConsoleRotateHorizontal = 1, Axis, Undefined, 2
controlConsoleRotateVertical = 1, Axis, Undefined, 3
sword = 1, Button, Undefined, 9
hammer = 1, Button, Undefined, 9
charge = 1, Button, Undefined, 8


User_Custom_0_InputComponent_Wizard_Binds_for_Sony_PLAYSTATION_R_3_Controller__A4B19P0_.fbbinds

Code: Select all

# Automatic binds dump
#

[General]

Name = User Custom 0 InputComponent Wizard Binds for Sony PLAYSTATION(R)3 Controller [A4B19P0]
UserDisplayName = Speichern 1*

[Controller]

IDNumber = 1
IDString = Sony PLAYSTATION(R)3 Controller [A4B19P0ID0]
ControllerType = Joystick
ControllerSubType = General
EmulatedElement = Pointer, Axis General 2, Axis General 3

[Bindings]

moveHorizontal = 1, Axis, Undefined, 0
moveVertical = 1, Axis, Undefined, 1
use = 1, Button, Undefined, 13
jump = 1, Button, Undefined, 14
left = 1, Button, Undefined, 7
right = 1, Button, Undefined, 5
up = 1, Button, Undefined, 4
down = 1, Button, Undefined, 6
breakObject = 1, Button, Undefined, 15
selectPrevCharacter = 1, Button, Undefined, 10
selectNextCharacter = 1, Button, Undefined, 11
cursorAxisX = 1, Axis, Undefined, 2
cursorAxisY = 1, Axis, Undefined, 3
magnetize = 1, Button, Undefined, 1
controlConsoleMoveHorizontal = 1, Axis, Undefined, 0
controlConsoleMoveVertical = 1, Axis, Undefined, 1
controlConsoleRotateHorizontal = 1, Axis, Undefined, 2
controlConsoleRotateVertical = 1, Axis, Undefined, 3
conjure = 1, Button, Undefined, 8
levitate = 1, Button, Undefined, 8
conjure = 1, Button, Undefined, 9
levitate = 1, Button, Undefined, 9
cursor = 1, Pointer, Undefined, 0


Trine 2

User_Custom_0_GUI_Binds_for_Sony_PLAYSTATION_R_3_Controller__A4B19P0_.txt

Code: Select all

# Automatic binds dump
#

[General]

Name = User Custom 0 GUI Binds for Sony PLAYSTATION(R)3 Controller [A4B19P0]
UserDisplayName = Speichern 1*

[Controller]

IDNumber = 1
IDString = Sony PLAYSTATION(R)3 Controller [A4B19P0ID0]
ControllerType = Joystick
ControllerSubType = General

[Bindings]

skipCinematic = 1, Button, Undefined, 14
skipCinematic = 1, Button, Undefined, 3
mouseButton = 1, Button, Undefined, 14
directionX = 1, Axis, Undefined, 0
directionY = 1, Axis, Undefined, 1
toggleUpgradeMenu = 1, Button, Undefined, 0
togglePauseMenu = 1, Button, Undefined, 3
togglePlayer = 1, Button, Undefined, 3
accept = 1, Button, Undefined, 14
cancel = 1, Button, Undefined, 13
left = 1, Button, Undefined, 7
right = 1, Button, Undefined, 5
up = 1, Button, Undefined, 4
down = 1, Button, Undefined, 6
decrease = 1, Button, Undefined, 7
increase = 1, Button, Undefined, 5
move_left = 1, Button, Undefined, 7
move_right = 1, Button, Undefined, 5
arrow_left = 1, Button, Undefined, 7
arrow_right = 1, Button, Undefined, 5
rename = 1, Button, Undefined, 15
sort = 1, Button, Undefined, 12
select_profile = 1, Button, Undefined, 15
delete = 1, Button, Undefined, 12
settings = 1, Button, Undefined, 12
refresh = 1, Button, Undefined, 15
start = 1, Button, Undefined, 3
purchase = 1, Button, Undefined, 15
reset = 1, Button, Undefined, 15
resetSkill = 1, Button, Undefined, 14
purchaseSkill = 1, Button, Undefined, 14
choose = 1, Button, Undefined, 14
button1 = 1, Button, Undefined, 14
button2 = 1, Button, Undefined, 13
button3 = 1, Button, Undefined, 15
button4 = 1, Button, Undefined, 12
previous = 1, Button, Undefined, 10
next = 1, Button, Undefined, 11
padWarpPlayerEnable1 = 1, Button, Undefined, 15
padWarpPlayerEnable2 = 1, Button, Undefined, 12
padWarpPlayerUp = 1, Button, Undefined, 15
padWarpPlayerForward = 1, Button, Undefined, 12


User_Custom_0_InputComponent_Thief_Binds_for_Sony_PLAYSTATION_R_3_Controller__A4B19P0_.txt

Code: Select all

# Automatic binds dump
#

[General]

Name = User Custom 0 InputComponent Thief Binds for Sony PLAYSTATION(R)3 Controller [A4B19P0]
UserDisplayName = Speichern 1*

[Controller]

IDNumber = 1
IDString = Sony PLAYSTATION(R)3 Controller [A4B19P0ID0]
ControllerType = Joystick
ControllerSubType = General

[Bindings]

moveHorizontal = 1, Axis, Undefined, 0
moveVertical = 1, Axis, Undefined, 1
use = 1, Button, Undefined, 13
jump = 1, Button, Undefined, 14
left = 1, Button, Undefined, 7
right = 1, Button, Undefined, 5
up = 1, Button, Undefined, 4
down = 1, Button, Undefined, 6
ropeJump = 1, Button, Undefined, 14
rope = 1, Button, Undefined, 8
rope = 1, Button, Undefined, 9
ropeWind = 1, Axis, Undefined, 1
ropeSwing = 1, Axis, Undefined, 0
ropeWindUp = 1, Button, Undefined, 4
ropeWindDown = 1, Button, Undefined, 6
ropeSwingLeft = 1, Button, Undefined, 7
ropeSwingRight = 1, Button, Undefined, 5
selectNextWeapon = 1, Button, Undefined, 12
selectPrevCharacter = 1, Button, Undefined, 10
selectNextCharacter = 1, Button, Undefined, 11
aimX = 1, Axis, Undefined, 2
aimY = 1, Axis, Undefined, 3
vanish = 1, Button, Undefined, 15
prepareLowGravityArrow = 1, Button, Undefined, 1
controlConsoleMoveHorizontal = 1, Axis, Undefined, 0
controlConsoleMoveVertical = 1, Axis, Undefined, 1
controlConsoleRotateHorizontal = 1, Axis, Undefined, 2
controlConsoleRotateVertical = 1, Axis, Undefined, 3


User_Custom_0_InputComponent_Warrior_Binds_for_Sony_PLAYSTATION_R_3_Controller__A4B19P0_.txt

Code: Select all

# Automatic binds dump
#

[General]

Name = User Custom 0 InputComponent Warrior Binds for Sony PLAYSTATION(R)3 Controller [A4B19P0]
UserDisplayName = Speichern 1*

[Controller]

IDNumber = 1
IDString = Sony PLAYSTATION(R)3 Controller [A4B19P0ID0]
ControllerType = Joystick
ControllerSubType = General

[Bindings]

moveHorizontal = 1, Axis, Undefined, 0
moveVertical = 1, Axis, Undefined, 1
use = 1, Button, Undefined, 13
jump = 1, Button, Undefined, 14
left = 1, Button, Undefined, 7
right = 1, Button, Undefined, 5
up = 1, Button, Undefined, 4
down = 1, Button, Undefined, 6
sword = 1, Button, Undefined, 15
hammer = 1, Button, Undefined, 15
selectNextWeapon = 1, Button, Undefined, 12
selectPrevCharacter = 1, Button, Undefined, 10
selectNextCharacter = 1, Button, Undefined, 11
aimX = 1, Axis, Undefined, 2
aimY = 1, Axis, Undefined, 3
magnetize = 1, Button, Undefined, 1
controlConsoleMoveHorizontal = 1, Axis, Undefined, 0
controlConsoleMoveVertical = 1, Axis, Undefined, 1
controlConsoleRotateHorizontal = 1, Axis, Undefined, 2
controlConsoleRotateVertical = 1, Axis, Undefined, 3
sword = 1, Button, Undefined, 9
hammer = 1, Button, Undefined, 9
charge = 1, Button, Undefined, 8


User_Custom_0_InputComponent_Wizard_Binds_for_Sony_PLAYSTATION_R_3_Controller__A4B19P0_.txt

Code: Select all

# Automatic binds dump
#

[General]

Name = User Custom 0 InputComponent Wizard Binds for Sony PLAYSTATION(R)3 Controller [A4B19P0]
UserDisplayName = Speichern 1*

[Controller]

IDNumber = 1
IDString = Sony PLAYSTATION(R)3 Controller [A4B19P0ID0]
ControllerType = Joystick
ControllerSubType = General
EmulatedElement = Pointer, Axis General 2, Axis General 3

[Bindings]

moveHorizontal = 1, Axis, Undefined, 0
moveVertical = 1, Axis, Undefined, 1
use = 1, Button, Undefined, 13
jump = 1, Button, Undefined, 14
left = 1, Button, Undefined, 7
right = 1, Button, Undefined, 5
up = 1, Button, Undefined, 4
down = 1, Button, Undefined, 6
breakObject = 1, Button, Undefined, 15
selectPrevCharacter = 1, Button, Undefined, 10
selectNextCharacter = 1, Button, Undefined, 11
cursorAxisX = 1, Axis, Undefined, 2
cursorAxisY = 1, Axis, Undefined, 3
magnetize = 1, Button, Undefined, 1
controlConsoleMoveHorizontal = 1, Axis, Undefined, 0
controlConsoleMoveVertical = 1, Axis, Undefined, 1
controlConsoleRotateHorizontal = 1, Axis, Undefined, 2
controlConsoleRotateVertical = 1, Axis, Undefined, 3
conjure = 1, Button, Undefined, 8
levitate = 1, Button, Undefined, 8
conjure = 1, Button, Undefined, 9
levitate = 1, Button, Undefined, 9
cursor = 1, Pointer, Undefined, 0
Sorry for my bad english :)


Return to “Trine Technical Support for Linux & Mac”

Who is online

Users browsing this forum: No registered users and 8 guests