🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #37300

Button events

#37300
From: Stephen Jacobs
Date: Tue, 21 Mar 1989 15:01
18 lines
1545 bytes
Having just tweaked the button event detecting structures in a program on
the basis of 'This part still doesn't work right, but that part does, so
let's copy some of that over here', I am acutely aware that I don't really
understand button events.  Likewise direct sensing of the mouse button 
states.  This is AFTER reading everything I could get my hands on.  Would
someone who REALLY KNOWS care to post a little something on the answers to
1)When does a button event occur (especially this situation: you wait for 1
   click, ending with the button DOWN.  Is it an event when the button is
   subsequently released)?
2)What button event requests wait for a possible double click before return-
   ing?  More to the point, which ones return immediately on press (or on up).
3)In what situations is it necessary to watch out for contact bounce when 
   looking at mouse button states?  What are mimimum adequate precautions?

As I said, my program works now, so I don't need the information right 
away.  But NEXT time I'll start just as badly off unless someone answers 
these questions (and probably some I haven't thought of).
                                  Steve J.
Technical Details
Message-ID: <7978@chinet.chi.il.us>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wasatch!cs.utexas.edu!tut.cis.ohio-state.edu!osu-cis!att!chinet!saj

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wasatch!cs.utexas.edu!tut.cis.ohio-state.edu!osu-cis!att!chinet!saj
From: saj@chinet.chi.il.us (Stephen Jacobs)
Newsgroups: comp.sys.atari.st
Subject: Button events
Keywords: Huh?
Message-ID: <7978@chinet.chi.il.us>
Date: 21 Mar 89 15:01:57 GMT
Organization: Chinet - Chicago, Ill.
Lines: 18