Компьютерный форум OSzone.net  

Компьютерный форум OSzone.net (http://forum.oszone.net/index.php)
-   Программирование и базы данных (http://forum.oszone.net/forumdisplay.php?f=21)
-   -   Помогите отредактировать файл эмулятора геймпада XBox360 (x360ce.ini) для игры Mafia2 (http://forum.oszone.net/showthread.php?t=185921)

Njkzy 19-09-2010 20:59 1499339

Помогите отредактировать файл эмулятора геймпада XBox360 (x360ce.ini) для игры Mafia2
 
Здравствуйте, помогите отредактировать файл эмулятора геймпада XBox360 (x360ce.ini) для игры Mafia2. Проблема в следующем я скачал эмулятор геймпада Xbox 360 для игры Mafia II что бы играть в неё с рулем Genius Speed Wheel 3. Но когда с рулем заходишь в игру и садишься в автомобиль, автомобиль начинает ехать даже если не нажимать на педаль газа. Хотелось бы устранить этот "баг".
Исходный код того файла:
читать дальше »
Код:

[Options]
UseInitBeep=1            #use 0 to 1; default 1; beep on init
Log=0                    #use 0 to 1; creates a log file in folder 'x360ce logs'

[PAD1]
Index=0                 
Native=0                 
VID=0x0                 
PID=0x0                 
Left Analog X=1       



Left Analog X+ Button=0
Left Analog X- Button=0
#Left Analog Y+ Button=0
#Left Analog Y- Button=0
#Right Analog X+ Button=0
#Right Analog X- Button=0
Right Analog Y+ Button=0
Right Analog Y- Button=0
D-pad POV=1
D-pad Up=0
D-pad Down=0
D-pad Left=7
D-pad Right=8
A=6
B=4
X=5
Y=3
Left Shoulder=1
Right Shoulder=2
Back=9
Start=10
Left Thumb=11
Right Thumb=12
TriggerDeadzone=5



#этой строкой педаль газа переназначаем на правый курок
Right Trigger=a-2

UseForceFeedback=0
SwapMotor=0
ForcePercent=0
ControllerType=1
AxisToDPad=0
AxisToDPadDeadZone=256
AxisToDPadOffset=0
POVXReverse=0
POVYReverse=0
Left Analog X Linear=100

[PAD2]
Index=-1                  #controller index in system game controllers list; 0 is first; -1 to ignore this pad
Left Analog X=1          #axis index; use - to invert; precede with 's' for a slider eg; s-1; 7 to disable
Left Analog Y=-2          #axis index; use - to invert; precede with 's' for a slider eg; s-1; 7 to disable
Right Analog X=3          #axis index; use - to invert; precede with 's' for a slider eg; s-1; 7 to disable
Right Analog Y=-6        #axis index; use - to invert; precede with 's' for a slider eg; s-1; 7 to disable
Left Analog X Linear=0    #-100 to +100  raise this number to increase sensitivity near center
Left Analog Y Linear=0    #-100 to +100  raise this number to increase sensitivity near center
Right Analog X Linear=0  #-100 to +100  raise this number to increase sensitivity near center
Right Analog Y Linear=0  #-100 to +100  raise this number to increase sensitivity near center
Left Analog X+ Button=0  #button id; 0 to disable
Left Analog X- Button=0  #button id; 0 to disable
Left Analog Y+ Button=0  #button id; 0 to disable
Left Analog Y- Button=0  #button id; 0 to disable
Right Analog X+ Button=0  #button id; 0 to disable
Right Analog X- Button=0  #button id; 0 to disable
Right Analog Y+ Button=0  #button id; 0 to disable
Right Analog Y- Button=0  #button id; 0 to disable
D-pad POV=1              #POV index; 0 to disable
D-pad Up=0                #button id; 0 to disable
D-pad Down=0              #button id; 0 to disable
D-pad Left=0              #button id; 0 to disable
D-pad Right=0            #button id; 0 to disable
A=2                      #button id; 0 to disable
B=3                      #button id; 0 to disable
X=1                      #button id; 0 to disable
Y=4                      #button id; 0 to disable
Left Shoulder=5          #button id; 0 to disable
Right Shoulder=6          #button id; 0 to disable
Back=9                    #button id; 0 to disable
Start=10                  #button id; 0 to disable
Left Thumb=11            #button id; 0 to disable
Right Thumb=12            #button id; 0 to disable
TriggerDeadzone=0        #use 0 to 255; default 0; add deadzone to trigger
Left Trigger=a-4          #button id; precede with 'a' for an axis; 's' for a slider; 'x' for a half range axis; 'h' for half slider; use '-' to invert ie. x-2;
Right Trigger=a-5        #button id; precede with 'a' for an axis; 's' for a slider; 'x' for a half range axis; 'h' for half slider; use '-' to invert ie. x-2;
UseForceFeedback=1        #use 0 to 1; default 0
SwapMotor=0              #use 0 to 1; default 0
ForcePercent=100          #use 0 to 100; default 100
ControllerType=1          #GAMEPAD 1; WHEEL 2; STICK 3; FLIGHT_SICK 4; DANCE_PAD 5; GUITAR 6; DRUM_KIT 8;  //WILDS
AxisToDPad=0              #Use Axis to control DPad (0 disabled, 1 enabled)                                //WILDS
AxisToDPadDeadZone=256    #Dead zone for Axis                                                              //WILDS
AxisToDPadOffset=0        #                                                                                //WILDS
POVXReverse=0            #Reverse POV Up/Down
POVYReverse=0            #Reverse POV Left/Right

[PAD3]
Index=-1                  #controller index in system game controllers list; 0 is first; -1 to ignore this pad
Left Analog X=1          #axis index; use - to invert; precede with 's' for a slider eg; s-1; 7 to disable
Left Analog Y=-2          #axis index; use - to invert; precede with 's' for a slider eg; s-1; 7 to disable
Right Analog X=3          #axis index; use - to invert; precede with 's' for a slider eg; s-1; 7 to disable
Right Analog Y=-6        #axis index; use - to invert; precede with 's' for a slider eg; s-1; 7 to disable
Left Analog X Linear=0    #-100 to +100  raise this number to increase sensitivity near center
Left Analog Y Linear=0    #-100 to +100  raise this number to increase sensitivity near center
Right Analog X Linear=0  #-100 to +100  raise this number to increase sensitivity near center
Right Analog Y Linear=0  #-100 to +100  raise this number to increase sensitivity near center
Left Analog X+ Button=0  #button id; 0 to disable
Left Analog X- Button=0  #button id; 0 to disable
Left Analog Y+ Button=0  #button id; 0 to disable
Left Analog Y- Button=0  #button id; 0 to disable
Right Analog X+ Button=0  #button id; 0 to disable
Right Analog X- Button=0  #button id; 0 to disable
Right Analog Y+ Button=0  #button id; 0 to disable
Right Analog Y- Button=0  #button id; 0 to disable
D-pad POV=1              #POV index; 0 to disable
D-pad Up=0                #button id; 0 to disable
D-pad Down=0              #button id; 0 to disable
D-pad Left=0              #button id; 0 to disable
D-pad Right=0            #button id; 0 to disable
A=2                      #button id; 0 to disable
B=3                      #button id; 0 to disable
X=1                      #button id; 0 to disable
Y=4                      #button id; 0 to disable
Left Shoulder=5          #button id; 0 to disable
Right Shoulder=6          #button id; 0 to disable
Back=9                    #button id; 0 to disable
Start=10                  #button id; 0 to disable
Left Thumb=11            #button id; 0 to disable
Right Thumb=12            #button id; 0 to disable
TriggerDeadzone=0        #use 0 to 255; default 0; add deadzone to trigger
Left Trigger=a-4          #button id; precede with 'a' for an axis; 's' for a slider; 'x' for a half range axis; 'h' for half slider; use '-' to invert ie. x-2;
Right Trigger=a-5        #button id; precede with 'a' for an axis; 's' for a slider; 'x' for a half range axis; 'h' for half slider; use '-' to invert ie. x-2;
UseForceFeedback=1        #use 0 to 1; default 0
SwapMotor=0              #use 0 to 1; default 0
ForcePercent=100          #use 0 to 100; default 100
ControllerType=1          #GAMEPAD 1; WHEEL 2; STICK 3; FLIGHT_SICK 4; DANCE_PAD 5; GUITAR 6; DRUM_KIT 8;  //WILDS
AxisToDPad=0              #Use Axis to control DPad (0 disabled, 1 enabled)                                //WILDS
AxisToDPadDeadZone=256    #Dead zone for Axis                                                              //WILDS
AxisToDPadOffset=0        #                                                                                //WILDS
POVXReverse=0            #Reverse POV Up/Down
POVYReverse=0            #Reverse POV Left/Right

[PAD4]
Index=-1                  #controller index in system game controllers list; 0 is first; -1 to ignore this pad
Left Analog X=1          #axis index; use - to invert; precede with 's' for a slider eg; s-1; 7 to disable
Left Analog Y=-2          #axis index; use - to invert; precede with 's' for a slider eg; s-1; 7 to disable
Right Analog X=3          #axis index; use - to invert; precede with 's' for a slider eg; s-1; 7 to disable
Right Analog Y=-6        #axis index; use - to invert; precede with 's' for a slider eg; s-1; 7 to disable
Left Analog X Linear=0    #-100 to +100  raise this number to increase sensitivity near center
Left Analog Y Linear=0    #-100 to +100  raise this number to increase sensitivity near center
Right Analog X Linear=0  #-100 to +100  raise this number to increase sensitivity near center
Right Analog Y Linear=0  #-100 to +100  raise this number to increase sensitivity near center
Left Analog X+ Button=0  #button id; 0 to disable
Left Analog X- Button=0  #button id; 0 to disable
Left Analog Y+ Button=0  #button id; 0 to disable
Left Analog Y- Button=0  #button id; 0 to disable
Right Analog X+ Button=0  #button id; 0 to disable
Right Analog X- Button=0  #button id; 0 to disable
Right Analog Y+ Button=0  #button id; 0 to disable
Right Analog Y- Button=0  #button id; 0 to disable
D-pad POV=1              #POV index; 0 to disable
D-pad Up=0                #button id; 0 to disable
D-pad Down=0              #button id; 0 to disable
D-pad Left=0              #button id; 0 to disable
D-pad Right=0            #button id; 0 to disable
A=2                      #button id; 0 to disable
B=3                      #button id; 0 to disable
X=1                      #button id; 0 to disable
Y=4                      #button id; 0 to disable
Left Shoulder=5          #button id; 0 to disable
Right Shoulder=6          #button id; 0 to disable
Back=9                    #button id; 0 to disable
Start=10                  #button id; 0 to disable
Left Thumb=11            #button id; 0 to disable
Right Thumb=12            #button id; 0 to disable
TriggerDeadzone=0        #use 0 to 255; default 0; add deadzone to trigger
Left Trigger=a-4          #button id; precede with 'a' for an axis; 's' for a slider; 'x' for a half range axis; 'h' for half slider; use '-' to invert ie. x-2;
Right Trigger=a-5        #button id; precede with 'a' for an axis; 's' for a slider; 'x' for a half range axis; 'h' for half slider; use '-' to invert ie. x-2;
UseForceFeedback=1        #use 0 to 1; default 0
SwapMotor=0              #use 0 to 1; default 0
ForcePercent=100          #use 0 to 100; default 100
ControllerType=1          #GAMEPAD 1; WHEEL 2; STICK 3; FLIGHT_SICK 4; DANCE_PAD 5; GUITAR 6; DRUM_KIT 8;  //WILDS
AxisToDPad=0              #Use Axis to control DPad (0 disabled, 1 enabled)                                //WILDS
AxisToDPadDeadZone=256    #Dead zone for Axis                                                              //WILDS
AxisToDPadOffset=0        #                                                                                //WILDS
POVXReverse=0            #Reverse POV Up/Down
POVYReverse=0            #Reverse POV Left/Right



Время: 19:06.

Время: 19:06.
© OSzone.net 2001-