Closed TobiiCodes closed 3 months ago
Ah yep. This is just old documentation from version 2.x The system works the same, it just doesn't need to care about the physical key The reason behind this was there were times where the Joystick name would cause the Joystick key mapping to be lost by Unreal So I opted to use the Joystick GUID and an array of the index and the mappings I do prefer the old system, so might look at going back to it now that the key mapping being lost issue is resolved
But ue5 still wont detect any input from my g920
But ue5 still wont detect any input from my g920
Can you detail the issue a little more? Does the device show up in the connected devices list (in the settings)?
yes it does but if i put it into input as in axis mappings (binding the steering wheel rotation) then i print that axis float in a blueprint it always returns 0 even tho i turn the wheel
yes it does but if i put it into input as in axis mappings (binding the steering wheel rotation) then i print that axis float in a blueprint it always returns 0 even tho i turn the wheel
To clarify, in your screenshot, that is an input REmapping configuration. Which is for if your joystick does not present pressed in a standard 0-1 float. ie. my pedals come in 1:-1 (yes inverted), so the remapping is necessary for me
What happens if you have no input remapping and just use the axis event?
Still no input, the screen shot isnt really an issue anymore, just that it always returns 0 and detects 0 input
Still no input, the screen shot isnt really an issue anymore, just that it always returns 0 and detects 0 input
Can you please provide some more screenshots on your device in the Connected Devices settings page and how you're trying to access the axis value?
I just want to make sure that everything is setup correctly
Also, can you enable logs (within the Joystick settings) and restart the editor? Then if possible, copy the content to a pastebin (obfuscate the PI/PII from logs) and send the link here
Logs are enabled, where do i find them?
here is the joystick input settings:
steering2 binded to the axis 0:
printing the float value of the axis:
always prints 0 no matter if i turn the wheel, press gass pedal, brakes or clutch.
Logs are enabled, where do i find them?
Logs go to <projectDirectory>/Saved/Logs/
Usually the last modified file is the one to upload
here is the joystick input settings:
That mapping is not necessary as it's bound to -1 which is not a valid axis index. I would suggest removing it
Please expand this drop down and upload a screenshot of the results
LOG: SimRacing.log
Connected devices:
Okay, so which Axis are you binding to again?
I assume Joystick_Logitech_G_HUB_G920_Driving_Force_Racing_Wheel_USB_0_Axis0
?
Yes
FIX: Do not run input mode ui only!
Turn off consume input on inputaxis! ![Uploading image.png…]()
This is the setup guide: But this is what is on my screen (UE 5.4.2):