Question: how do a wireless mouse work?
Answer: The transmitter is housed in the mouse. ... 
The receiver, which is connected to your computer, accepts the signal, decodes it and passes it on to the mouse driver software and your computer's operating system.