Audacity can't see my input device

Hi there. I’ve been using Audacity for a while recording directly from my keyboard. I’ve just bought a new Mac and have connected the keyboard with a USBC cable but find that Audacity only recognises it as an output rather than an input device.
Can anyone help please? Thank you.