No comment

This commit is contained in:
Benjamin Höglinger-Stelzer
2019-04-22 12:13:45 +02:00
parent 9071d6c3af
commit 3f1286cbc9
8 changed files with 227 additions and 49 deletions

View File

@@ -5,14 +5,16 @@
class XusbNotificationRequest
{
private:
HANDLE parent_bus;
XUSB_REQUEST_NOTIFICATION payload;
DWORD transferred;
OVERLAPPED overlapped;
public:
XusbNotificationRequest(HANDLE bus, ULONG serial, HANDLE wait);
XusbNotificationRequest(HANDLE bus, ULONG serial, HANDLE notification);
bool request_async();
void requestAsync();
UCHAR get_led_number() const;
UCHAR get_large_motor() const;
UCHAR get_small_motor() const;
};