diff --git a/dist/idac/segatools.ini b/dist/idac/segatools.ini index 8b72d4e..7f8988e 100644 --- a/dist/idac/segatools.ini +++ b/dist/idac/segatools.ini @@ -87,6 +87,18 @@ coin=0x33 ; Input API selection for IO4 input emulator. ; Set "xinput" to use a gamepad and "dinput" to use a steering wheel. mode=xinput +; Adjust scaling for steering wheel input. +; +; This setting scales the steering wheel input so that the maximum positive +; and minimum negative steering inputs reported in the operator menu's input +; test screen do not exceed the value below. The maximum possible value is 128, +; and the value that matches the input range of a real cabinet is 128. +; +; NOTE: This is not the same thing as DirectInput steering wheel movement +; range! Segatools cannot control the maximum angle of your physical steering +; wheel controller, this setting is vendor-specific and can only be adjusted +; in the Control Panel. +restrict=128 [xinput] ; Left and right thumbsticks are mapped to left and right dpad buttons. @@ -104,18 +116,6 @@ linearSteering=0 leftStickDeadzone=7849 ; The default value for the right stick is 8689, max value is 32767. rightStickDeadzone=8689 -; Adjust scaling for steering wheel input. -; -; This setting scales the steering wheel input so that the maximum positive -; and minimum negative steering inputs reported in the operator menu's input -; test screen do not exceed the value below. The maximum possible value is 128, -; and the value that matches the input range of a real cabinet is 128. -; -; NOTE: This is not the same thing as DirectInput steering wheel movement -; range! Segatools cannot control the maximum angle of your physical steering -; wheel controller, this setting is vendor-specific and can only be adjusted -; in the Control Panel. -restrict=128 [dinput] ; Name of the DirectInput wheel to use (or any text that occurs in its name) diff --git a/dist/idz/segatools.ini b/dist/idz/segatools.ini index 7ddf1ad..adb0e97 100644 --- a/dist/idz/segatools.ini +++ b/dist/idz/segatools.ini @@ -87,6 +87,18 @@ coin=0x33 ; Input API selection for JVS input emulator. ; Set "xinput" to use a gamepad and "dinput" to use a steering wheel. mode=xinput +; Adjust scaling for steering wheel input. +; +; This setting scales the steering wheel input so that the maximum positive +; and minimum negative steering inputs reported in the operator menu's input +; test screen do not exceed the value below. The maximum possible value is 128, +; and the value that matches the input range of a real cabinet is 97. +; +; NOTE: This is not the same thing as DirectInput steering wheel movement +; range! Segatools cannot control the maximum angle of your physical steering +; wheel controller, this setting is vendor-specific and can only be adjusted +; in the Control Panel. +restrict=97 [xinput] ; Automatically reset the simulated shifter to Neutral when XInput Start is @@ -102,18 +114,6 @@ linearSteering=0 leftStickDeadzone=7849 ; The default value for the right stick is 8689, max value is 32767. rightStickDeadzone=8689 -; Adjust scaling for steering wheel input. -; -; This setting scales the steering wheel input so that the maximum positive -; and minimum negative steering inputs reported in the operator menu's input -; test screen do not exceed the value below. The maximum possible value is 128, -; and the value that matches the input range of a real cabinet is 97. -; -; NOTE: This is not the same thing as DirectInput steering wheel movement -; range! Segatools cannot control the maximum angle of your physical steering -; wheel controller, this setting is vendor-specific and can only be adjusted -; in the Control Panel. -restrict=97 [dinput] ; Name of the DirectInput wheel to use (or any text that occurs in its name) diff --git a/dist/swdc/segatools.ini b/dist/swdc/segatools.ini index 4f2ff03..74a5400 100644 --- a/dist/swdc/segatools.ini +++ b/dist/swdc/segatools.ini @@ -63,18 +63,6 @@ coin=0x33 ; Input API selection for IO4 input emulator. ; Set "xinput" to use a gamepad and "dinput" to use a steering wheel. mode=xinput - -[xinput] -; Use the left thumbstick for steering instead of both on XInput Controllers. -; 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 -; Configure deadzones for the left and right thumbsticks. -; The default value for the left stick is 7849, max value is 32767. -leftStickDeadzone=7849 -; The default value for the right stick is 8689, max value is 32767. -rightStickDeadzone=8689 ; Adjust scaling for steering wheel input. ; ; This setting scales the steering wheel input so that the maximum positive @@ -88,6 +76,18 @@ rightStickDeadzone=8689 ; in the Control Panel. restrict=128 +[xinput] +; Use the left thumbstick for steering instead of both on XInput Controllers. +; 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 +; Configure deadzones for the left and right thumbsticks. +; The default value for the left stick is 7849, max value is 32767. +leftStickDeadzone=7849 +; The default value for the right stick is 8689, max value is 32767. +rightStickDeadzone=8689 + [dinput] ; Name of the DirectInput wheel to use (or any text that occurs in its name) ; Example: G29 diff --git a/idacio/config.c b/idacio/config.c index 48410c5..968124b 100644 --- a/idacio/config.c +++ b/idacio/config.c @@ -111,7 +111,7 @@ void idac_io_config_load(struct idac_io_config *cfg, const wchar_t *filename) cfg->vk_test = GetPrivateProfileIntW(L"io4", L"test", '1', filename); cfg->vk_service = GetPrivateProfileIntW(L"io4", L"service", '2', filename); cfg->vk_coin = GetPrivateProfileIntW(L"io4", L"coin", '3', filename); - cfg->restrict_ = GetPrivateProfileIntW(L"io4", L"restrict", 97, filename); + cfg->restrict_ = GetPrivateProfileIntW(L"io4", L"restrict", 128, filename); GetPrivateProfileStringW( L"io4",