Let’s say you’re building a game in Jupyter using Julia.
Eventually, you’ll need to use the arrow keys to move something around a maze (or play 2048)
What is the best way to highjack keyboard controls?
The idea would be that:
- some HTML is already rendered and
- anything keyboard related would end with a Javascript call
similar topics:
edit: would it also be possible to make the key press have a time limit?
// akin to DDR, Guitar Hero, or "Press 'X' to dodge!"