added key up-down events for windows
fixed build for mac without keyboard events
playing around, cleaning
fixed mac build