Skip to content

Commit

Permalink
Update readme's
Browse files Browse the repository at this point in the history
  • Loading branch information
r57zone committed Dec 4, 2021
1 parent b2c7f4b commit d787f4e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions OpenVR/samples/driver_arduinohmd/driver_arduinohmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -374,10 +374,12 @@ class CDeviceDriver : public vr::ITrackedDeviceServerDriver, public vr::IVRDispl
return true;
}

virtual bool IsDisplayRealDisplay()
virtual bool IsDisplayRealDisplay()
{
return true;
//return false;
if (m_nWindowX == 0 && m_nWindowY == 0)
return false;
else
return true; //Support working on extended display
}

virtual void GetRecommendedRenderTargetSize( uint32_t *pnWidth, uint32_t *pnHeight )
Expand Down
2 changes: 1 addition & 1 deletion README.RU.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![EN](https://user-images.githubusercontent.com/9499881/33184537-7be87e86-d096-11e7-89bb-f3286f752bc6.png)](https://github.com/r57zone/OpenVR-ArduinoHMD/blob/master/README.md)
[![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)
# OpenVR Arduino HMD
Драйвер для OpenVR / SteamVR, позволяющий отслеживать голову, с помощью любого Arduino трекера вращения, для самодельного VR шлема из [HDMI дисплея](http://ali.pub/1llt51).<br>
Драйвер для OpenVR / SteamVR, позволяющий отслеживать голову, с помощью любого Arduino трекера вращения, для самодельного VR шлема из [HDMI дисплея](http://alii.pub/65dbii) и [гарнитуры](http://alii.pub/65dct6).<br>
<br>![](https://user-images.githubusercontent.com/9499881/126820737-5a8f3c5b-f723-4184-94d8-5031f52f2270.gif)

## Настройка
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![EN](https://user-images.githubusercontent.com/9499881/33184537-7be87e86-d096-11e7-89bb-f3286f752bc6.png)](https://github.com/r57zone/OpenVR-ArduinoHMD/blob/master/README.md)
[![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)
# OpenVR Arduino HMD
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>
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>
<br>![](https://user-images.githubusercontent.com/9499881/126820737-5a8f3c5b-f723-4184-94d8-5031f52f2270.gif)

## Setup
Expand Down

0 comments on commit d787f4e

Please sign in to comment.