home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!wupost!q106fm!pete
- From: pete@q106fm.UUCP (pete cervasio)
- Newsgroups: comp.os.linux
- Subject: Possible MS Bus Mouse Detect (?)
- Message-ID: <D0Z2qB1w164w@q106fm.UUCP>
- Date: Sun, 13 Sep 92 14:06:24 CDT
- Organization: WKBQ-FM Engineering Department
- Lines: 32
-
- fwbent@watmsg.uwaterloo.ca (Fred Bent) writes:
-
- >Hello,
- >
- >I have been reading several articles mention that currently
- >there is no method for detecting a Microsoft Bus Mouse.
- >
- >Well, I have some code that shows how to do this (I think :-).
- >Is this what you are asking for? I have not tested this code
- >with a Logitech so I am not sure what will happen, I only know
- >that this code should work for detecting IF a Microsoft Bus Mouse
- >is present (but not sure if will discriminate).
- ......Code Deleted......
- >Hope this helps! I can only test this under MS-DOS, but the method
- >should be clear. inp and outp simply get/send a byte to a IO port
- >(in case not too obvious).
-
- Hmm... I just tried this with MSC 5.1 under DOS and it reports the IRQ
- as 0... It did think I had a MS Mouse, though, so it may be what we need
- under Linux to do the detection (leaving the IRQ at 5). Could someone
- with a Logitech mouse try this code and mail me your results?
-
- Thanks.
- Pete C.
-
- +----------------------------------------------------------------------+
- | Pete Cervasio | pete%q106fm.uucp@wupost.wustl.edu |
- | I fish, therefore I am. | pete.cervasio@f1.n2250.z1.fidonet.org |
- +----------------------------------------------------------------------+
- | If you think of C as a preprocessor for your assembler, it makes |
- | just as little sense as before. (me) |
- +----------------------------------------------------------------------+
-