oculus1

view 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 source
1 /************************************************************************************
3 PublicHeader: OVR.h
4 Filename : OVR_HIDDeviceBase.h
5 Content : Definition of HID device interface.
6 Created : March 11, 2013
7 Authors : Lee Cooper
9 Copyright : Copyright 2013 Oculus VR, Inc. All Rights reserved.
11 Use of this software is subject to the terms of the Oculus license
12 agreement provided at the time of installation or download, or which
13 otherwise accompanies this software in either electronic or hard copy form.
15 *************************************************************************************/
17 #ifndef OVR_HIDDeviceBase_h
18 #define OVR_HIDDeviceBase_h
20 #include "Kernel/OVR_Types.h"
22 namespace OVR {
24 //-------------------------------------------------------------------------------------
25 // ***** HIDDeviceBase
27 // Base interface for HID devices.
28 class HIDDeviceBase
29 {
30 public:
32 virtual ~HIDDeviceBase() { }
34 virtual bool SetFeatureReport(UByte* data, UInt32 length) = 0;
35 virtual bool GetFeatureReport(UByte* data, UInt32 length) = 0;
36 };
38 } // namespace OVR
40 #endif