Difference between revisions of "Xbox Controller"

From Vendetta Online Wiki
Jump to: navigation, search
Line 2: Line 2:
 
'''THIS PAGE IS VERY MUCH A WORK IN PROGRESS'''
 
'''THIS PAGE IS VERY MUCH A WORK IN PROGRESS'''
  
== Axis numbers ==
+
== Axis IDs ==
'''INCOMPLETE:''' I'm just using the wiki to save this while I go double check these axes
+
These are the axis IDs corresponding to the JOYXXX blocks in the first half of the config.ini entry.
  RU NONE
+
  RU - ''No such axis''
  RZ Accel
+
  RZ - ''No such axis''
  RY Pitch
+
  RY - right joypad, y axis
  RX Turn
+
  RX - right joypad, x axis
  Z  NONE
+
  Z  - ''No such axis''
  Y  Accel
+
  Y  - left joypad, y axis
  X  StrafeLR
+
  X  - left joypad, x axis
  
== Button Numbers ==
+
== Button IDs ==
These are the button numbers corresponding to the ''JOYBUTTON'' numbers in the config.ini entry.
+
These are the button IDs corresponding to the JOYBUTTON numbers in the second half of the config.ini entry.
  0  A
+
  0  - A
  1  B
+
  1  - B
  2  X
+
  2  - X
  3  Y
+
  3  - Y
  4  black
+
  4  - black
  5  white
+
  5  - white
  6  start
+
  6  - start
  7  select
+
  7  - select
  8  left joypad click
+
  8  - left joypad click
  9  right joypad click
+
  9  - right joypad click
  10 left trigger
+
  10 - left trigger
  11 right trigger
+
  11 - right trigger
 
Though config.ini provides space for up to 23 button configurations per entry, anything above 11 is ignored for the Xbox controller as there are "only" 12 buttons.
 
Though config.ini provides space for up to 23 button configurations per entry, anything above 11 is ignored for the Xbox controller as there are "only" 12 buttons.
  
 
== config.ini: ==
 
== config.ini: ==
This is a decent starting config.ini entry for the controller. It's very bare, the intention being for you to try it out and populate it with your personal preferences. The main purpose of providing this is to save you time figuring out which axes are which, and which axes need inverting.
+
This is an empty config.ini for the Xbox controller. Buttons and axes that you can add binds to are marked in bold. Nonexistent buttons and axes are crossed out.
 +
 
 +
NOTE: Currently testing to see whether the superfluous config can simply be removed from the file, or if the game automatically replaces it on loading.
 
  [XBCD XBox Gamepad]
 
  [XBCD XBox Gamepad]
 
  enabled=1
 
  enabled=1
  JOYRU=NONE
+
  <strike>JOYRU=NONE
 
  Ruaxisinvert=0
 
  Ruaxisinvert=0
 
  Ruaxiscenter=0
 
  Ruaxiscenter=0
Line 39: Line 41:
 
  Ruaxisminsaturation=-95
 
  Ruaxisminsaturation=-95
 
  Ruaxissaturation=95
 
  Ruaxissaturation=95
  JOYRZ=Accel
+
  JOYRZ=NONE
 
  Rzaxisinvert=0
 
  Rzaxisinvert=0
 
  Rzaxiscenter=0
 
  Rzaxiscenter=0
Line 45: Line 47:
 
  Rzaxisdeadzone=10
 
  Rzaxisdeadzone=10
 
  Rzaxisminsaturation=-95
 
  Rzaxisminsaturation=-95
  Rzaxissaturation=95
+
  Rzaxissaturation=95</strike>
  JOYRY=Pitch
+
  '''JOYRY='''
  Ryaxisinvert=1
+
  Ryaxisinvert=0
 
  Ryaxiscenter=0
 
  Ryaxiscenter=0
 
  Ryaxismindeadzone=-10
 
  Ryaxismindeadzone=-10
Line 53: Line 55:
 
  Ryaxisminsaturation=-95
 
  Ryaxisminsaturation=-95
 
  Ryaxissaturation=95
 
  Ryaxissaturation=95
  JOYRX=Turn
+
  '''JOYRX='''
  Rxaxisinvert=1
+
  Rxaxisinvert=0
 
  Rxaxiscenter=0
 
  Rxaxiscenter=0
 
  Rxaxismindeadzone=-10
 
  Rxaxismindeadzone=-10
Line 60: Line 62:
 
  Rxaxisminsaturation=-95
 
  Rxaxisminsaturation=-95
 
  Rxaxissaturation=95
 
  Rxaxissaturation=95
  JOYZ=NONE
+
  <strike>JOYZ=NONE
 
  zaxisinvert=0
 
  zaxisinvert=0
 
  zaxiscenter=0
 
  zaxiscenter=0
Line 66: Line 68:
 
  zaxisdeadzone=10
 
  zaxisdeadzone=10
 
  zaxisminsaturation=-95
 
  zaxisminsaturation=-95
  zaxissaturation=95
+
  zaxissaturation=95</strike>
  JOYY=Accel
+
  '''JOYY='''
  yaxisinvert=1
+
  yaxisinvert=0
 
  yaxiscenter=0
 
  yaxiscenter=0
 
  yaxismindeadzone=-10
 
  yaxismindeadzone=-10
Line 74: Line 76:
 
  yaxisminsaturation=-95
 
  yaxisminsaturation=-95
 
  yaxissaturation=95
 
  yaxissaturation=95
  JOYX=StrafeLR
