Hi,
I am trying to get a Steering Wheel (G29) to work but the “offset” and the “inverted” options in the device configuration don´t seem to have any effect.
I created a new Project with the Advanced Vehicle Template in UE 4.15.1
I made sure the Raw Input Plugin was enabled.
I set up the Plugin to include GenericUSBController Axis 2 which appears to be the steering wheel on the G29 as you can see in the first image
I set the Offset to some arbitrary number - 4.63338
I setup the MoveRight Axis Mapping in the Input Tab as can be seen in the second image
I set the InputAxis MoveRight Event to print the Axis Value as can be seen in the third image
In the frourth im age you can see what is printed to the screen when the wheel is centered. It is allways around 0.5.
Changing the offset or the inverted options in the Plugin doesn´t do anything not matter what I do. If the wheel is centered the Value is allways 0.5. If i turn it completely to the left it is 0 and if I turn it to the right it is 1.
The same is true for the other axes, the pedals. The offset and iverted options don´t influence anything.
I read in an other thread that to get this to work properly you have to restart the engine but that doens´t change anything either.
Another question would be what are Vendor ID and Product ID which I marked in image one?
Vendor ID = Unique ID Number, On windows you can find the Vendor ID and Product ID in the device manager -> USB manager -> (“Your Steering wheel name”) Properties
The range value is set to 0 to 1. Left to the Right. Thats the reason to use 0.5 as an offset. 0.5 is in the midle to center the vehicle direction.
Hey @Lumpengnom so I can help here as I just hooked up a Logitec G923 into Unreal Engine 5. Watch this video to understand the setup: [https://www.youtube.com/watch?v=GP_-I8g1NZw] however in UE5 it looks like the steering wheel is auto populated if its already installed on the system. Once you have it in your project settings > Raw Input and all the mappings are done then in the blueprint you can do something like this -
The interesting part is the steering wheel is Axis 2 and outputs a value of 0 to 1, where the UE input system needs a value of -1 to 1, so use a Map Ranged Clamped node thanks to https://www.youtube.com/watch?v=11T4UvkVYb8 Matthew Wadstein here. Hope this helps.
Here is another resource where the show Steering (Axis2), Throttle (Axis5), Brake(Axis4) Steering Wheel - AirSim
Based on my tests these are the mappings I have found for the Logitec G923:
Steering = Axis Mapping 2
Throttle = Axis Mapping 5
Brake = Axis Mapping 4
A = Generic Button 1
B = Generic Button 2
X = Generic Button 3
Y = Generic Button 4
Right Paddle = Generic Button 5
Left Paddle = Generic Button 6
Menu Button = Generic Button 7
Window Button = Generic Button 8
RSB Button = Generic Button 9
LSB Button = Generic Button 10
XBox Button = Generic Button 11
Hey @dariomac, that is exactly what I’m trying to do - hook up a G923 with UE5, the button actions work, but whatever I do, the axis values (wheel + pedals) always show the initial values (0.003922 or 0.501961 depending on whether I set it up as stick or not), except for the DPad axis, which works.
I know the hardware works, as I’ve found a rawinput vbs app, that shows values changing, when I play around with the controls, but I cannot figure out why I’m not getting changes from the axis values.