oculus1

diff libovr/Src/OVR_DeviceConstants.h @ 1:e2f9e4603129

added LibOVR and started a simple vr wrapper.
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 14 Sep 2013 16:14:59 +0300
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libovr/Src/OVR_DeviceConstants.h	Sat Sep 14 16:14:59 2013 +0300
     1.3 @@ -0,0 +1,38 @@
     1.4 +/************************************************************************************
     1.5 +
     1.6 +PublicHeader:   OVR.h
     1.7 +Filename    :   OVR_DeviceConstants.h
     1.8 +Content     :   Device constants
     1.9 +Created     :   February 5, 2013
    1.10 +Authors     :   Lee Cooper
    1.11 +
    1.12 +Copyright   :   Copyright 2013 Oculus VR, Inc. All Rights reserved.
    1.13 +
    1.14 +Use of this software is subject to the terms of the Oculus license
    1.15 +agreement provided at the time of installation or download, or which
    1.16 +otherwise accompanies this software in either electronic or hard copy form.
    1.17 +
    1.18 +*************************************************************************************/
    1.19 +
    1.20 +#ifndef OVR_DeviceConstants_h
    1.21 +#define OVR_DeviceConstants_h
    1.22 +
    1.23 +namespace OVR {
    1.24 +
    1.25 +
    1.26 +//-------------------------------------------------------------------------------------
    1.27 +// Different device types supported by OVR; this type is reported by DeviceBase::GetType.
    1.28 +// 
    1.29 +enum DeviceType
    1.30 +{
    1.31 +    Device_None             = 0,
    1.32 +    Device_Manager          = 1,
    1.33 +    Device_HMD              = 2,
    1.34 +    Device_Sensor           = 3,
    1.35 +    Device_LatencyTester    = 4,
    1.36 +    Device_All              = 0xFF // Set for enumeration only, to enumerate all device types.
    1.37 +};
    1.38 +
    1.39 +} // namespace OVR
    1.40 +
    1.41 +#endif