doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
idKeyInput Class Reference

#include <KeyInput.h>

Static Public Member Functions

static void Init (void)
 
static void Shutdown (void)
 
static void ArgCompletion_KeyName (const idCmdArgs &args, void(*callback)(const char *s))
 
static void PreliminaryKeyEvent (int keyNum, bool down)
 
static bool IsDown (int keyNum)
 
static int GetUsercmdAction (int keyNum)
 
static bool GetOverstrikeMode (void)
 
static void SetOverstrikeMode (bool state)
 
static void ClearStates (void)
 
static int StringToKeyNum (const char *str)
 
static const char * KeyNumToString (int keyNum, bool localized)
 
static void SetBinding (int keyNum, const char *binding)
 
static const char * GetBinding (int keyNum)
 
static bool UnbindBinding (const char *bind)
 
static int NumBinds (const char *binding)
 
static bool ExecKeyBinding (int keyNum)
 
static const char * KeysFromBinding (const char *bind)
 
static const char * BindingFromKey (const char *key)
 
static bool KeyIsBoundTo (int keyNum, const char *binding)
 
static void WriteBindings (idFile *f)
 

Detailed Description

Definition at line 195 of file KeyInput.h.

Member Function Documentation

void idKeyInput::ArgCompletion_KeyName ( const idCmdArgs args,
void(*)(const char *s callback 
)
static

Definition at line 235 of file KeyInput.cpp.

const char * idKeyInput::BindingFromKey ( const char *  key)
static

Definition at line 635 of file KeyInput.cpp.

void idKeyInput::ClearStates ( void  )
static

Definition at line 746 of file KeyInput.cpp.

bool idKeyInput::ExecKeyBinding ( int  keyNum)
static

Definition at line 726 of file KeyInput.cpp.

const char * idKeyInput::GetBinding ( int  keyNum)
static

Definition at line 440 of file KeyInput.cpp.

bool idKeyInput::GetOverstrikeMode ( void  )
static

Definition at line 253 of file KeyInput.cpp.

int idKeyInput::GetUsercmdAction ( int  keyNum)
static

Definition at line 453 of file KeyInput.cpp.

void idKeyInput::Init ( void  )
static

Definition at line 765 of file KeyInput.cpp.

bool idKeyInput::IsDown ( int  keyNum)
static

Definition at line 271 of file KeyInput.cpp.

bool idKeyInput::KeyIsBoundTo ( int  keyNum,
const char *  binding 
)
static

Definition at line 686 of file KeyInput.cpp.

const char * idKeyInput::KeyNumToString ( int  keyNum,
bool  localized 
)
static

Definition at line 344 of file KeyInput.cpp.

const char * idKeyInput::KeysFromBinding ( const char *  bind)
static

Definition at line 607 of file KeyInput.cpp.

int idKeyInput::NumBinds ( const char *  binding)
static

Definition at line 668 of file KeyInput.cpp.

void idKeyInput::PreliminaryKeyEvent ( int  keyNum,
bool  down 
)
static

Definition at line 701 of file KeyInput.cpp.

void idKeyInput::SetBinding ( int  keyNum,
const char *  binding 
)
static

Definition at line 415 of file KeyInput.cpp.

void idKeyInput::SetOverstrikeMode ( bool  state)
static

Definition at line 262 of file KeyInput.cpp.

void idKeyInput::Shutdown ( void  )
static

Definition at line 782 of file KeyInput.cpp.

int idKeyInput::StringToKeyNum ( const char *  str)
static

Definition at line 291 of file KeyInput.cpp.

bool idKeyInput::UnbindBinding ( const char *  bind)
static

Definition at line 648 of file KeyInput.cpp.

void idKeyInput::WriteBindings ( idFile f)
static

Definition at line 567 of file KeyInput.cpp.


The documentation for this class was generated from the following files: