fix mistakes on Windows
small refactor Input::Event, typeKeyPress renamed to typeCharacter
proper processing keyboard events on Windows