aboutsummaryrefslogtreecommitdiff
path: root/mp/src/public/inputsystem
diff options
context:
space:
mode:
authorNarendra Umate <[email protected]>2013-09-07 15:43:32 -0700
committerNarendra Umate <[email protected]>2013-09-07 15:43:32 -0700
commitc3ca7291626b60a32008774dd290671708babc20 (patch)
treec87d1097bb8b59b6724ca19560f7c92b0309caf3 /mp/src/public/inputsystem
parentUpdate .gitignore. (diff)
parentAdded missing libs for linux and OSX in their new location. (diff)
downloadsource-sdk-2013-c3ca7291626b60a32008774dd290671708babc20.tar.xz
source-sdk-2013-c3ca7291626b60a32008774dd290671708babc20.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'mp/src/public/inputsystem')
-rw-r--r--mp/src/public/inputsystem/iinputsystem.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/mp/src/public/inputsystem/iinputsystem.h b/mp/src/public/inputsystem/iinputsystem.h
index f2453067..55dd0559 100644
--- a/mp/src/public/inputsystem/iinputsystem.h
+++ b/mp/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;
};