Add Polling rate setting

This commit is contained in:
redphx
2024-10-21 22:01:32 +07:00
parent 831fd98d02
commit 5e98c756d4
10 changed files with 56 additions and 11 deletions

View File

@@ -33,3 +33,7 @@ export function showGamepadToast(gamepad: Gamepad) {
Toast.show(text, status, {instant: false});
}
export function updatePollingRate() {
window.BX_CONTROLLER_POLLING_RATE = getPref(PrefKey.CONTROLLER_POLLING_RATE);
}