So that’s very different than the mouse. That’s the programming in the computer doing that, the mouse really isn’t controlling anything there. It just sends signals telling the computer you *did* click.
As for what’s actually happening inside the computer, it’s a coordinated series of electrical signals that combine and create new signals, or block signals, all happening according to how the computer was designed. This series of signals eventually results in the pixels on the screen receiving different signals, which changes what you see.
Your question is really more “how does a computer work” than “how does a mouse work”, and that’s a very complicated question. You might get someone more knowledgeable than me to answer if you post you question again with a different title.
Latest Answers