PDA

View Full Version : Gamepad Issue - Axes inverted !


A.D.
4 Jun 2010, 13:40
Hi Team17 !!!

A friend of mine is having a gamepad which emulates an xbox controller and unfortunately the right stick for turning around is inverted. So he pushes the stick up and turns to left, stick down turns right....

Could you please post where in the config files he may change the axes.... I had the a similiar problem with Batman Arkh Asylum but it seems that the changes don't work here.

You've done a great game.... we would enjoy playing coop together if he could swap the z-rotation with z-axis.

Greets

A.D.

P.S.: It's a Medion Gamepad without any driver. We also tried Pinnacle to swap the axes but still it doesn't work. Sorry but the game is unplayable like that !!

Larios
4 Jun 2010, 18:15
it is a 360 or normal xbox controller?

Chuckles
4 Jun 2010, 23:26
There's a config file you'll find in your documents folder here:

C:\Users\<username>\Documents\My Games\UnrealEngine3\AlienBreedEp1Game\Config

if you're using Vista or here:

C:\Documents and Settings\username\My Documents\My Games\UnrealEngine3\AlienBreedEp1Game\Config

for XP.

Open the file AlienBreedEp1Engine.ini in notepad (or your favourite text editor) and search for the string "LeftXAxisIndex" (without the quotes). It should be in the [SystemSettings] section along with 3 other values and look like this:

LeftXAxisIndex=1
LeftYAxisIndex=-2
RightXAxisIndex=3
RightYAxisIndex=6

The number refers to the axis index as reported by DirectX, and unfortunately seems to vary from controller to controller. I don't think we have one of those here to see which axes are mapped to what, all I can suggest is you twiddle the numbers and see what happens.

Cheers,
Charles

A.D.
5 Jun 2010, 00:39
Thanks for your help.I swapped 3 to 6 and vice versa.And it works,we are so happy.Thanks a lot.:cool: