aboutsummaryrefslogtreecommitdiff
path: root/sp/src/public/inputsystem
diff options
context:
space:
mode:
Diffstat (limited to 'sp/src/public/inputsystem')
-rw-r--r--sp/src/public/inputsystem/iinputsystem.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sp/src/public/inputsystem/iinputsystem.h b/sp/src/public/inputsystem/iinputsystem.h
index f2453067..55dd0559 100644
--- a/sp/src/public/inputsystem/iinputsystem.h
+++ b/sp/src/public/inputsystem/iinputsystem.h
@@ -117,6 +117,13 @@ public:
// read and clear accumulated raw input values
virtual bool GetRawMouseAccumulators( int& accumX, int& accumY ) = 0;
+
+ // tell the input system that we're not a game, we're console text mode.
+ // this is used for dedicated servers to not initialize joystick system.
+ // this needs to be called before CInputSystem::Init (e.g. in PreInit of
+ // some system) if you want ot prevent the joystick system from ever
+ // being initialized.
+ virtual void SetConsoleTextMode( bool bConsoleTextMode ) = 0;
};