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

Method disableXInput

Engine/source/platformWin32/winDirectInput.cpp:428–439  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

426
427//------------------------------------------------------------------------------
428void DInputManager::disableXInput()
429{
430 DInputManager* mgr = dynamic_cast<DInputManager*>( Input::getManager() );
431 if ( !mgr || !mgr->isEnabled())
432 return;
433
434 mgr->deactivateXInput();
435 Con::printf( "XInput disabled." );
436#ifdef LOG_INPUT
437 Input::log( "XInput disabled.\n" );
438#endif
439}
440
441//------------------------------------------------------------------------------
442bool DInputManager::isXInputEnabled()

Callers

nothing calls this directly

Calls 4

printfFunction · 0.85
deactivateXInputMethod · 0.80
logFunction · 0.50
isEnabledMethod · 0.45

Tested by

no test coverage detected