mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Cleanup of left-overs that shouldn't be there
This commit is contained in:
@@ -935,18 +935,19 @@ namespace GHelper.Peripherals.Mouse
|
||||
byte[]? response = WriteForResponse(GetReadAccelerationPacket());
|
||||
if (response is null) return;
|
||||
|
||||
if (HasAcceleration()) Acceleration = ParseAcceleration(response);
|
||||
if (HasDeceleration()) Deceleration = ParseDeceleration(response);
|
||||
|
||||
for (int i = 0; i < DPIProfileCount(); ++i)
|
||||
if (HasAcceleration())
|
||||
{
|
||||
Logger.WriteLine(GetDisplayName() + ": Read DPI Setting " + (i + 1) + ": " + DpiSettings[i].ToString());
|
||||
Acceleration = ParseAcceleration(response);
|
||||
Logger.WriteLine(GetDisplayName() + ": Read Acceleration: " + Acceleration);
|
||||
}
|
||||
|
||||
if (HasDeceleration())
|
||||
{
|
||||
Deceleration = ParseDeceleration(response);
|
||||
Logger.WriteLine(GetDisplayName() + ": Read Deceleration: " + Deceleration);
|
||||
}
|
||||
}
|
||||
|
||||
//TODO: Implement Acceleration Reading
|
||||
|
||||
// ------------------------------------------------------------------------------
|
||||
// DPI
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user