Is it an old set, as I have not seen that happen for many, many years.
Most modern wireless keyboards and mice created a unique encrypted link between themselves and the receiver. It shouldn't be possible to do what you have done with a more recent device.