mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-12 01:49:42 -04:00
Fix Logitech G815 keyboard freezing
Keyboard may freeze when running GHUB and OpenRGB at the same time. This fixes this. Commits squashed by Adam Honse <calcprogrammer1@gmail.com>
This commit is contained in:
@@ -90,7 +90,7 @@ void LogitechG815Controller::SendCommit()
|
||||
| Send packet |
|
||||
\*-----------------------------------------------------*/
|
||||
hid_write(dev_pkt_0x11, (unsigned char *)usb_buf, 20);
|
||||
hid_read(dev_pkt_0x11, (unsigned char *)usb_buf, 20);
|
||||
hid_read_timeout(dev_pkt_0x11, (unsigned char *)usb_buf, 20, LOGITECH_READ_TIMEOUT);
|
||||
}
|
||||
|
||||
void LogitechG815Controller::InitializeDirect()
|
||||
@@ -243,7 +243,7 @@ void LogitechG815Controller::SendDirectFrame
|
||||
| Send packet |
|
||||
\*-----------------------------------------------------*/
|
||||
hid_write(dev_pkt_0x11, (unsigned char *)usb_buf, 20);
|
||||
hid_read(dev_pkt_0x11, (unsigned char *)usb_buf, 20);
|
||||
hid_read_timeout(dev_pkt_0x11, (unsigned char *)usb_buf, 20, LOGITECH_READ_TIMEOUT);
|
||||
}
|
||||
|
||||
void LogitechG815Controller::SendMode
|
||||
|
||||
Reference in New Issue
Block a user