| 72 | } |
| 73 | |
| 74 | void Joystick::ProcessBinding(ControllerInput::Input input, const std::string command) { |
| 75 | binding_.insert(std::pair<ControllerInput::Input, std::string>(input, command)); |
| 76 | } |
| 77 | |
| 78 | float Joystick::GetButtonDown(const std::string &name) const { |
| 79 | ButtonMap::const_iterator iter(buttons_down_.find(name)); |