mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
emscripten: only fire keyup once, and don't wait so long to do so
This commit is contained in:
parent
aef66e3d9e
commit
3a5a2d9de6
@ -394,7 +394,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…
x
Reference in New Issue
Block a user