How to connect driving simulator hardware to Unity game?

Hello I wanted to connect a Unity game to driving simulator hardware (pedals, gear, wheel). I was wondering how do I do this? I don’t have the hardware but if I did theoretically how would it work? I hope I will be able to use my University’s driving simulator to do this. Thanks a lot!