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

Method process

engine/source/platformAndroid/AndroidInput.cpp:380–396  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

378
379//------------------------------------------------------------------------------
380void Input::process()
381{
382 //only gets called once per frame, create touches and accelerometer events here
383 //post, then pop each event
384
385 if(platState.multipleTouchesEnabled) processMultipleTouches();
386
387 if (!smActive || !gInputEnabled)
388 return;
389
390 if (!gMouseEnabled || !gMouseActive)
391 return;
392
393
394 if ( smManager && smManager->isEnabled() && smActive )
395 smManager->process();
396}
397
398//------------------------------------------------------------------------------
399InputManager* Input::getManager()

Callers

nothing calls this directly

Calls 2

processMultipleTouchesFunction · 0.85
isEnabledMethod · 0.45

Tested by

no test coverage detected