Forums » General
X-Box Pad Binding, help request. :)
I am trying to bind the controls to my X-Box pad, such that the analog triggers left/right, will roll left/right respectively. They are ideal for this, as, they are not buttons, rather axis'.
I am attempting this by using deadbands to block out one direction of roll when i set them, as, they are always at max or min when unpressed, depending on whether they are inverted or not.
For some reason, I can't get the calibration to work the way I want, though, so I am asking here for suggestions.
Thanks in advance.
PS, nice changes since alpha/beta, glad to be back.
I am attempting this by using deadbands to block out one direction of roll when i set them, as, they are always at max or min when unpressed, depending on whether they are inverted or not.
For some reason, I can't get the calibration to work the way I want, though, so I am asking here for suggestions.
Thanks in advance.
PS, nice changes since alpha/beta, glad to be back.
Update: Some of the settings in ~/.vendetta/config.ini for joystick look promising, center configruability and such. I just need to know the numbers, and I should be able to get it straightened out.
Any information on how the joystick configuration is handled would be appreciated.
Thanks
UPDATE2:
These values can't seem to be set, in that as soon as running the game, they default back to crazy numbers (random negative billions? :S)
I guess I'm going to ask the community for help on this matter, I'm not sure where to go from here.
More info:
My controller has 2 analog shoulder trigger buttons, that aren't centered when unpressed, they are in fact at their minimum. I am trying to make it so that no roll happens at minimum, and roll increases as you increase pressure, left and right, for the left and right shoulder buttons respectively.
If anyone knows how to accomplish this, it would be greatly appreciated.
Thanks.
Any information on how the joystick configuration is handled would be appreciated.
Thanks
UPDATE2:
These values can't seem to be set, in that as soon as running the game, they default back to crazy numbers (random negative billions? :S)
I guess I'm going to ask the community for help on this matter, I'm not sure where to go from here.
More info:
My controller has 2 analog shoulder trigger buttons, that aren't centered when unpressed, they are in fact at their minimum. I am trying to make it so that no roll happens at minimum, and roll increases as you increase pressure, left and right, for the left and right shoulder buttons respectively.
If anyone knows how to accomplish this, it would be greatly appreciated.
Thanks.
I used an XBox controller for my computer once. Wasn't too good. Anyway, what OS?
Is it an Xbox 360 or original Xbox controller? I use an Xbox 360 controller on Windows with no problems. Adjusting the dead zone in the config.ini helps.
EthicalClone, if you use the Xbox 360 controller, what settings do you have on the config.ini? I have the same thing here on WinXP but I don't know what to change the values to...the deadzone sucks.
Try using the joystick calibration utility in WinXP.
Or you can delete the joystick lines in the config.ini and they will be recreated. You would lose some of your axis/button binds, though, and have to set them up again.
I need to add some good default settings for that controller.
Or you can delete the joystick lines in the config.ini and they will be recreated. You would lose some of your axis/button binds, though, and have to set them up again.
I need to add some good default settings for that controller.
Here are my settings from the config.ini:
[XBOX 360 For Windows (Controller)]
enabled=1
JOYY=Pitch
yaxisinvert=1
yaxiscenter=0
yaxismindeadzone=-15
yaxisdeadzone=15
yaxisminsaturation=-95
yaxissaturation=95
JOYX=Turn
xaxisinvert=1
xaxiscenter=0
xaxismindeadzone=-15
xaxisdeadzone=15
xaxisminsaturation=-95
xaxissaturation=95
JOYRY=StrafeUD
Ryaxisinvert=1
Ryaxiscenter=0
Ryaxismindeadzone=-15
Ryaxisdeadzone=15
Ryaxisminsaturation=-95
Ryaxissaturation=95
JOYRX=StrafeLR
Rxaxisinvert=0
Rxaxiscenter=0
Rxaxismindeadzone=-15
Rxaxisdeadzone=15
Rxaxisminsaturation=-95
Rxaxissaturation=95
JOYZ=Accel
zaxisinvert=1
zaxiscenter=0
zaxismindeadzone=-10
zaxisdeadzone=10
zaxisminsaturation=-95
zaxissaturation=95
JOYBUTTON0=+Turbo
JOYBUTTON1=+Shoot1
JOYBUTTON2=+Shoot3
JOYBUTTON3=+Turbo
JOYBUTTON4=+RotateCW
JOYBUTTON5=+RotateCCW
JOYBUTTON6=
JOYBUTTON7=Activate
JOYBUTTON8=+Brakes
JOYBUTTON9=+Shoot2
JOYPOV0UP=RadarNextFront
JOYPOV0RIGHT=
JOYPOV0DOWN=RadarNextNearestEnemy
JOYPOV0LEFT=
[XBOX 360 For Windows (Controller)]
enabled=1
JOYY=Pitch
yaxisinvert=1
yaxiscenter=0
yaxismindeadzone=-15
yaxisdeadzone=15
yaxisminsaturation=-95
yaxissaturation=95
JOYX=Turn
xaxisinvert=1
xaxiscenter=0
xaxismindeadzone=-15
xaxisdeadzone=15
xaxisminsaturation=-95
xaxissaturation=95
JOYRY=StrafeUD
Ryaxisinvert=1
Ryaxiscenter=0
Ryaxismindeadzone=-15
Ryaxisdeadzone=15
Ryaxisminsaturation=-95
Ryaxissaturation=95
JOYRX=StrafeLR
Rxaxisinvert=0
Rxaxiscenter=0
Rxaxismindeadzone=-15
Rxaxisdeadzone=15
Rxaxisminsaturation=-95
Rxaxissaturation=95
JOYZ=Accel
zaxisinvert=1
zaxiscenter=0
zaxismindeadzone=-10
zaxisdeadzone=10
zaxisminsaturation=-95
zaxissaturation=95
JOYBUTTON0=+Turbo
JOYBUTTON1=+Shoot1
JOYBUTTON2=+Shoot3
JOYBUTTON3=+Turbo
JOYBUTTON4=+RotateCW
JOYBUTTON5=+RotateCCW
JOYBUTTON6=
JOYBUTTON7=Activate
JOYBUTTON8=+Brakes
JOYBUTTON9=+Shoot2
JOYPOV0UP=RadarNextFront
JOYPOV0RIGHT=
JOYPOV0DOWN=RadarNextNearestEnemy
JOYPOV0LEFT=
I'm using OSX 10.4, XBOX360 gamepad, Gamepad Companion 2.4 ( http://www.carvware.com ) and the XBOX360 Controller driver V0.04 ( http://tattiebogle.net )
After a long test/fail voyage I convinced me that, so far, nobody has been able to write an alias script or other to convert/bind/change the analog front right/left triggers into buttons.
But as someone says 'who perseveres reaches', i finally manage to use a 'mapping' method for the analog triggers previous mentioned, bind them in VO keyboard controls and set the controller calibration.
-- Analog Mapping to buttons--
Using Gamepad Companion preference panel (GPCPP) press the right trigger or Z-Rotation. The panel will show the name of the selected element ( http://www.phoenix-alliance.info/member/maiz/img/xbox360/z-rot.jpg ). In 'options' the actions will be changed from nothing (analog) to a "Multiple Key" mapping. This means that in the future, the trigger will have a key assigned to it unpressed position and other to the pressed position ( http://www.phoenix-alliance.info/member/maiz/img/xbox360/t-m.jpg ). I used F2 for pressed and F13 for unpressed.
Then do the same for the left trigger or Z-Axis ( http://www.phoenix-alliance.info/member/maiz/img/xbox360/z-axis.jpg ). I used F7 for pressed and F13 for unpressed.
The F13 key was used as a 'not used/not bind/unassigned' for VO .config purposes.
After mapping the key list should look like this http://www.phoenix-alliance.info/member/maiz/img/xbox360/list.jpg
You are free to use any key u like keeping in mind that a 'F13=not bind' key must be unreachable to VO.
Set the 'Mapping Method' to Method 1 ( http://www.phoenix-alliance.info/member/maiz/img/xbox360/method1.jpg ).
--VO Controls Configuration--
On Keyboard panel bind the keys you set on GPCPP. I used F2 for 'Fire Primary Weapon' and F7 for 'Fire Secondary Weapon' ( http://www.phoenix-alliance.info/member/maiz/img/xbox360/kb.jpg ).
The Joystick panel look like this http://www.phoenix-alliance.info/member/maiz/img/xbox360/jt.jpg
Note that Z-Axis and Z-Rotation look different. This is because there are two possible ways for the "new button" to work/respond. The "Controller settings" look like this http://www.phoenix-alliance.info/member/maiz/img/xbox360/controller-enabled.txt
--Additional Pictures--
This is how the XBOX360 Controller driver V0.04 ( http://tattiebogle.net ) looks like with:
-both analog triggers unpressed http://www.phoenix-alliance.info/member/maiz/img/xbox360/xbox-1.jpg
-both analog triggers half way pressed http://www.phoenix-alliance.info/member/maiz/img/xbox360/xbox-2.jpg
-picture of the XBOX360 V1.0 controller http://www.phoenix-alliance.info/member/maiz/img/xbox360/xbox-360-controller.jpg
Finally, all previously explained, is just ONE way to solve the problem. I believe there is a better one using the same tools (GPCPP) or other and different control settings for the .config file.
Good Luck
After a long test/fail voyage I convinced me that, so far, nobody has been able to write an alias script or other to convert/bind/change the analog front right/left triggers into buttons.
But as someone says 'who perseveres reaches', i finally manage to use a 'mapping' method for the analog triggers previous mentioned, bind them in VO keyboard controls and set the controller calibration.
-- Analog Mapping to buttons--
Using Gamepad Companion preference panel (GPCPP) press the right trigger or Z-Rotation. The panel will show the name of the selected element ( http://www.phoenix-alliance.info/member/maiz/img/xbox360/z-rot.jpg ). In 'options' the actions will be changed from nothing (analog) to a "Multiple Key" mapping. This means that in the future, the trigger will have a key assigned to it unpressed position and other to the pressed position ( http://www.phoenix-alliance.info/member/maiz/img/xbox360/t-m.jpg ). I used F2 for pressed and F13 for unpressed.
Then do the same for the left trigger or Z-Axis ( http://www.phoenix-alliance.info/member/maiz/img/xbox360/z-axis.jpg ). I used F7 for pressed and F13 for unpressed.
The F13 key was used as a 'not used/not bind/unassigned' for VO .config purposes.
After mapping the key list should look like this http://www.phoenix-alliance.info/member/maiz/img/xbox360/list.jpg
You are free to use any key u like keeping in mind that a 'F13=not bind' key must be unreachable to VO.
Set the 'Mapping Method' to Method 1 ( http://www.phoenix-alliance.info/member/maiz/img/xbox360/method1.jpg ).
--VO Controls Configuration--
On Keyboard panel bind the keys you set on GPCPP. I used F2 for 'Fire Primary Weapon' and F7 for 'Fire Secondary Weapon' ( http://www.phoenix-alliance.info/member/maiz/img/xbox360/kb.jpg ).
The Joystick panel look like this http://www.phoenix-alliance.info/member/maiz/img/xbox360/jt.jpg
Note that Z-Axis and Z-Rotation look different. This is because there are two possible ways for the "new button" to work/respond. The "Controller settings" look like this http://www.phoenix-alliance.info/member/maiz/img/xbox360/controller-enabled.txt
--Additional Pictures--
This is how the XBOX360 Controller driver V0.04 ( http://tattiebogle.net ) looks like with:
-both analog triggers unpressed http://www.phoenix-alliance.info/member/maiz/img/xbox360/xbox-1.jpg
-both analog triggers half way pressed http://www.phoenix-alliance.info/member/maiz/img/xbox360/xbox-2.jpg
-picture of the XBOX360 V1.0 controller http://www.phoenix-alliance.info/member/maiz/img/xbox360/xbox-360-controller.jpg
Finally, all previously explained, is just ONE way to solve the problem. I believe there is a better one using the same tools (GPCPP) or other and different control settings for the .config file.
Good Luck
dummy X 2
My recommendation is to use a playstaion 2 pad :P