Open Canardlaquay opened 9 years ago
See comments on https://github.com/dmauro/Keypress/pull/73
This really kills the experience with any kind of "moving around" key press. For instance, when I want to perform some movement, I want to be able to trigger:
The best would be if the third was a consequence of pressing W and D at the same time and didn't require a separate action, but it doesn't seem to be the case.
Determining if two keys are pressed "at the same time" is a can of worms I don't want to deal with because it means introducing arbitrary buffer times that would make anything relying on Keypress feel laggy.
Sorry for the title, don't know how to resume this in a single phrase.
I've got this code: (just modified a bit from the site's example)
I use the is_exclusive feature as the site describes, everything works fine, except that the on_keydown for the single key (here, "s") doesn't fire up.