27 #ifndef OVR_HIDDevice_h
28 #define OVR_HIDDevice_h
virtual void OnInputReport(UByte *pData, UInt32 length)
static HIDDeviceManager * Create(Ptr< OVR::DeviceManager > &deviceManager)
virtual double OnTicks(double tickSeconds)
virtual bool MatchVendorProduct(UInt16 vendorId, UInt16 productId)
virtual bool Enumerate(HIDEnumerateVisitor *enumVisitor)=0
virtual void Visit(HIDDevice &, const HIDDeviceDesc &)
void SetHandler(HIDHandler *handler)
virtual void OnDeviceMessage(HIDDeviceMessageType messageType)
virtual HIDDevice * Open(const String &path)=0
virtual bool SetFeatureReport(UByte *data, UInt32 length)=0
#define OVR_UNUSED2(a1, a2)
virtual bool GetFeatureReport(UByte *data, UInt32 length)=0