Below IDLE isnāt part of the axis for the Warthog. It registers as 0 throughout the range from off to idle. The only change is a button press.
Thatās the point of the script snippet above. It produces axis-like behavior based on whether that button is pushed or not. At OFF the button is pushed and the axis is 0; the script outputs 0%. At IDLE the button is released and the axis is 0; the script outputs 4%.
Setup is one would go into the setup screen, set idle position which will show 4% on the bar, and right click to set the cutoff line. Shifting to off pushes the button and the script changes the output to 0 and the bar vanishes. This of course only works if that code snippet is running (device is Thrustmaster Combined).