From e39260eb670f48420af99e43921260b88a75f680 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Fri, 19 Apr 2019 14:56:45 +0100 Subject: [PATCH] d/ohmd: Add quirk for PSVR The OpenHMD driver does not have any sensible panotools values --- src/xrt/drivers/ohmd/oh_device.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xrt/drivers/ohmd/oh_device.c b/src/xrt/drivers/ohmd/oh_device.c index 8a6df231f..6528fb9e1 100644 --- a/src/xrt/drivers/ohmd/oh_device.c +++ b/src/xrt/drivers/ohmd/oh_device.c @@ -388,6 +388,10 @@ oh_device_create(ohmd_context *ctx, quirk_video_distortion_none = true; } + if (strcmp(prod, "PSVR") == 0) { + quirk_video_distortion_none = true; + } + // Which blend modes does the device support. ohd->base.blend_mode = XRT_BLEND_MODE_OPAQUE; if (quirk_video_see_through) {