diff options
author | 0neGal <mail@0negal.com> | 2024-06-15 23:53:28 +0200 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2024-06-15 23:53:28 +0200 |
commit | d5382d76317550c760cf6daa6f2daf35acd6dd45 (patch) | |
tree | 1079b47d89bfd6b2dd9a611beeba915746609860 | |
parent | b4f050f1aae07da041b4d4afef636257f9b9d832 (diff) | |
download | Viper-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.
-rw-r--r-- | src/app/js/gamepad.js | 2 |
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; } } |