RenderWindow.setJoystickThreshold

Change the joystick threshold.

The joystick threshold is the value below which no JoystickMoved event will be generated.

The threshold value is 0.1 by default.

class RenderWindow
override
void
setJoystickThreshold
(
float threshold
)

Parameters

threshold
Type: float

New threshold, in the range [0, 100]

Meta