summaryrefslogtreecommitdiff
path: root/game/client/hl2/hl_in_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/client/hl2/hl_in_main.cpp')
-rw-r--r--game/client/hl2/hl_in_main.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/game/client/hl2/hl_in_main.cpp b/game/client/hl2/hl_in_main.cpp
new file mode 100644
index 0000000..7cdf4e0
--- /dev/null
+++ b/game/client/hl2/hl_in_main.cpp
@@ -0,0 +1,25 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose: HL2 specific input handling
+//
+// $NoKeywords: $
+//=============================================================================//
+#include "cbase.h"
+#include "kbutton.h"
+#include "input.h"
+
+// memdbgon must be the last include file in a .cpp file!!!
+#include "tier0/memdbgon.h"
+
+//-----------------------------------------------------------------------------
+// Purpose: HL Input interface
+//-----------------------------------------------------------------------------
+class CHLInput : public CInput
+{
+public:
+};
+
+static CHLInput g_Input;
+
+// Expose this interface
+IInput *input = ( IInput * )&g_Input;