MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / deactivate

Method deactivate

Engine/source/platformSDL/sdlInput.cpp:192–202  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

190
191//------------------------------------------------------------------------------
192void Input::deactivate()
193{
194 if (smManager && smManager->isEnabled())
195 smManager->disable();
196
197 if (smActive)
198 {
199 smActive = false;
200 Con::printf( "Input deactivated." );
201 }
202}
203
204//------------------------------------------------------------------------------
205bool Input::isEnabled()

Callers

nothing calls this directly

Calls 3

printfFunction · 0.85
isEnabledMethod · 0.45
disableMethod · 0.45

Tested by

no test coverage detected