mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
byte 3 is only 2 for mice with XY DPIs.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user