oculus1

diff libovr/Src/OVR_HIDDeviceBase.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_HIDDeviceBase.h	Sat Sep 14 16:14:59 2013 +0300
     1.3 @@ -0,0 +1,40 @@
     1.4 +/************************************************************************************
     1.5 +
     1.6 +PublicHeader:   OVR.h
     1.7 +Filename    :   OVR_HIDDeviceBase.h
     1.8 +Content     :   Definition of HID device interface.
     1.9 +Created     :   March 11, 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_HIDDeviceBase_h
    1.21 +#define OVR_HIDDeviceBase_h
    1.22 +
    1.23 +#include "Kernel/OVR_Types.h"
    1.24 +
    1.25 +namespace OVR {
    1.26 +
    1.27 +//-------------------------------------------------------------------------------------
    1.28 +// ***** HIDDeviceBase
    1.29 +
    1.30 +// Base interface for HID devices.
    1.31 +class HIDDeviceBase
    1.32 +{
    1.33 +public:
    1.34 +
    1.35 +    virtual ~HIDDeviceBase() { }
    1.36 +
    1.37 +    virtual bool SetFeatureReport(UByte* data, UInt32 length) = 0;
    1.38 +    virtual bool GetFeatureReport(UByte* data, UInt32 length) = 0;
    1.39 +};
    1.40 +
    1.41 +} // namespace OVR
    1.42 +
    1.43 +#endif