MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / enable

Method enable

engine/source/platformAndroid/AndroidInput.cpp:304–317  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

302
303//------------------------------------------------------------------------------
304bool Input::enable()
305{
306 Con::printf( "[]Input::enable." );
307
308 gInputEnabled = true;
309
310 if ( smManager && !smManager->isEnabled() )
311 return( smManager->enable() );
312
313 enableMouse();
314 //enableKeyboard();
315
316 return( gInputEnabled );
317}
318
319//------------------------------------------------------------------------------
320void Input::disable()

Callers

nothing calls this directly

Calls 3

printfFunction · 0.85
enableMouseFunction · 0.85
isEnabledMethod · 0.45

Tested by

no test coverage detected