Fix G PRO speed slider.

This commit is contained in:
TheRogueZeta 2020-09-06 22:08:27 -07:00 committed by Adam Honse
parent 1a946268ba
commit 0cab595ef6
2 changed files with 5 additions and 4 deletions

View file

@ -54,7 +54,7 @@ void LogitechGProWirelessController::SendMouseMode
usb_buf[0x07] = green;
usb_buf[0x08] = blue;
speed = 1000 * (LOGITECH_G_PRO_WIRELESS_SPEED_FASTEST - speed);
speed = 100 * speed;
if(mode == LOGITECH_G_PRO_WIRELESS_MODE_STATIC)
{
usb_buf[0x09] = 0x02;