summaryrefslogtreecommitdiff
path: root/game/client/tf2/tf_in_main.cpp
blob: f7ccd63de7c4c638303477d03f75e5d02a7166dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: TF2 specific input handling
//
// $NoKeywords: $
//=============================================================================//
#include "cbase.h"
#include "kbutton.h"
#include "input.h"

//-----------------------------------------------------------------------------
// Purpose: TF Input interface
//-----------------------------------------------------------------------------
class CTFInput : public CInput
{
public:
	int		GetButtonBits( int );
};

static CTFInput g_Input;

// Expose this interface
IInput *input = ( IInput * )&g_Input;


//-----------------------------------------------------------------------------
// Purpose: Remove Jump from the input bits
//-----------------------------------------------------------------------------
int CTFInput::GetButtonBits( int bResetState )
{
	int iBits = CInput::GetButtonBits( bResetState );

	//iBits &= ~IN_JUMP;

	return iBits;
}