Updated aeoninput to being a class instead of global functions. (Each context can create a new InputHandler and use it separately from each other.)