The chip-8 has room for 16 keys, set in a square. This emulator maps them to a square drawn between 1 and V on a QWERTY keyboard. So:
1 2 3 4
Q W E R
A S D F
Z X C V
Most games use Q and E for left and right. Pong uses 1-Q for Player 1, and 4-R for Player 2.
P.S: I haven't figured out how to get controls working on mobile yet, maybe later.
C++ip-8 is my first attempt at a WASM project. This source code is in C++, and runs on Windows, Linux and, as you can see, in a browser.
If you'd like to peruse the source code or report a bug, you can drop by the Github linked below.