|
|
@ -13,7 +13,7 @@ static int htx_send_command(libusb_device_handle* hand, uint8_t command, uint8_t |
|
|
|
0x300, // wValue (FEATURE << 8 | REPORT(0))
|
|
|
|
0x300, // wValue (FEATURE << 8 | REPORT(0))
|
|
|
|
0x2, // wIndex = 0x2 : interface
|
|
|
|
0x2, // wIndex = 0x2 : interface
|
|
|
|
report, |
|
|
|
report, |
|
|
|
64, // wLength = 64
|
|
|
|
REPORT_MAX_SIZE, // wLength = 64
|
|
|
|
0 /* timeout*/); |
|
|
|
0 /* timeout*/); |
|
|
|
|
|
|
|
|
|
|
|
if(res <= 0) return res; |
|
|
|
if(res <= 0) return res; |
|
|
@ -25,7 +25,7 @@ static int htx_send_command(libusb_device_handle* hand, uint8_t command, uint8_t |
|
|
|
0x300, // wValue (FEATURE << 8 | REPORT(0))
|
|
|
|
0x300, // wValue (FEATURE << 8 | REPORT(0))
|
|
|
|
0x2, // wIndex = 0x2 : interface
|
|
|
|
0x2, // wIndex = 0x2 : interface
|
|
|
|
report, |
|
|
|
report, |
|
|
|
64, // wLength = 64
|
|
|
|
REPORT_MAX_SIZE, // wLength = 64
|
|
|
|
0); |
|
|
|
0); |
|
|
|
|
|
|
|
|
|
|
|
return res; |
|
|
|
return res; |
|
|
@ -65,5 +65,5 @@ char* driver_get_name(void* handle) |
|
|
|
|
|
|
|
|
|
|
|
char* driver_get_image(void* handle) |
|
|
|
char* driver_get_image(void* handle) |
|
|
|
{ |
|
|
|
{ |
|
|
|
return "drivers/g-wolves/htx/htx_0.png"; |
|
|
|
return "drivers/assets/gwolves-htx.png"; |
|
|
|
} |
|
|
|
} |
|
|
|