It appears there isn’t a direct way of coding for the rigs’ hardware. Instead, you’d using an existing plugin that integrates a range of wheels/hardware into Unreal or Unity.
https://www.asetek.com/simsports/racehub/
A couple of SDK options:
https://nextlevelracing.com/sdk/
https://mozaracing.com/pages/sdk
Plugins:
https://www.fab.com/listings/325792a6-3255-4949-b840-62947d54c3aa
https://github.com/JaydenMaalouf/JoystickPlugin
Folks online state you need to use the “Use the built in rawinput plugin” (Windows raw input) for Unreal.
https://www.reddit.com/r/unrealengine/comments/1e9um3s/logitech_racing_wheel_an_other_peripherals_in_ue5/
https://dev.epicgames.com/documentation/en-us/unreal-engine/rawinput-plugin-in-unreal-engine