1 #ifndef UGDK_INPUT_MANAGER_H_
2 #define UGDK_INPUT_MANAGER_H_
12 #include <unordered_map>
13 #include <forward_list>
40 std::forward_list<std::shared_ptr<Joystick>> result;
41 for (
const auto& it : joysticks_)
42 result.push_front(it.second);
49 std::shared_ptr<Joystick> CreateJoystick(
int device);
54 std::unordered_map<int32, std::shared_ptr<Joystick>> joysticks_;
55 std::unique_ptr<system::SDLEventHandler> event_handler_;
Definition: textinput.h:12
Definition: animation.h:11