#include <uInput.h>
Public Member Functions | |
uActionGlobal (const char *name, int priority=0, uInputType t=uINPUT_DIGITAL) | |
virtual | ~uActionGlobal () |
bool | operator== (const uActionGlobal &x) |
Static Public Member Functions | |
static bool | IsBreakingGlobalBind (int sym) |
Definition at line 119 of file uInput.h.
uActionGlobal::uActionGlobal | ( | const char * | name, | |
int | priority = 0 , |
|||
uInputType | t = uINPUT_DIGITAL | |||
) |
uActionGlobal::~uActionGlobal | ( | ) | [virtual] |
Definition at line 405 of file uInput.cpp.
bool uActionGlobal::operator== | ( | const uActionGlobal & | x | ) |
bool uActionGlobal::IsBreakingGlobalBind | ( | int | sym | ) | [static] |
Definition at line 411 of file uInput.cpp.
References uBind::act, uInput::GetBind(), uActionGlobalFunc::IsBreakingGlobalBind(), and su_inputs.
Referenced by gMemuItemConsole::Event().
00412 { 00413 if ( sym >= (int)su_inputs.size() || sym < 0 ) 00414 return false; 00415 00416 uInput * input = su_inputs[ sym ]; 00417 if ( !input ) 00418 return false; 00419 00420 uBind * bind = input->GetBind(); 00421 if ( !bind ) 00422 return false; 00423 00424 uAction *act = bind->act; 00425 if (!act) 00426 return false; 00427 00428 return uActionGlobalFunc::IsBreakingGlobalBind(act);