mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 15:47:18 +02:00
Disable inputPollingDurationStats
This commit is contained in:
parent
baa22dbefc
commit
411e43ceb0
@ -211,7 +211,8 @@ const PATCHES = {
|
|||||||
|
|
||||||
// Block gamepad stats collecting
|
// Block gamepad stats collecting
|
||||||
if (getPref(PrefKey.BLOCK_TRACKING)) {
|
if (getPref(PrefKey.BLOCK_TRACKING)) {
|
||||||
codeBlock = codeBlock.replaceAll('this.inputPollingIntervalStats.addValue', '');
|
codeBlock = codeBlock.replace('this.inputPollingIntervalStats.addValue', '');
|
||||||
|
codeBlock = codeBlock.replace('this.inputPollingDurationStats.addValue', '');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Map the Share button on Xbox Series controller with the capturing screenshot feature
|
// Map the Share button on Xbox Series controller with the capturing screenshot feature
|
||||||
@ -219,8 +220,8 @@ const PATCHES = {
|
|||||||
if (match) {
|
if (match) {
|
||||||
const gamepadVar = match[1];
|
const gamepadVar = match[1];
|
||||||
const newCode = renderString(codeControllerShortcuts, {
|
const newCode = renderString(codeControllerShortcuts, {
|
||||||
gamepadVar,
|
gamepadVar,
|
||||||
});
|
});
|
||||||
|
|
||||||
codeBlock = codeBlock.replace('this.gamepadTimestamps.set', newCode + 'this.gamepadTimestamps.set');
|
codeBlock = codeBlock.replace('this.gamepadTimestamps.set', newCode + 'this.gamepadTimestamps.set');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user