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

Method activate

Engine/source/platformSDL/sdlInput.cpp:182–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180//------------------------------------------------------------------------------
181
182void Input::activate()
183{
184#ifdef UNICODE
185 //winState.imeHandle = ImmGetContext( getWin32WindowHandle() );
186 //ImmReleaseContext( getWin32WindowHandle(), winState.imeHandle );
187#endif
188
189 if ( !Con::getBoolVariable( "$enableDirectInput" ) )
190 return;
191
192 if ( smManager && smManager->isEnabled() && !smActive )
193 {
194 Con::printf( "Activating Input..." );
195 smActive = true;
196 }
197}
198
199//------------------------------------------------------------------------------
200void Input::deactivate()

Callers

nothing calls this directly

Calls 3

getBoolVariableFunction · 0.85
printfFunction · 0.85
isEnabledMethod · 0.45

Tested by

no test coverage detected