Original Post
I''m currently implementing my input routines. I just want to see whether this would be a good way of implementing it:
An input class (implements DInput) which generates "InputEvent" messages, which can be either mouse or key events.
These events get passed to an InputInterpreter which converts these messages into messages to pass into the scenegraph.
My thinking behind the InputInterpreter is it will allow me to use the same messages such as an "objectmove" message as outputs from physics modules and scripting modules.
What do you guys think about this as an implementation for handling input?