Ensure Keys Are Being held

Hello,

Looking for a good way to ensure keys are being held and not released.
Currently using KbQueueCheck and comparing presstimes and release times but this has proven to be unreliable with events constantly being missed.

you’ll have to be a bit more detailed. Simple KbWait with the right flag will do the trick? If you need to do something in the background and don’t want to miss anything, use KbEventGet with the KbQueues

1 Like

What @dcnieho said, KbEventGet with the KbQueues is the way to go. See KbQueueDemo.m.