If you start the MIDI Monitor in BIAB, play a few notes on your keyboard, you should see them added to the list.
This would also work for your sustain pedal. If there is response from the keyboard but not the sustain pedal, I would suspect the pedal itself, or the connection from the pedal into your keyboard.

What model keyboard are you using?


BIAB & RB2026 Win.(Audiophile), Windows 10 Professional & Windows 11, Sonar Platinum, Cakewalk by Bandlab, Izotope Prod.Bundle, Roland RD-1000, Synthogy Ivory, Kontakt, Focusrite 18i20, KetronSD2, NS40M Monitors, Pioneer Active Monitors