We are writing an application where we need to use the keyboard callback with auto-repeat to perform a series of calculations until the user releases the key. The problem is, when the calculations take longer than a key’s auto-repeat rate,
the calculations continue after the user has released the key.
I have tried multi-threading, different uses of the the Keyboard and the KeyboardUp with while loops and the glutIgnoreKeyRepeat function, and nothing seems to work.
Any ideas would be appreciated.