Fix Logitech G810 controller build on Linux

This commit is contained in:
Adam Honse 2020-06-12 19:49:04 -05:00
parent 8ae07ea9e2
commit f26897df71

View file

@ -8,6 +8,7 @@
\*-----------------------------------------*/
#include "LogitechG810Controller.h"
#include <cstring>
LogitechG810Controller::LogitechG810Controller(hid_device* dev_handle)
{
@ -113,4 +114,4 @@ void LogitechG810Controller::SendMode
\*-----------------------------------------------------*/
hid_write(dev, (unsigned char *)usb_buf, 20);
hid_read(dev, (unsigned char *)usb_buf, 20);
}
}