| 161 | } |
| 162 | |
| 163 | void InputManager::buildMouseButtonMap() |
| 164 | { |
| 165 | mSDLMouseMap.clear(); |
| 166 | mSDLMouseMap.insert(std::pair<int, MyGUI::MouseButton>(SDL_BUTTON_LEFT, MyGUI::MouseButton::Left)); |
| 167 | mSDLMouseMap.insert(std::pair<int, MyGUI::MouseButton>(SDL_BUTTON_RIGHT, MyGUI::MouseButton::Right)); |
| 168 | mSDLMouseMap.insert(std::pair<int, MyGUI::MouseButton>(SDL_BUTTON_MIDDLE, MyGUI::MouseButton::Middle)); |
| 169 | } |
| 170 | |
| 171 | void InputManager::createInput() |
| 172 | { |