Fix down input on gamepad

This commit is contained in:
Ethan O'Brien 2025-01-03 21:24:34 -06:00
parent 4ae4d5c3bf
commit 27374b52d6

View File

@ -3053,7 +3053,7 @@ class EmulatorJS {
this.gameManager.simulateInput(i, 22, 0x7fff * e.value);
this.gameManager.simulateInput(i, 23, 0);
} else {
this.gameManager.simulateInput(i, 23, 0x7fff * e.value);
this.gameManager.simulateInput(i, 23, -0x7fff * e.value);
this.gameManager.simulateInput(i, 22, 0);
}
}