MCPcopy Create free account
hub / github.com/ddnet/ddnet / GetJoystickDeadzone

Method GetJoystickDeadzone

src/engine/client/input.cpp:177–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177float CInput::GetJoystickDeadzone()
178{
179 return minimum(g_Config.m_InpControllerTolerance / 50.0f, 0.995f);
180}
181
182CInput::CJoystick::CJoystick(CInput *pInput, int Index, SDL_Joystick *pDelegate)
183{

Callers 2

RelativeMethod · 0.80
AbsoluteMethod · 0.80

Calls 1

minimumFunction · 0.50

Tested by

no test coverage detected