hl2_src-leak-2017/src/game/client/hl2/hl_in_main.cpp

26 lines
697 B
C++

//========= 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;