The problem is that the window is not focused so none of the events are called
Activity
Merge pull request #1 from Math-Modeling/physics-dev