Keyboard input was disabled

Psychtoolbox version: 3.0.17

System version:macOS Catalina

Matlab version: R2020a.

Problem: The keyboard input was disabled when I call KbWait, or KbStrokeWait, or other codes would call KbWait. When I debug, I found it is aways in while secs < untilTime of KbWait.m.

Have you checked the various posts of macOS users wrt. keyboard input problems due to Apples misdesigned Catalina operating system, and tried the tips from those posts? If not, please do so.

-mario