Can't recharge Magic Keyboard
I can't recharge my Magic Keyboard. I don't know why. I use the same lightning cable and usb port to charge the mouse, and that works fine. Could there be a problem with the keyboard's lightning port? If so, how do I fix? The computer is from late 2015
iMac 21.5″, macOS 12.2