Tips to get USB keyboard index in Matlab while using KbQueueCheck

A keyboard index is necessary when using KbQueueCheck instead of KbCheck. So how to get a valid keyboard index of your desired USB keyboard? Credit: Jacob M. Paul in our lab. [Linux enviroment] 1. Check if the keyboard was recognized by the system. Steps: Plug in your USB keyboard -> Open Terminal -> Input “lsusb“… Continue reading Tips to get USB keyboard index in Matlab while using KbQueueCheck