Can’t pair Magic Keyboard due to numerical keys not working

I bought a iMac 27” off eBay and included in the sale was an Apple trackpad and Magic Keyboard.

I am trying to pair the keyboard but when the screen asks me to enter the numerical confirmation code, the number keys on the keyboard do not work.

The trackpad paired perfectly though.

I have plugged in a wired USB keyboard and everything works fine there.

Have I inadvertently activated a keyboard shortcut on the Magic Keyboard and disabled number keys or something?

Can I hard reset the keyboard back to factory settings?


Solution 1:

You should able to connect the keyboard to your Mac with a lightning cable. When you unplug it again, it should be paired. Note that it won’t be listed as (Bluetooth) paired whilst connected with a cable, but it should still be usable in that state.

Once paired, you can rename it in the Bluetooth settings.