oculus1
annotate libovr/Src/OVR_HIDDeviceBase.h @ 15:402cbb6d9ce3
added the shader as a separate header file
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 21 Sep 2013 04:15:20 +0300 |
parents | |
children |
rev | line source |
---|---|
nuclear@1 | 1 /************************************************************************************ |
nuclear@1 | 2 |
nuclear@1 | 3 PublicHeader: OVR.h |
nuclear@1 | 4 Filename : OVR_HIDDeviceBase.h |
nuclear@1 | 5 Content : Definition of HID device interface. |
nuclear@1 | 6 Created : March 11, 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_HIDDeviceBase_h |
nuclear@1 | 18 #define OVR_HIDDeviceBase_h |
nuclear@1 | 19 |
nuclear@1 | 20 #include "Kernel/OVR_Types.h" |
nuclear@1 | 21 |
nuclear@1 | 22 namespace OVR { |
nuclear@1 | 23 |
nuclear@1 | 24 //------------------------------------------------------------------------------------- |
nuclear@1 | 25 // ***** HIDDeviceBase |
nuclear@1 | 26 |
nuclear@1 | 27 // Base interface for HID devices. |
nuclear@1 | 28 class HIDDeviceBase |
nuclear@1 | 29 { |
nuclear@1 | 30 public: |
nuclear@1 | 31 |
nuclear@1 | 32 virtual ~HIDDeviceBase() { } |
nuclear@1 | 33 |
nuclear@1 | 34 virtual bool SetFeatureReport(UByte* data, UInt32 length) = 0; |
nuclear@1 | 35 virtual bool GetFeatureReport(UByte* data, UInt32 length) = 0; |
nuclear@1 | 36 }; |
nuclear@1 | 37 |
nuclear@1 | 38 } // namespace OVR |
nuclear@1 | 39 |
nuclear@1 | 40 #endif |