Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
177
float CInput::GetJoystickDeadzone()
178
{
179
return minimum(g_Config.m_InpControllerTolerance / 50.0f, 0.995f);
180
}
181
182
CInput::CJoystick::CJoystick(CInput *pInput, int Index, SDL_Joystick *pDelegate)
183
{
Callers
2
Relative
Method · 0.80
Absolute
Method · 0.80
Calls
1
minimum
Function · 0.50
Tested by
no test coverage detected