Okay, APlayerController::SetInputMode is the way to go. Just need those application focus events to work properly now.
APlayerController::SetInputMode