Factor out leap motion handling.