oculus1

annotate libovr/Src/OVR_DeviceConstants.h @ 17:cfe4979ab3eb

ops, minor error in the last commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 21 Sep 2013 07:09:48 +0300
parents
children
rev   line source
nuclear@1 1 /************************************************************************************
nuclear@1 2
nuclear@1 3 PublicHeader: OVR.h
nuclear@1 4 Filename : OVR_DeviceConstants.h
nuclear@1 5 Content : Device constants
nuclear@1 6 Created : February 5, 2013
nuclear@1 7 Authors : Lee Cooper
nuclear@1 8
nuclear@1 9 Copyright : Copyright 2013 Oculus VR, Inc. All Rights reserved.
nuclear@1 10
nuclear@1 11 Use of this software is subject to the terms of the Oculus license
nuclear@1 12 agreement provided at the time of installation or download, or which
nuclear@1 13 otherwise accompanies this software in either electronic or hard copy form.
nuclear@1 14
nuclear@1 15 *************************************************************************************/
nuclear@1 16
nuclear@1 17 #ifndef OVR_DeviceConstants_h
nuclear@1 18 #define OVR_DeviceConstants_h
nuclear@1 19
nuclear@1 20 namespace OVR {
nuclear@1 21
nuclear@1 22
nuclear@1 23 //-------------------------------------------------------------------------------------
nuclear@1 24 // Different device types supported by OVR; this type is reported by DeviceBase::GetType.
nuclear@1 25 //
nuclear@1 26 enum DeviceType
nuclear@1 27 {
nuclear@1 28 Device_None = 0,
nuclear@1 29 Device_Manager = 1,
nuclear@1 30 Device_HMD = 2,
nuclear@1 31 Device_Sensor = 3,
nuclear@1 32 Device_LatencyTester = 4,
nuclear@1 33 Device_All = 0xFF // Set for enumeration only, to enumerate all device types.
nuclear@1 34 };
nuclear@1 35
nuclear@1 36 } // namespace OVR
nuclear@1 37
nuclear@1 38 #endif