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:
patrick96 2019-12-02 19:15:40 +01:00 committed by Patrick Ziegler
parent 4b5007294b
commit 06012af3aa
2 changed files with 18 additions and 9 deletions
include/components

View file

@ -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