forked from TeamTofuShop/segatools
idz, idac, swdc: Added separate pedals config, better XInput controls
- Configure separate pedals which are not part of the steering wheel (base) - It is now possible to have a different steering wheel, pedal and shifter brand all connected to 3 different USB ports - XInput does not have a deadzone at the end of the max steering anymore and the `restrict` setting works as intended
This commit is contained in:
12
dist/idac/segatools.ini
vendored
12
dist/idac/segatools.ini
vendored
@ -110,7 +110,7 @@ autoNeutral=1
|
||||
; Not recommended as it will not give you the precision needed for this game.
|
||||
singleStickSteering=1
|
||||
; Use linear steering instead of the default non-linear cubing steering.
|
||||
linearSteering=0
|
||||
linearSteering=1
|
||||
; Configure deadzones for the left and right thumbsticks.
|
||||
; The default value for the left stick is 7849, max value is 32767.
|
||||
leftStickDeadzone=7849
|
||||
@ -123,6 +123,12 @@ rightStickDeadzone=8689
|
||||
;
|
||||
; If this is left blank then the first DirectInput device will be used.
|
||||
deviceName=
|
||||
; Name of the DirectInput pedals to use (or any subset thereof).
|
||||
; Leave blank if you do not have separate pedals; aka the pedals are part of
|
||||
; the wheel.
|
||||
;
|
||||
; The pedals will be mapped to the accelAxis and brakeAxis.
|
||||
pedalsName=
|
||||
; Name of the positional shifter to use (or any subset thereof).
|
||||
; Leave blank if you do not have a positional shifter; a positional shifter
|
||||
; will be simulated using the configured Shift Down and Shift Up buttons
|
||||
@ -150,8 +156,8 @@ viewChg=2
|
||||
left=7
|
||||
right=8
|
||||
; Button mappings for the simulated six-speed shifter.
|
||||
shiftDn=5
|
||||
shiftUp=6
|
||||
shiftDn=6
|
||||
shiftUp=5
|
||||
; Button mappings for the positional shifter, if present.
|
||||
gear1=13
|
||||
gear2=14
|
||||
|
8
dist/idz/segatools.ini
vendored
8
dist/idz/segatools.ini
vendored
@ -108,7 +108,7 @@ autoNeutral=1
|
||||
; Not recommended as it will not give you the precision needed for this game.
|
||||
singleStickSteering=1
|
||||
; Use linear steering instead of the default non-linear cubing steering.
|
||||
linearSteering=0
|
||||
linearSteering=1
|
||||
; Configure deadzones for the left and right thumbsticks.
|
||||
; The default value for the left stick is 7849, max value is 32767.
|
||||
leftStickDeadzone=7849
|
||||
@ -130,6 +130,12 @@ deviceName=
|
||||
;
|
||||
; Example: G29
|
||||
shifterName=
|
||||
; Name of the DirectInput pedals to use (or any subset thereof).
|
||||
; Leave blank if you do not have separate pedals; aka the pedals are part of
|
||||
; the wheel.
|
||||
;
|
||||
; The pedals will be mapped to the accelAxis and brakeAxis.
|
||||
pedalsName=
|
||||
; Pedal mappings. Valid axis names are:
|
||||
;
|
||||
; X, Y, Z, RX, RY, RZ, U, V
|
||||
|
8
dist/swdc/segatools.ini
vendored
8
dist/swdc/segatools.ini
vendored
@ -81,7 +81,7 @@ restrict=128
|
||||
; Not recommended as it will not give you the precision needed for this game.
|
||||
singleStickSteering=1
|
||||
; Use linear steering instead of the default non-linear cubing steering.
|
||||
linearSteering=0
|
||||
linearSteering=1
|
||||
; Configure deadzones for the left and right thumbsticks.
|
||||
; The default value for the left stick is 7849, max value is 32767.
|
||||
leftStickDeadzone=7849
|
||||
@ -94,6 +94,12 @@ rightStickDeadzone=8689
|
||||
;
|
||||
; If this is left blank then the first DirectInput device will be used.
|
||||
deviceName=
|
||||
; Name of the DirectInput pedals to use (or any subset thereof).
|
||||
; Leave blank if you do not have separate pedals; aka the pedals are part of
|
||||
; the wheel.
|
||||
;
|
||||
; The pedals will be mapped to the accelAxis and brakeAxis.
|
||||
pedalsName=
|
||||
; Pedal mappings. Valid axis names are:
|
||||
;
|
||||
; X, Y, Z, RX, RY, RZ, U, V
|
||||
|
4
dist/swdc/start.bat
vendored
4
dist/swdc/start.bat
vendored
@ -2,11 +2,15 @@
|
||||
|
||||
pushd %~dp0
|
||||
|
||||
rem Matching Server
|
||||
start /min ..\..\..\Tools\tdrserver.exe
|
||||
REM start /min inject -d -k swdchook.dll amdaemon.exe -c config.json config_LanClient.json config_MiniCabinet.json config_hook.json
|
||||
start /min inject -d -k swdchook.dll amdaemon.exe -c config.json config_LanServer.json config_MiniCabinet.json config_hook.json
|
||||
REM Valid -launch parameters are "PC", "Cabinet" and "MiniCabinet
|
||||
inject -d -k swdchook.dll ..\Todoroki\Binaries\Win64\Todoroki-Win64-Shipping.exe -launch=MiniCabinet -ABSLOG="..\..\..\..\..\Userdata\Todoroki.log" -UserDir="..\..\..\Userdata" -NotInstalled -UNATTENDED
|
||||
|
||||
taskkill /f /im amdaemon.exe > nul 2>&1
|
||||
taskkill /f /im tdrserver.exe > nul 2>&1
|
||||
|
||||
echo.
|
||||
echo Game processes have terminated
|
||||
|
Reference in New Issue
Block a user