Tweak input polling timings
Increase the hotkey and recoil loop sleep intervals to reduce CPU churn and smooth input handling. The hotkey loop now waits 15ms instead of 8ms, and the recoil loop waits 10ms instead of 2ms, which helps reduce jitter while keeping responsiveness stable. This also updates the packaged release artifact by replacing the older archive with Lithium-0.01.7z.
This commit is contained in:
Binary file not shown.
@@ -35,7 +35,7 @@ namespace Lithium
|
|||||||
HandleRefresh();
|
HandleRefresh();
|
||||||
HandleSwitchSide();
|
HandleSwitchSide();
|
||||||
HandleQuickSwaps();
|
HandleQuickSwaps();
|
||||||
Thread.Sleep(8);
|
Thread.Sleep(15);
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ namespace Lua
|
|||||||
_remainderX = _remainderY = 0;
|
_remainderX = _remainderY = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
Thread.Sleep(2);
|
Thread.Sleep(10);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user