controller: Deliver inputs to all input handlers
This is more natural, especially if the same module appears twice in the module list
This commit is contained in:
parent
4b5007294b
commit
06012af3aa
2 changed files with 18 additions and 9 deletions
include/components
|
@ -122,7 +122,7 @@ class controller
|
|||
* Maps the name of the input handler (module name) to the corresponding input
|
||||
* handler
|
||||
*/
|
||||
std::map<string, shared_ptr<modules::input_handler>> m_inputhandlers;
|
||||
std::vector<shared_ptr<modules::input_handler>> m_inputhandlers;
|
||||
|
||||
/**
|
||||
* \brief Maximum number of subsequent events to swallow
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue