Xref: utzoo comp.sys.mac.hypercard:1343 comp.sys.mac.programmer:3460 Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!rochester!pt.cs.cmu.edu!zog.cs.cmu.edu!tgl From: tgl@zog.cs.cmu.edu (Tom Lane) Newsgroups: comp.sys.mac.hypercard,comp.sys.mac.programmer Subject: Re: Reaction Time stacks : can I do this? Message-ID: <3820@pt.cs.cmu.edu> Date: 8 Dec 88 19:14:11 GMT References: <6012@mva.cs.liv.ac.uk> <21792@apple.Apple.COM> <21826@apple.Apple.COM> Organization: Carnegie-Mellon University, CS/RI Lines: 22 In article <21826@apple.Apple.COM>, dan@Apple.COM (Dan Allen) writes: > [Use the Time Manager to get millisecond timing of keyboard events.] I may be mistaken, but I thought that keyboard & mouse sensing was done by the vertical retrace routines (in order to do debouncing conveniently). This would imply that keyboard/mouse events would be posted at 1/60th second intervals. Hence hacking around with the Time Manager to get a millisecond time base will buy you nothing: the events you are interested in are only reported to 1/60th second accuracy anyway. You might be able to get around this by making a Time Manager-driven ISR that directly interrogates the hardware, but that would mean you'd have to do your own debouncing etc. You'd also have a substantial risk of interfering with the normal system input routines. -- tom lane Internet: tgl@zog.cs.cmu.edu UUCP:!zog.cs.cmu.edu!tgl BITNET: tgl%zog.cs.cmu.edu@cmuccvma --