From d5382d76317550c760cf6daa6f2daf35acd6dd45 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Sat, 15 Jun 2024 23:53:28 +0200 Subject: [PATCH] up delay between gamepad axes and their actions The lower delay that was there previously would lead to the axes/joysticks moving around the UI way too fast. --- src/app/js/gamepad.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/js/gamepad.js b/src/app/js/gamepad.js index aa9e0891..5618b0c4 100644 --- a/src/app/js/gamepad.js +++ b/src/app/js/gamepad.js @@ -195,7 +195,7 @@ setInterval(() => { // add delay to this direction, to prevent it from being // triggered immediately again - delay_press[i] = 3; + delay_press[i] = 5; } }