Hello All,
This is my first question and I am on a tight deadline so fingers crossed!
I have a driving sim that I am working on and I am attempting to use a logitech steering wheel and peddles as the input device. I am using the Raw Input plugin and it seems to “recognize” the device. When I run the project I can give throttle brake and steering inputs which work in the game except the car perpetually turns right.
I first looked into the plugin settings for Raw Input and I see that I can change the offset for the steering axis but doing this causes no change in the program. Even inverting the axis has no effect, it still turns right.
I also checked the Vendor and Product IDs and the product ID is not right. When I change it to IDs I have found online it either no longer responds to any controls or it still turns right and none of the offset or inverting parameters do anything.
I have tried this with both a Logitech Driving Force Pro controller and the Logitech Momo Controller with the same results. Searching the forum it seems like very few people have been able to get this basic input device (steering wheel) to work. Any advice?
Thanks
Me too
Have you solved it?
You should create a Print String node and put the axis value in there so you can see what’s happening.
Either you have something like I had ( Steering left was 0-0.5 and steering right was 1-0.5) so you need to do some math when there is an input or that you have chosen the wrong axis.
I hope you can fix your problem
I am getting the same issue and even when I tried to do Print String with
GenericUSBController Axis 1
still unreal have not recognize the input. have you solved it ?
I am using UE4.27 and facing the same problem. If i change the Scale to -1, it only turns to left. for a scale of 1, it turns right. Did anyone was able to solve the issue?
Ive been trying sooooo hard to find something that fixes this for months now. I need a steering wheel and pedals to work with the engine so i can create a VR simulator (4.25) but ive struggled to get anything to work in regards to a steering wheel. At this point im going to have to try and use an arduino to get around this problem.
Ive tried the engines Raw input plugin, the logitech free plugin, the simple controller plugin (should work but not with the type of vehicle im using which is a tank). Ive literally tried so many things and theres so little documentation that ive really struggled. Being completely new to unreal and using blueprints for the first time doesnt help.
If anyone has any example projects on GitHub with a working wheel for UE 4.25 or later that works perfectly, please share it. Really pressed for time on this project and i neeeeeeeeeeeeeeed help
In case anyone still has this question, you have to set the input scale to 1.0, and under Raw Input setttings (under Plugins Category in Project Settings), you have to select the first axis, and click the ‘Gamepad Stick’ checkbox.
1 Like
Some steering wheel devices will give you the raw in put of the axis from 0-1, this is why the steering always steers right. This also factors in the scale of the axis mapping. If you look closely, the axis mapping takes an input for set steering within the range of -1 to 1
so you just have to transpose the steering wheel input of 0-1 and map it to -1 to 1.
i have not tried this but 2y -1 = x can solve this.
1 Like