Closed mpizenberg closed 6 years ago
Moving of player 1 with keyboard handled in b4f2bea3bb and 0cee9fb8
Player 1 shooting on spacebar in bb0b8646
Gamepad support will probably become mandatory for local play. Because of keyboard ghosting, it's not conceivable to have more than 2 people using one keyboard at a time.
“Ghosting” is the problem that some keyboard keys don’t work when multiple keys are pressed simultaneously.
I have never used gamepads in JS, but hey... https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API/Using_the_Gamepad_API
For gamepad in elm: https://github.com/xarvh/elm-gamepad
It mostly works but there are still two issues: