*BSD News Article 46572


Return to BSD News archive

#! rnews 2775 sserve.cc.adfa.oz.au
Xref: sserve comp.windows.x.i386unix:17034 comp.unix.bsd.freebsd.misc:2998
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!news
From: dawes@Physics.usyd.edu.au (David Dawes)
Newsgroups: comp.windows.x.i386unix,comp.unix.bsd.freebsd.misc
Subject: Re: Serial Mice and Xfree
Date: 8 Jul 1995 07:02:43 GMT
Organization: School of Physics, University of Sydney, Australia
Lines: 42
Distribution: inet
Message-ID: <3tlaij$79p@metro.ucc.su.OZ.AU>
References: <3sumb0$sbd@CUBoulder.Colorado.EDU> <3t0lpr$lgn@bell.maths.tcd.ie> <3t87t5$2uk@bonnie.tcd-dresden.de> <3t9rqf$1lg@natasha.rmii.com>
NNTP-Posting-Host: physics.su.oz.au

In article <3t9rqf$1lg@natasha.rmii.com>,
Jeremy Chatfield <jdc@crab.xinside.com> wrote:
>In article <3t87t5$2uk@bonnie.tcd-dresden.de>,
>J Wunsch <joerg_wunsch@uriah.heep.sax.de> wrote:
>>Robert Walsh <rjwalsh@maths.tcd.ie> wrote:
>>
>>>I'm having the same problem under FreeBSD 2.0.5-RELEASE and the version
>>>of XFree86 that came with it (is this version 3.1.1?).  I've tried it
>>>both with a Microsoft serial mouse and a Microsoft PS/2-style mouse.
>>>Both gave the same problem: I have to move the mouse to make it
>>>recognise that I've just clicked a button.  So I did some experimenting
>>>and noticed the following:
>>
>>You should get a real mouse with 5 buttons instead. :-) (The X
>>protocol defines up to 5 buttons.)
>>
>>As you've noticed, this is a problem with the 3-button emulation.
>>After you've pressed the first button, the emulator is not yet able to
>>decide if it will become an event to emulate the third button, or it
>>will remain an event for this button.
>
>Not strictly true... Try the method used by our X Server.  There is a
>demo version available that should show how it works.  You *can* make
>a Server that will detect Left only, Right only or emulate Middle,
>without moving the mouse.  The demo version is on our Anon-FTP Server
>in URL ftp://ftp.xinside.com/accelx/1.2/demo .

The 3-button emulation in XFree86 3.1.2 will use a timeout so that
single button events can pass though without having to wait for an
additional event.  This makes the 3-button emulation much more usable,
but I personally think that if you are using X you are better off using
a real 3 button mouse.

David
--
------------------------------------------------------------------------------
 David Dawes <D.Dawes@physics.usyd.edu.au>   DoD#210  | Phone: +61 2 351 2639
 School of Physics, University of Sydney, Australia   | Fax:   +61 2 660 2903
------------------------------------------------------------------------------
You came along for a weekend, but you only stayed for one night.
You took off your hair, you pulled out your teeth.  I almost died of fright.
    -- Deep Purple "Living Wreck"