I activated the Windows RawInput plugin to use the GenericUSBController inputs. But in Project Settings > Input > Advanced ^ Axis Config there are no options to set the GenericUSBController’s dead zone for the axes. Is there a way to set this up or does the plugin just not have options to set a dead zone? If not this is definitely something that should be added. I know I could make a dead zone in blueprints, but that probably isn’t the best solution.
Thanks ugmoe
But I think I figured a way to add the dead zone without blueprints.
I added this code to the DefaultInput.ini and the axes now show up in the AxisConfig array and it seems to work (after restarting the editor).
Note: I am using axes 3, 4, 5 and 6.
+AxisConfig=(AxisKeyName="GenericUSBController_Axis3",AxisProperties=(DeadZone=0.250000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False))
+AxisConfig=(AxisKeyName="GenericUSBController_Axis4",AxisProperties=(DeadZone=0.250000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False))
+AxisConfig=(AxisKeyName="GenericUSBController_Axis5",AxisProperties=(DeadZone=0.250000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False))
+AxisConfig=(AxisKeyName="GenericUSBController_Axis6",AxisProperties=(DeadZone=0.250000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False))
there’s no deadzone function in there, i already made one in blueprints if you want to use that
deadzone posted by uhdcc | blueprintUE | PasteBin For Unreal Engine 4