added command line, added basic character
This commit is contained in:
52
engine/input.cpp
Normal file
52
engine/input.cpp
Normal file
@@ -0,0 +1,52 @@
|
||||
#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);
|
||||
Reference in New Issue
Block a user