Return to BSD News archive
Xref: sserve comp.windows.x.i386unix:15383 comp.sys.intel:31612 comp.unix.bsd:16161 comp.unix.pc-clone.32bit:8167 comp.unix.sys5.r4:9246 comp.unix.misc:16036 comp.os.linux.development:23412 comp.os.linux.misc:35229 comp.os.386bsd.development:3196 comp.os.386bsd.misc:5374
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!spool.mu.edu!olivea!wetware!wsrcc.com!not-for-mail
From: wolfgang@wsrcc.com (Wolfgang Rupprecht)
Newsgroups: comp.windows.x.i386unix,comp.sys.intel,comp.unix.bsd,comp.unix.pc-clone.32bit,comp.unix.sys5.r4,comp.unix.misc,comp.os.linux.development,comp.os.linux.misc,comp.os.386bsd.development,comp.os.386bsd.misc
Subject: Microsoft "Ballpoint" mouse
Date: 13 Feb 1995 13:11:38 -0800
Organization: W S Rupprecht Computer Consulting, Fremont CA
Lines: 31
Message-ID: <3hohua$299@wsrcc.com>
NNTP-Posting-Host: wsrcc.com
X-Newsreader: NN version 6.5.0 #5 (NOV)
I have the pleasure of trying to get a Microsoft "Ballpoint" mouse to
work as a 3-button mouse under XFree86 and BSDI. So far I have only
been able to get it to run as a two button mouse when treated as if it
were a PS/2 mouse.
In short, this mouse sends a 3-byte message whenever a key is pressed
or released.
0x00 0x00 0x00 - all buttons up event
0x01 0x00 0x00 - button 1 down
0x02 0x00 0x00 - button 3 down
0x00 0x00 0x00 - button 2 down
Notice that the button 2 down event is the same byte-string as the all
buttons up event. I'm not sure how to reprogram the mouse to send a
more meaningful button 2 down event msg. If it were a real PS/2 mouse
it would be sending:
0x08 0x00 0x00 - ps/2 mouse button 2 down
Is there a cheat-sheet available for initializing this sucker? I
suspect that this default mode is just Microsoft's way of encouraging
2-button mouse opreration. (If I get this mouse working, I'll of
course send the patches for it to XFree86.)
-wolfgang
PS. Please CC me in any responses. My usenet news server is getting
seriously backlogged.
--
Wolfgang Rupprecht <wolfgang@wsrcc.com> <http://www.wsrcc.com/>