Commit Graph

5 Commits

Author SHA1 Message Date
patrick96 ff3340e062 controller: Cleanup process_inputdata 2020-11-26 20:53:53 +01:00
patrick96 191fb2972c actions: Integrate input_handler into module
Only modules can now be action handlers.
This also slightly simplifies the controller because we don't need to
keep track of input handlers, we can just use the module list.
2020-11-26 20:53:53 +01:00
patrick96 507004df87 actions: Move parsing to utility file 2020-11-26 20:53:53 +01:00
patrick96 bc1b86c584 actions: Separate data from action string
Modules now no longer need to manually parse the action string and
extract data from it.
2020-11-26 20:53:53 +01:00
patrick96 816b73a95f actions: Add utility functions to produce action tags 2020-11-26 20:53:53 +01:00