aboutsummaryrefslogtreecommitdiff
path: root/src/app/js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2024-06-15 23:53:28 +0200
committer0neGal <mail@0negal.com>2024-06-15 23:53:28 +0200
commitd5382d76317550c760cf6daa6f2daf35acd6dd45 (patch)
tree1079b47d89bfd6b2dd9a611beeba915746609860 /src/app/js
parentb4f050f1aae07da041b4d4afef636257f9b9d832 (diff)
downloadViper-d5382d76317550c760cf6daa6f2daf35acd6dd45.tar.gz
Viper-d5382d76317550c760cf6daa6f2daf35acd6dd45.zip
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.
Diffstat (limited to 'src/app/js')
-rw-r--r--src/app/js/gamepad.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/js/gamepad.js b/src/app/js/gamepad.js
index aa9e089..5618b0c 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;
}
}