IInput
Jump to navigation
Jump to search
IInput is a client interface that packages user input from keyboards, mice and joysticks/gamepads into usercmds for transmission to the server. It also handles third-person cameras.
Implementation
class CMyInput : public CInput
{
};
// For mod access
static CMyInput g_Input;
// For engine access
IInput* input = (IInput*)&g_Input;
See also
CInput, Valve's basicIInputimplementation