| 1732 | } |
| 1733 | |
| 1734 | std::vector<InputBindingKey> InputManager::EnumerateMotors() |
| 1735 | { |
| 1736 | std::vector<InputBindingKey> ret; |
| 1737 | |
| 1738 | for (u32 i = FIRST_EXTERNAL_INPUT_SOURCE; i < LAST_EXTERNAL_INPUT_SOURCE; i++) |
| 1739 | { |
| 1740 | if (s_input_sources[i]->IsInitialized()) |
| 1741 | { |
| 1742 | std::vector<InputBindingKey> devs(s_input_sources[i]->EnumerateMotors()); |
| 1743 | if (ret.empty()) |
| 1744 | ret = std::move(devs); |
| 1745 | else |
| 1746 | std::move(devs.begin(), devs.end(), std::back_inserter(ret)); |
| 1747 | } |
| 1748 | } |
| 1749 | |
| 1750 | return ret; |
| 1751 | } |
| 1752 | |
| 1753 | static void GetKeyboardGenericBindingMapping(std::vector<std::pair<GenericInputBinding, std::string>>* mapping) |
| 1754 | { |
nothing calls this directly
no test coverage detected