Add SetReport.

This commit is contained in:
Steve Checkoway
2006-02-27 00:44:30 +00:00
parent a63a1284fa
commit bcb239a7be
@@ -82,6 +82,12 @@ protected:
{
CALL( m_Queue, addElement, IOHIDElementCookie(cookie), 0 );
}
// Perform a synchronous set report on the HID interface.
inline IOReturn SetReport( IOHIDReportType type, UInt32 reportID, void *buffer, UInt32 size, UInt32 timeoutMS )
{
return CALL( m_Interface, setReport, type, reportID, buffer, size, timeoutMS, NULL, NULL, NULL );
}
public:
HIDDevice();
virtual ~HIDDevice();