Skip to content

Commit d18e293

Browse files
committed
Polling rate reading cleanup
1 parent d1d1c1f commit d18e293

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

app/Peripherals/Mouse/Models/KerisWirelssAimpoint.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -103,18 +103,6 @@ public override bool HasDPIColors()
103103
{
104104
return true;
105105
}
106-
// 3.00.06 - 4.00.01 or newer firmware
107-
protected override PollingRate ParsePollingRate(byte[] packet)
108-
{
109-
if (packet[1] == 0x12 && packet[2] == 0x04 && packet[3] == 0x00)
110-
{
111-
if ((int)packet[13] > 7)
112-
return (PollingRate)packet[13] - 96;
113-
return (PollingRate)packet[13];
114-
}
115-
116-
return PollingRate.PR125Hz;
117-
}
118106
}
119107

120108
public class KerisWirelssAimpointWired : KerisWirelssAimpoint

0 commit comments

Comments
 (0)