mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-08 16:07:33 +00:00
d/ohmd: Less distorted view on external device
This commit is contained in:
parent
fcc316d6f1
commit
216f7df355
|
@ -261,6 +261,12 @@ get_info(struct oh_device *ohd, const char *prod)
|
||||||
|
|
||||||
if (strcmp(prod, "External Device") == 0) {
|
if (strcmp(prod, "External Device") == 0) {
|
||||||
info.quirks.video_distortion_none = true;
|
info.quirks.video_distortion_none = true;
|
||||||
|
info.display.w_pixels = 1920;
|
||||||
|
info.display.h_pixels = 1080;
|
||||||
|
info.lens_horizontal_separation = 0.0630999878f;
|
||||||
|
info.lens_vertical_position = 0.0394899882f;
|
||||||
|
info.views[0].fov = 103.57f * M_PI / 180.0f;
|
||||||
|
info.views[1].fov = 103.57f * M_PI / 180.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strcmp(prod, "PSVR") == 0) {
|
if (strcmp(prod, "PSVR") == 0) {
|
||||||
|
|
Loading…
Reference in a new issue