+
  '''JOYX='''
 
  xaxisinvert=0
 
  xaxisinvert=0
 
  xaxiscenter=0
 
  xaxiscenter=0
Line 81: Line 83:
 
  xaxisminsaturation=-95
 
  xaxisminsaturation=-95
 
  xaxissaturation=95
 
  xaxissaturation=95
  JOYBUTTON0=+Shoot2
+
  '''JOYBUTTON0='''
  JOYBUTTON1=+Shoot1
+
  '''JOYBUTTON1='''
  JOYBUTTON2=+Shoot3
+
  '''JOYBUTTON2='''
  JOYBUTTON3=+Turbo
+
  '''JOYBUTTON3='''
  JOYBUTTON4=
+
  '''JOYBUTTON4='''
  JOYBUTTON5=
+
  '''JOYBUTTON5='''
  JOYBUTTON6=
+
  '''JOYBUTTON6='''
  JOYBUTTON7=
+
  '''JOYBUTTON7='''
  JOYBUTTON8=
+
  '''JOYBUTTON8='''
  JOYBUTTON9=
+
  '''JOYBUTTON9='''
  JOYBUTTON10=
+
  '''JOYBUTTON10='''
  JOYBUTTON11=
+
  '''JOYBUTTON11='''
  JOYBUTTON12=
+
  <strike>JOYBUTTON12=
 
  JOYBUTTON13=
 
  JOYBUTTON13=
 
  JOYBUTTON14=
 
  JOYBUTTON14=
Line 104: Line 106:
 
  JOYBUTTON21=
 
  JOYBUTTON21=
 
  JOYBUTTON22=
 
  JOYBUTTON22=
  JOYBUTTON23=
+
  JOYBUTTON23=</strike>
  JOYPOV0UP=
+
  '''JOYPOV0UP='''
  JOYPOV0RIGHT=
+
  '''JOYPOV0RIGHT='''
  JOYPOV0DOWN=
+
  '''JOYPOV0DOWN='''
  JOYPOV0LEFT=
+
  '''JOYPOV0LEFT='''

Revision as of 00:04, 30 January 2007

This page describes using an Xbox controller as a joypad for Vendetta Online. THIS PAGE IS VERY MUCH A WORK IN PROGRESS

Axis IDs

These are the axis IDs corresponding to the JOYXXX blocks in the first half of the config.ini entry.

RU - No such axis
RZ - No such axis
RY - right joypad, y axis
RX - right joypad, x axis
Z  - No such axis
Y  - left joypad, y axis
X  - left joypad, x axis

Button IDs

These are the button IDs corresponding to the JOYBUTTON numbers in the second half of the config.ini entry.

0  - A
1  - B
2  - X
3  - Y
4  - black
5  - white
6  - start
7  - select
8  - left joypad click
9  - right joypad click
10 - left trigger
11 - right trigger

Though config.ini provides space for up to 23 button configurations per entry, anything above 11 is ignored for the Xbox controller as there are "only" 12 buttons.

config.ini:

This is an empty config.ini for the Xbox controller. Buttons and axes that you can add binds to are marked in bold. Nonexistent buttons and axes are crossed out.

NOTE: Currently testing to see whether the superfluous config can simply be removed from the file, or if the game automatically replaces it on loading.

[XBCD XBox Gamepad]
enabled=1
JOYRU=NONE
Ruaxisinvert=0
Ruaxiscenter=0
Ruaxismindeadzone=-10
Ruaxisdeadzone=10
Ruaxisminsaturation=-95
Ruaxissaturation=95
JOYRZ=NONE
Rzaxisinvert=0
Rzaxiscenter=0
Rzaxismindeadzone=-10
Rzaxisdeadzone=10
Rzaxisminsaturation=-95
Rzaxissaturation=95
JOYRY=
Ryaxisinvert=0
Ryaxiscenter=0
Ryaxismindeadzone=-10
Ryaxisdeadzone=10
Ryaxisminsaturation=-95
Ryaxissaturation=95
JOYRX=
Rxaxisinvert=0
Rxaxiscenter=0
Rxaxismindeadzone=-10
Rxaxisdeadzone=10
Rxaxisminsaturation=-95
Rxaxissaturation=95
JOYZ=NONE
zaxisinvert=0
zaxiscenter=0
zaxismindeadzone=-10
zaxisdeadzone=10
zaxisminsaturation=-95
zaxissaturation=95
JOYY=
yaxisinvert=0
yaxiscenter=0
yaxismindeadzone=-10
yaxisdeadzone=10
yaxisminsaturation=-95
yaxissaturation=95
JOYX=
xaxisinvert=0
xaxiscenter=0
xaxismindeadzone=-10
xaxisdeadzone=10
xaxisminsaturation=-95
xaxissaturation=95
JOYBUTTON0=
JOYBUTTON1=
JOYBUTTON2=
JOYBUTTON3=
JOYBUTTON4=
JOYBUTTON5=
JOYBUTTON6=
JOYBUTTON7=
JOYBUTTON8=
JOYBUTTON9=
JOYBUTTON10=
JOYBUTTON11=
JOYBUTTON12=
JOYBUTTON13=
JOYBUTTON14=
JOYBUTTON15=
JOYBUTTON16=
JOYBUTTON17=
JOYBUTTON18=
JOYBUTTON19=
JOYBUTTON20=
JOYBUTTON21=
JOYBUTTON22=
JOYBUTTON23=
JOYPOV0UP=
JOYPOV0RIGHT=
JOYPOV0DOWN=
JOYPOV0LEFT=