These events are generated by the JVM / operating system, and if you did not tell the user to change the keyboard delay / key retry settings, Iām afraid you will have to do another job.
I suggest you create a timer that fires events at the correct speed, starts and stops the timer on keyPressed / keyReleased .
aioobe
source share