Skip to content

Commit d787f4e

Browse files
committed
Update readme's
1 parent b2c7f4b commit d787f4e

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

OpenVR/samples/driver_arduinohmd/driver_arduinohmd.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -374,10 +374,12 @@ class CDeviceDriver : public vr::ITrackedDeviceServerDriver, public vr::IVRDispl
374374
return true;
375375
}
376376

377-
virtual bool IsDisplayRealDisplay()
377+
virtual bool IsDisplayRealDisplay()
378378
{
379-
return true;
380-
//return false;
379+
if (m_nWindowX == 0 && m_nWindowY == 0)
380+
return false;
381+
else
382+
return true; //Support working on extended display
381383
}
382384

383385
virtual void GetRecommendedRenderTargetSize( uint32_t *pnWidth, uint32_t *pnHeight )

README.RU.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[![EN](https://user-images.githubusercontent.com/9499881/33184537-7be87e86-d096-11e7-89bb-f3286f752bc6.png)](https://github.com/r57zone/OpenVR-ArduinoHMD/blob/master/README.md)
22
[![RU](https://user-images.githubusercontent.com/9499881/27683795-5b0fbac6-5cd8-11e7-929c-057833e01fb1.png)](https://github.com/r57zone/OpenVR-ArduinoHMD/blob/master/README.RU.md)
33
# OpenVR Arduino HMD
4-
Драйвер для OpenVR / SteamVR, позволяющий отслеживать голову, с помощью любого Arduino трекера вращения, для самодельного VR шлема из [HDMI дисплея](http://ali.pub/1llt51).<br>
4+
Драйвер для OpenVR / SteamVR, позволяющий отслеживать голову, с помощью любого Arduino трекера вращения, для самодельного VR шлема из [HDMI дисплея](http://alii.pub/65dbii) и [гарнитуры](http://alii.pub/65dct6).<br>
55
<br>![](https://user-images.githubusercontent.com/9499881/126820737-5a8f3c5b-f723-4184-94d8-5031f52f2270.gif)
66

77
## Настройка

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[![EN](https://user-images.githubusercontent.com/9499881/33184537-7be87e86-d096-11e7-89bb-f3286f752bc6.png)](https://github.com/r57zone/OpenVR-ArduinoHMD/blob/master/README.md)
22
[![RU](https://user-images.githubusercontent.com/9499881/27683795-5b0fbac6-5cd8-11e7-929c-057833e01fb1.png)](https://github.com/r57zone/OpenVR-ArduinoHMD/blob/master/README.RU.md)
33
# OpenVR Arduino HMD
4-
Driver for OpenVR / SteamVR, which allows to track the head, using any Arduino rotation tracker, for a DIY VR HMD from [HDMI display](http://ali.pub/1llt51).<br>
4+
Driver for OpenVR / SteamVR, which allows to track the head, using any Arduino rotation tracker, for a DIY VR HMD from [HDMI display](http://alii.pub/65dbii) and [headset](http://alii.pub/65dct6).<br>
55
<br>![](https://user-images.githubusercontent.com/9499881/126820737-5a8f3c5b-f723-4184-94d8-5031f52f2270.gif)
66

77
## Setup

0 commit comments

Comments
 (0)