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

Method deactivateXInput

Engine/source/platformWin32/winDirectInput.cpp:509–519  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

507
508//------------------------------------------------------------------------------
509void DInputManager::deactivateXInput()
510{
511 if ( mEnabled && mXInputActive )
512 {
513 unacquire( GamepadDeviceType, SI_ANY );
514 mXInputActive = false;
515#ifdef LOG_INPUT
516 Input::log( "XInput deactivated.\n" );
517#endif
518 }
519}
520
521//------------------------------------------------------------------------------
522bool DInputManager::rumble( const char *pDeviceName, F32 x, F32 y )

Callers 1

disableXInputMethod · 0.80

Calls 1

logFunction · 0.50

Tested by

no test coverage detected