OVR_HIDDeviceBase.h
Go to the documentation of this file.
00001 /************************************************************************************
00002 
00003 PublicHeader:   OVR.h
00004 Filename    :   OVR_HIDDeviceBase.h
00005 Content     :   Definition of HID device interface.
00006 Created     :   March 11, 2013
00007 Authors     :   Lee Cooper
00008 
00009 Copyright   :   Copyright 2013 Oculus VR, Inc. All Rights reserved.
00010 
00011 Use of this software is subject to the terms of the Oculus license
00012 agreement provided at the time of installation or download, or which
00013 otherwise accompanies this software in either electronic or hard copy form.
00014 
00015 *************************************************************************************/
00016 
00017 #ifndef OVR_HIDDeviceBase_h
00018 #define OVR_HIDDeviceBase_h
00019 
00020 #include "Kernel/OVR_Types.h"
00021 
00022 namespace OVR {
00023 
00024 //-------------------------------------------------------------------------------------
00025 // ***** HIDDeviceBase
00026 
00027 // Base interface for HID devices.
00028 class HIDDeviceBase
00029 {
00030 public:
00031 
00032     virtual ~HIDDeviceBase() { }
00033 
00034     virtual bool SetFeatureReport(UByte* data, UInt32 length) = 0;
00035     virtual bool GetFeatureReport(UByte* data, UInt32 length) = 0;
00036 };
00037 
00038 } // namespace OVR
00039 
00040 #endif


oculus_sdk
Author(s):
autogenerated on Fri Aug 28 2015 11:53:11