Problem with PeekMessage


I am integrating SpaceMouse (from Connexion 3D) into my VR project.
Their library was easy to link with, but a problem appears when reading out it’s messages:
If my c++ actor uses GetMessage call to intercept the Input Events SpaceMouse input works correctly (smoothly). Problem is that GetMessage call is blocking, so that’s not an option.
When I switch to PeekMessage call things are working but call gets intercepted rarely so object moves in a very jerky way.
How do I get my PeekMessage always called first? Currently I call it from the LevelBlueprint on EventTick.