KbCheck not identifying number keys when pressed

Hi - I am using

[keyIsDown, secs, keyCode] = KbCheck;

However, keyCode will not recognize any button press other than the space bar. The keyIsDown variable works fine with all keys, however, the keyCode index will not change for any key press other than space bar. Using a Windows 11 laptop currently, have tried both sets of number keys. No external devices.

Does KbDemo work? This is a demo included in PTB. Additionally, if you could provide a minimal piece of code exhibiting the error this would be helpful for people to give you advice.