From f91036701444b4044a0b56f31eb6564139a87c22 Mon Sep 17 00:00:00 2001
From: Christoph Haag <christoph.haag@collabora.com>
Date: Mon, 19 Oct 2020 19:30:24 +0200
Subject: [PATCH] d/oh: Add startup delay for Rift S and rotate left

---
 src/xrt/drivers/ohmd/oh_device.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/xrt/drivers/ohmd/oh_device.c b/src/xrt/drivers/ohmd/oh_device.c
index f538a4b3a..d2006696a 100644
--- a/src/xrt/drivers/ohmd/oh_device.c
+++ b/src/xrt/drivers/ohmd/oh_device.c
@@ -339,6 +339,11 @@ get_info(struct oh_device *ohd, const char *prod)
 		info.quirks.delay_after_initialization = true;
 	}
 
+	if (strcmp(prod, "Rift S") == 0) {
+		info.quirks.delay_after_initialization = true;
+		info.quirks.rotate_lenses_left = true;
+	}
+
 	/* Only the WVR2 display is rotated. OpenHMD can't easily tell us
 	 * the WVR SKU, so just recognize it by resolution */
 	if (strcmp(prod, "VR-Tek WVR") == 0 &&