Under Linux I receive multiple keyPressed & keyReleased events whilst a key is held down. Do any other operating systems exhibit this behaviour? I am considering working around this issue by detecting if the OS is Linux and then only considering a key as released after a given duration has elapsed and no new keyPressed events have arrived for the key. Is this likely to be a reliably work around? I imagine it will work perfectly under my setup however I am unsure how consistent the rate of arrival of keyPressed / keyReleased events is among other setups. I have previously used JInput however if I recall I had to set some permissions on my system for it to work correctly. I’d prefer to avoid going down this path if at all possible.
Thanks