#include <src/core/input/KeyDetector.h>
Public Member Functions | |
void | JoyStickDeviceNumberChanged (unsigned int value) |
KeyDetector () | |
Constructor. | |
void | setCallbackCommand (const std::string &command) |
Assigns all the buttons 'command' plus the button's name. | |
~KeyDetector () | |
Destructor. | |
Private Attributes | |
std::string | callbackCommand_ |
orxonox::KeyDetector::KeyDetector | ( | ) |
orxonox::KeyDetector::~KeyDetector | ( | ) |
Destructor.
void orxonox::KeyDetector::JoyStickDeviceNumberChanged | ( | unsigned int | value | ) | [virtual] |
Reimplemented from orxonox::KeyBinder.
References callbackCommand_, orxonox::KeyBinder::JoyStickDeviceNumberChanged(), and setCallbackCommand().
void orxonox::KeyDetector::setCallbackCommand | ( | const std::string & | command | ) |
Assigns all the buttons 'command' plus the button's name.
References orxonox::KeyBinder::allButtons_, callbackCommand_, and orxonox::KeyBinder::clearBindings().
Referenced by JoyStickDeviceNumberChanged(), and orxonox::InputManager::setKeyDetectorCallback().
Referenced by JoyStickDeviceNumberChanged(), and setCallbackCommand().