Open Naheulf opened 5 years ago
This happens in GUIs or other contexts where Keyboard.enableRepeatEvents(true)
has been called. As far as anything using key events is concerned, those repeat events are the same as the normal initial key press. So this is pretty much working as intended, although it's true that it gets very spammy.
I think I could add an option to the keybind debugging to basically omit those repeat event messages if they are not desired, but I won't hard-code remove those completely as they can be useful/vital in some cases.
Description of the Issue
MaLiLib send too many messages if one key is held.
Steps to Reproduce the Issue
Expected Behavior
Only two or three messages should be send: "PRESS D (32), held keys: D (32)" "held keys: D (32)" (optional) "RELEASE D (32), held keys:"
Actual Behavior
The "PRESS" message is send many times per second
Debug Information
Tested with theses mods: