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

Method activate

Engine/source/platformSDL/sdlInput.cpp:174–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172//------------------------------------------------------------------------------
173
174void Input::activate()
175{
176#ifdef UNICODE
177 //winState.imeHandle = ImmGetContext( getWin32WindowHandle() );
178 //ImmReleaseContext( getWin32WindowHandle(), winState.imeHandle );
179#endif
180
181 if (smManager && !smManager->isEnabled())
182 smManager->enable();
183
184 if ( smManager && smManager->isEnabled() && !smActive )
185 {
186 Con::printf( "Activating Input..." );
187 smActive = true;
188 }
189}
190
191//------------------------------------------------------------------------------
192void Input::deactivate()

Callers

nothing calls this directly

Calls 3

printfFunction · 0.85
isEnabledMethod · 0.45
enableMethod · 0.45

Tested by

no test coverage detected