You can connect a wireless keyboard to a Mac or PC using Bluetooth, as long as the keyboard is charged and in pairing mode.
It's easy to connect Bluetooth headphones to any PC running Windows in just a few steps. Here's how to do it.