Posted October 16, 2022
Hey all,
There's an awesome project called Xidi (h t t p s: / /github.com/samuelgr/Xidi) that is a powerful yet easy to use XInput to DInput layer. This works great with SH4 and any registered XInput pads in Windows. All buttons, triggers, analog sticks and force feedback works! Additionally, this also works in Linux via WINE/Proton.
To use it, install MS VC 2022 redist (h t t p s: / /aka.ms/vs/17/release/vc_redist.x86.exe) and then download Xidi 4.0.3 (or higher) from h t t p s: / /github.com/samuelgr/Xidi/releases. In the Win32 folder, extract dinput8.dll into the root SH4 folder (this will replace GOG's implementation of the dinput8.dll). For Linux gamers, one additional step is required: open the Wine Configuration window for the specific prefix you're using, go to the 'Libraries' tab and add 'dinput8' and 'd3d8' as native, builtin.
Lastly, in the root SH4 folder, create a file named Xidi.ini and paste the following in the file:
[Mapper]
Type = SH4
[CustomMapper:SH4]
Template = StandardGamepad
StickRightX = Axis(RotX)
StickRightY = Axis(RotY)
Save and run SH4Config.exe to map the controls or do so ingame. Enjoy!
There's an awesome project called Xidi (h t t p s: / /github.com/samuelgr/Xidi) that is a powerful yet easy to use XInput to DInput layer. This works great with SH4 and any registered XInput pads in Windows. All buttons, triggers, analog sticks and force feedback works! Additionally, this also works in Linux via WINE/Proton.
To use it, install MS VC 2022 redist (h t t p s: / /aka.ms/vs/17/release/vc_redist.x86.exe) and then download Xidi 4.0.3 (or higher) from h t t p s: / /github.com/samuelgr/Xidi/releases. In the Win32 folder, extract dinput8.dll into the root SH4 folder (this will replace GOG's implementation of the dinput8.dll). For Linux gamers, one additional step is required: open the Wine Configuration window for the specific prefix you're using, go to the 'Libraries' tab and add 'dinput8' and 'd3d8' as native, builtin.
Lastly, in the root SH4 folder, create a file named Xidi.ini and paste the following in the file:
[Mapper]
Type = SH4
[CustomMapper:SH4]
Template = StandardGamepad
StickRightX = Axis(RotX)
StickRightY = Axis(RotY)
Save and run SH4Config.exe to map the controls or do so ingame. Enjoy!
Post edited October 28, 2022 by r2rX