a keyboard can be joined to a computer using a wire, but can also be wireless (like those that use bluetooth). most wired 21st century keyboards connect to a usb socket on the computer, but older ones use a round, purple din connector.