#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/core/input/Button.h>
orxonox::Button::Button |
( |
| ) |
|
- Note
- bButtonThresholdUser_: We set it to true so that setConfigValues in KeyBinder sets the value correctly the first time. It is then set to false first and changed later in Button::parse().
orxonox::Button::~Button |
( |
| ) |
|
|
virtual |
virtual bool orxonox::Button::addParamCommand |
( |
ParamCommand * |
command | ) |
|
|
inlinevirtual |
void orxonox::Button::clear |
( |
| ) |
|
|
virtual |
bool orxonox::Button::execute |
( |
KeybindMode::Value |
mode, |
|
|
float |
abs = 1.0f , |
|
|
float |
rel = 1.0f |
|
) |
| |
|
inline |
void orxonox::Button::parse |
( |
const std::string & |
binding | ) |
|
void orxonox::Button::parseError |
( |
const std::string & |
message, |
|
|
bool |
serious |
|
) |
| |
|
inlineprivate |
void orxonox::Button::setBinding |
( |
ConfigFile * |
configFile, |
|
|
ConfigFile * |
fallbackFile, |
|
|
const std::string & |
binding, |
|
|
bool |
bTemporary |
|
) |
| |
bool orxonox::Button::bButtonThresholdUser_ |
std::string orxonox::Button::bindingString_ |
The configured string value.
float orxonox::Button::buttonThreshold_ |
Says how much it takes for an analog axis to trigger a button Note: This variable is here to have only one parse() function.
Basic commands for OnPress, OnHold and OnRelease.
std::string orxonox::Button::groupName_ |
Name of the group of input triggers.
std::string orxonox::Button::name_ |
Name of the trigger as strings.
unsigned int orxonox::Button::nCommands_[3] |
Number of basic commands.
Pointer to the list of parametrised commands.
The documentation for this class was generated from the following files: