mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Mice with only one DPI per setting read through a different packet
This commit is contained in:
@@ -794,6 +794,11 @@ namespace GHelper.Peripherals.Mouse
|
|||||||
|
|
||||||
protected virtual byte[] GetReadDPIPacket()
|
protected virtual byte[] GetReadDPIPacket()
|
||||||
{
|
{
|
||||||
|
if (!HasXYDPI())
|
||||||
|
{
|
||||||
|
return new byte[] { 0x00, 0x12, 0x04, 0x00 };
|
||||||
|
}
|
||||||
|
|
||||||
return new byte[] { 0x00, 0x12, 0x04, 0x02 };
|
return new byte[] { 0x00, 0x12, 0x04, 0x02 };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user