To reset and re-pair a wirless keyboard which won't connect...
Switch off the keyboard by holding down the power button for 3 seconds. Click the Bluetooth icon in the menu bar. If this isn't visible, go to System Preferences, Bluetooth, and turn it on. Click on "Set Up Bluetooth Device" or "Open Bluetooth Preferences". Turn on the keyboard by holding down the power button, but do not release it yet. Setup Assistant should find the keyboard, so click the name of the keyboard. Click the "Continue" button. Make sure you are still holding down the power button. You will be prompted for the Pairing Code. You can now release the power button. Type the pairing code on the keyboard and press return. Pairing should happen now. It will take a second. The keyboard will now be paired, and should work correctly.
I usually write a blog post about once a week. The latest post can be viewed here: Avoid Microsoft: If you don't really like computers much you could make things a bit better for yourself. (posted 2024-12-04 at 12:05:50). I do podcasts too!. You can listen to my latest podcast, here: OJB's Podcast 2024-08-22 Stirring Up Trouble: Let's just get every view out there and fairly debate them..