If this happens, it is suspected that the peripheral device itself is out of order. If your home or office has another mouse or keyboard, try connecting it and see if it works. If other devices work without problems, the device you were using may have broken, so please consider replacing it with a new one.