I'm just adding some extra features via key bindings during game play and have two questions.
Can multiple key presses be detected? I assume not. I was hoping to use the shift key as a modifier while the arrow keys are also being pressed, but it looks like only one key press is active at once using "key.pressed" and also there seems to be a priority where, for example, the right arrow key always overrides the up arrow key?
Without manually enforcing a poll interval, I am getting too many events for the one key returned at once. I guess that doing my own manual poll interval by ignoring a certain key input for my interval after it is first detected is the only way to get around this?
And a follow up question.
I have to run, but: key.pressed can detect any combination of keys your keyboard is physically capable of reporting. This includes modifiers.
key.get, however, is based on the input buffer, and really gets characters rather than keys. No modifier keys with that.