My son noted that he could not use the cursor keys to move in a simple game I wrote. I followed the guide found here on SO, and now you can move the four cardinal directions. But the game allows eight directions...
keyDown captures whichever was hit first and only returns a single keycode at a time. Now I keep capturing keyDowns and set local ivars and then trigger on keyUp.
It works, but am I missing a canonical method for this? This is my first time on the macOS side, I've always worked on iOS before, so key handling is new and I want to be sure I'm not missing some simpler solution.