------------------------------------------------------------------------------
| 426 | |
| 427 | //------------------------------------------------------------------------------ |
| 428 | void 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 | //------------------------------------------------------------------------------ |
| 442 | bool DInputManager::isXInputEnabled() |
nothing calls this directly
no test coverage detected