53 lines
726 B
C++
53 lines
726 B
C++
#include "input.h"
|
|
#include "console.h"
|
|
#include "tier0/lib.h"
|
|
|
|
char g_PressedKeys[256];
|
|
float g_fXAxisEvent[256];
|
|
float g_fYAxisEvent[256];
|
|
CUtlString g_bindings[256];
|
|
|
|
void IInput::Init( void )
|
|
{
|
|
|
|
}
|
|
|
|
void IInput::KeyEvent( EInputKey key, EKeyEventType event )
|
|
{
|
|
V_printf("key\n");
|
|
}
|
|
|
|
void IInput::AxisEvent( unsigned char cAxis, float fX, float fY )
|
|
{
|
|
|
|
}
|
|
|
|
void IInput::Frame( void )
|
|
{
|
|
|
|
}
|
|
|
|
void IInput::Deinit( void )
|
|
{
|
|
|
|
}
|
|
|
|
void IInput_Bind( int argc, char **argv )
|
|
{
|
|
|
|
};
|
|
|
|
void IInput_Unbind( int argc, char **argv )
|
|
{
|
|
|
|
};
|
|
|
|
void IInput_UnbindAll( int argc, char **argv )
|
|
{
|
|
|
|
};
|
|
|
|
ConCommand BindCmd("bind", IInput_Bind, 0);
|
|
ConCommand UnbindCmd("unbind", IInput_Bind, 0);
|
|
ConCommand unbindAllcmd("unbindall", IInput_Bind, 0);
|