Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucbvax!AERO4.LARC.NASA.GOV!blbates From: blbates@AERO4.LARC.NASA.GOV ("Brent L. Bates AAD/TAB MS294 x42854") Newsgroups: comp.sys.sgi Subject: Re: qdevice and stuff......... Message-ID: <9003291546.AA09415@aero4.larc.nasa.gov> Date: 29 Mar 90 12:46:31 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 21 Nothing strange about that, that is the way it works. One entry for the key going down and one when the key is released. Same for mouse clicks. If you have the b key queued and you press the b key down then execute the following: dev=qread(val) dev will equal "bkey" and val will be 1 for key down. When you release the key dev will equal "bkey" and val will be 0 for key up. When I queue keys, I usually ignore the event if val is 0. At the moment the only time I check for a key up event is when it is a mouse button. -- Brent L. Bates NASA-Langley Research Center M.S. 361 Hampton, Virginia 23665-5225 (804) 864-2854 E-mail: blbates@aero4.larc.nasa.gov or blbates@aero2.larc.nasa.gov