d/ohmd: Add display left rotation for Oculus Rift DK2

This commit is contained in:
Christoph Haag 2020-12-23 11:49:52 +01:00
parent d55c2b016a
commit d5183336b3
2 changed files with 5 additions and 0 deletions

View file

@ -0,0 +1 @@
openhmd: Rotate DK2 display correctly.

View file

@ -344,6 +344,10 @@ get_info(struct oh_device *ohd, const char *prod)
info.quirks.video_distortion_none = true;
}
if (strcmp(prod, "Rift (DK2)") == 0) {
info.quirks.rotate_lenses_left = true;
}
if (strcmp(prod, "Rift (CV1)") == 0) {
info.quirks.delay_after_initialization = true;
}