Reduce gamepad CPU usage on Steam Link

- Gamepad sensors are now disabled by default
- Added a small deadzone to limit excess gamepad input reports
This commit is contained in:
Cameron Gutman committed 2026-09-27 17:39:10 -05:00
1 parent c0f62ad64e
commit 8369d1a0e1
2 files changed
+43 -7

No files matched your search

+5
View File
@@ -9,6 +9,11 @@ HOME=/usr/local/moonlight
# https://github.com/moonlight-stream/moonlight-qt/issues/697
export SDL_ENABLE_STEAM_CONTROLLERS=1
# Disable gamepad sensors by default to avoid excessive CPU
# usage that can cause audio glitches. Remove the following
# line to enable gamepad sensors.
export SENSOR_REPORT_RATE_LIMIT_HZ=0
# Renice PE_Single_CPU which seems to host A/V stuff
renice -10 -p $(pidof PE_Single_CPU)