------------------------------------------------------------------------------
| 583 | |
| 584 | //------------------------------------------------------------------------------ |
| 585 | void printInputState(void) |
| 586 | { |
| 587 | if ( gInputEnabled ) |
| 588 | { |
| 589 | Con::printf( "Low-level input system is enabled." ); |
| 590 | |
| 591 | Con::printf( "- Keyboard is %sabled and %sactive.", |
| 592 | gKBEnabled ? "en" : "dis", |
| 593 | gKBActive ? "" : "in" ); |
| 594 | Con::printf( "- Mouse is %sabled and %sactive.", |
| 595 | gMouseEnabled ? "en" : "dis", |
| 596 | gMouseActive ? "" : "in" ); |
| 597 | /* |
| 598 | Con::printf( "- Joystick is %sabled and %sactive.", |
| 599 | gJoystickEnabled() ? "en" : "dis", |
| 600 | gJoystickActive() ? "" : "in" ); |
| 601 | */ |
| 602 | } |
| 603 | else |
| 604 | { |
| 605 | Con::printf( "Low-level input system is disabled." ); |
| 606 | } |
| 607 | } |
| 608 | |
| 609 | //------------------------------------------------------------------------------ |
| 610 | ConsoleFunction( echoInputState, void, 1, 1, "echoInputState()" ) |
no test coverage detected