byte 3 is only 2 for mice with XY DPIs.

This commit is contained in:
IceStormNG
2023-07-30 11:23:38 +02:00
parent 78cbfc8813
commit c7c14a9211

View File

@@ -827,7 +827,7 @@ namespace GHelper.Peripherals.Mouse
protected virtual void ParseDPI(byte[] packet)
{
if (packet[1] != 0x12 || packet[2] != 0x04 || packet[3] != 0x02)
if (packet[1] != 0x12 || packet[2] != 0x04 || (packet[3] != 0x02 && HasXYDPI()))
{
return;
}