------------------------------------------------------------------------------
| 494 | |
| 495 | //------------------------------------------------------------------------------ |
| 496 | bool DInputManager::activateXInput() |
| 497 | { |
| 498 | if ( !mEnabled || !Input::isActive()) |
| 499 | return( false ); |
| 500 | |
| 501 | mXInputActive = true; //acquire( GamepadDeviceType, SI_ANY ); |
| 502 | #ifdef LOG_INPUT |
| 503 | Input::log( mXInputActive ? "XInput activated.\n" : "XInput failed to activate!\n" ); |
| 504 | #endif |
| 505 | return( mXInputActive ); |
| 506 | } |
| 507 | |
| 508 | //------------------------------------------------------------------------------ |
| 509 | void DInputManager::deactivateXInput() |
no test coverage detected