Implementing a basic input state system

So we can ask "What direction?" or "What item?" and still process things
like resize events, in the future.

Only one state for now, robustness shall follow