Mice with only one DPI per setting read through a different packet

This commit is contained in:
IceStormNG
2023-07-30 11:17:21 +02:00
parent 3cfd7e01ca
commit 569519aeea

View File

@@ -794,6 +794,11 @@ namespace GHelper.Peripherals.Mouse
protected virtual byte[] GetReadDPIPacket()
{
if (!HasXYDPI())
{
return new byte[] { 0x00, 0x12, 0x04, 0x00 };
}
return new byte[] { 0x00, 0x12, 0x04, 0x02 };
}