From: lbrtchx on
~
If you plug another another set of input or output peripherals to your computer, say, a pair of mouse and keyboard, how can you know which mouse is clicking on an area and restrict the areas each of them may click on? Say two persons (each with a set of keyboard and mouse) are playing chess on the same monitor
~
Is this something you can get from the OS or do you have to get further down to the BIOS or assembly interrupt handlers?
~
How can you program/implement such a thing?
~
What stops these guys:
~
http://linuxgazette.net/124/smith.html
~
from running their (differing (that means, they should be able to switch among them)) operating systems with their own customized application stacks?
~
Thank you
lbrtchx
From: Flash Gordon on
lbrtchx(a)gmail.com wrote:
> ~
> If you plug another another set of input or output peripherals to your computer, say, a pair of mouse and keyboard, how can you know which mouse is clicking on an area and restrict the areas each of them may click on? Say two persons (each with a set of keyboard and mouse) are playing chess on the same monitor

<snip>

It's all highly dependent on what the OS chooses to let you know and
completely language independent. C itself certainly does not provide
anything for any of this.

So you really need to ask in groups dedicated to the systems you are
interested in.
--
Flash Gordon