1 #ifndef MSP_INPUT_CONTROLSCHEME_H_
2 #define MSP_INPUT_CONTROLSCHEME_H_
6 #include <msp/graphics/mspgui_api.h>
13 class MSPGUI_API ControlScheme
16 std::map<std::string, Control *> controls;
19 ControlScheme() = default;
21 virtual ~ControlScheme() = default;
24 void add(const std::string &, Control &);
26 Control &get(const std::string &) const;
27 Control *find(const std::string &) const;
28 const std::map<std::string, Control *> &get_controls() const { return controls; }