Hi.I work on a project with VehicleGame as template.I drive my car by keyboard input(W,S,A,D and that arrows) .I have a steering wheel ( this ) , and i want to drive my car with this steering wheel.Is there a way to get data from usb input and implement in my project.I’m very good at C/C++ programming , but i didn’t find a way , and a logic algorithm to implement this , and sincerely i have no ideea how to do this.I searched on internet but i didn’t find anything useful.
Anyone have any idea? Thanks for help , and have a good day!
You probably want a plugin like this one from the marketplace: Controlysis in Code Plugins - UE Marketplace
It’s not cheap, but it would solve your problem.
Hope this helps!
Well, i haven’t used it myself, but it claims to work with any directinput device. If your steering wheel is a directinput compatible device, i would assume so. You could contact the plugin’s author and ask if you are unsure?
Well yes, the other option is to write something like this yourself using directinput on windowsand C++. I would imagine this might take a few days for a competent C++/directx developer. Given the time and ability you could do that, but that depends on if you have the time and the value of your time. Personally, i’d rather pay $45 than spend days and days developing it myself at much greater cost unless i was really curious about how it is done.
If you really want to DIY, then you could start by looking in the DirectX 9.0 SDK DirectInput samples, e.g. the example project under Samples\C++\DirectInput\Joystick which can be easily adapted to a steering wheel.
Are u sure this will work on my steering wheel?
Ok , thanks for help.There is no method to get data from my usb device ? I will buy it , but i want to be sure that there is no another method.