| 275 | } |
| 276 | |
| 277 | std::vector<InputButton*> InputManager::getInputs() |
| 278 | { |
| 279 | std::vector<InputButton*> inputs; |
| 280 | inputs.reserve(m_inputs.size()); |
| 281 | for (auto& [_, input] : m_inputs) |
| 282 | { |
| 283 | inputs.push_back(input.get()); |
| 284 | } |
| 285 | return inputs; |
| 286 | } |
| 287 | |
| 288 | std::vector<InputButton*> InputManager::getInputs(InputType filter) |
| 289 | { |