APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Speed of recognizing mouse up event


© August 2005 (various authors)


From: Dances With Crows <danSPANceswitTRAPhcrows@gmail.com>
Subject: Re: mouse question
References: <qtbhs2-n0s.ln1@infinity.localnet> 
Message-ID: <slrndfc4j7.fk9.danSPANceswitTRAPhcrows@samantha.crow202.dyndns.org> 
Date: Sun, 07 Aug 2005 08:47:52 -0500

On Sun, 07 Aug 2005 13:07:10 GMT, Richard Kimber staggered into the
Black Sun and said:
> When you click with a mouse there is, I think, a down event and an up
> event.  What determines the speed with which the up event is
> registered? Is it just a hardware issue, or is there a software
> parameter that can be set?

Events are reported as fast as the kernel mouse driver can report them.
This is typically faster than human reaction time.  On a bog-standard
PS/2 mouse using the IMPS/2 protocol and the standard X settings, I get
a typical X timestamp difference of 80-90 milliseconds between button 1
press and button 1 release when I'm clicking as fast as I can.  There
may be some other differences depending on how fast the machine is and
how heavily loaded it is.

> The problem I have is that when I click on a position in an editor and
> then move the mouse I often get some unwanted selected text (i.e. it
> is behaving as if I were holding down the mouse button because I'm
> moving the mouse quicker than the up event is being registered)

> It would speed up work if I could move the mouse more quickly after a
> click.

Lay off the caffeine?  I've never had this problem, but then I think
"more haste = less speed" when it comes to writing/editing.  Or better
yet, edit text in such a way that you don't need to use the mouse at
all.  (There are 2 text editors, vim and emacs, neither one requires the
mouse, and both can do things that are very difficult or totally
impossible in other text editors.)  

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /    mail: TRAP + SPAN don't belong
https://www.brainbench.com     /    "He is a rhythmic movement of the
-----------------------------/      penguins, is Tux." --MegaHAL
 

Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> Speed of recognizing mouse up event


Inexpensive and informative Apple related e-books:

Take Control of OS X Server

iOS 8: A Take Control Crash Course

Digital Sharing Crash Course

Take Control of iCloud, Fifth Edition

Take Control of Upgrading to El Capitan





Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us


Printer Friendly Version





An adversary capable of implanting the right virus or accessing the right terminal can cause massive damage. (George Tenet, director of the U.S. Central Intelligence Agency)




Linux posts

Troubleshooting posts


This post tagged:

Linux



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode





SCO Unix Sales, Support, & Service

Phone:  707-SCO-UNIX (707-726-8649Toll Free: 833-SCO-UNIX (833-726-8649)
www.SCOsales.com