Detect mouse outside game window event?

You can detect if the game has lost focus, but you can’t detect clicks outside of the application.