Try setting your game as Window Input rather than Desktop, this should make it possible to capture by external tools.