mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Default Profile is 0, so use that if decoding fails to have a sane fallback.
This commit is contained in:
@@ -575,7 +575,7 @@ namespace GHelper.Peripherals.Mouse
|
|||||||
return packet[11];
|
return packet[11];
|
||||||
}
|
}
|
||||||
Logger.WriteLine(GetDisplayName() + ": Failed to decode active profile");
|
Logger.WriteLine(GetDisplayName() + ": Failed to decode active profile");
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual int ParseDPIProfile(byte[] packet)
|
protected virtual int ParseDPIProfile(byte[] packet)
|
||||||
|
|||||||
Reference in New Issue
Block a user