28 #ifndef _HidController_H 29 #define _HidController_H 97 bool Open(
string const& _hidControllerName );
118 bool Init(
uint32 const _attempts );
138 int SendFeatureReport(
uint32 _length,
const uint8* _data );
140 static void ThreadEntryPoint(
Event* _exitEvent,
void* _context );
141 void ThreadProc(
Event* _exitEvent );
147 string m_serialNumber;
148 string m_hidControllerName;
154 #endif //_HidController_H bool SetProductId(uint32 const _productId)
Definition: Bitfield.h:34
uint32 Write(uint8 *_buffer, uint32 _length)
bool SetVendorId(uint32 const _vendorId)
Represents a USB ControllerController is derived from Stream rather than containing one,...
Definition: Controller.h:55
Platform-independent definition of event objects.
Definition: Event.h:40
struct hid_device_ hid_device
Definition: HidController.h:38
Implements a platform-independent thread management class.
Definition: Thread.h:43
bool SetSerialNumber(string const &_serialNumber)
bool Open(string const &_hidControllerName)
unsigned int uint32
Definition: Defs.h:95
Interface for controllers that implement a HID emulation.
Definition: HidController.h:51
unsigned char uint8
Definition: Defs.h:89