mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
emscripten: only fire keyup once, and don't wait so long to do so (libretro.js)
This commit is contained in:
parent
a15820f86a
commit
8f7810d921
1 changed files with 1 additions and 1 deletions
|
@ -389,7 +389,7 @@ $(function() {
|
|||
function keyPress(k)
|
||||
{
|
||||
kp(k, "keydown");
|
||||
setInterval(function(){kp(k, "keyup")}, 1000);
|
||||
setTimeout(function(){kp(k, "keyup")}, 50);
|
||||
}
|
||||
|
||||
kp = function(k, event) {
|
||||
|
|
Loading…
Add table
Reference in a new issue