File lgr100.patch of Package monado
commit 265246a71d791154e7fd267adfce2d4234508c57
Author: David Lanzendörfer <leviathan@libresilicon.com>
Date: Tue Feb 11 12:30:36 2025 +0000
LGR100 changes
diff --git a/src/xrt/drivers/ohmd/oh_device.c b/src/xrt/drivers/ohmd/oh_device.c
index 00e50a8ab..4028e262f 100644
--- a/src/xrt/drivers/ohmd/oh_device.c
+++ b/src/xrt/drivers/ohmd/oh_device.c
@@ -567,6 +567,12 @@ get_info(ohmd_device *dev, const char *prod)
if (strcmp(prod, "LGR100") == 0) {
info.quirks.rotate_lenses_inwards = true;
+ info.display.w_pixels = 1044;
+ info.display.h_pixels = 960;
+ info.lens_horizontal_separation = 0.0630999878f*0.9f;
+ info.display.nominal_frame_interval_ns =
+ time_s_to_ns(1.0f / 60.00f);
+ //info.lens_vertical_position = 0.0394899882f;
}
if (strcmp(prod, "External Device") == 0) {