Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!husc6!uwvax!astroatc!nicmad!madnix!aaron From: aaron@madnix.UUCP (Aaron Avery) Newsgroups: comp.sys.amiga.tech Subject: Re: RAWKEYS question Message-ID: <472@madnix.UUCP> Date: 8 Feb 89 09:23:09 GMT References: <685@cord.UUCP> Reply-To: aaron@madnix.UUCP (Aaron Avery) Distribution: na Organization: ASDG Incorporated Lines: 21 Intuition gets its RAWKEY events from the input.device. The input.device is responsible for key repeat. Therefore, you will receive messages at your IDCMP port for auto-repeated keystrokes (with the REPEAT qualifier set). For your needs, I'd suggest using the keyboard.device directly. However, if the input.device is still in use, the key repeat overhead will still probably slow you down a bit, minus the extra message passing overhead for getting it to your IDCMP port. Another thing you can do is to mess with the input.devices key repeat timeouts. You can set up the key repeat delay and speed ala Preferences by sending a couple of messages to it. These changes are global, but you can always put them back when you're through. I'd suggest a key repeat delay of -1 seconds. I suppose this could be better, since you can still handle all of your input related events from the one IDCMP port, but be sure to put things back to normal whenever other things could be getting input from the keyboard. -- Aaron Avery, ASDG Inc. "A mime is a terrible thing to waste." -- Robin Williams ARPA: madnix!aaron@cs.wisc.edu {uunet|ncoast}!marque! UUCP: {harvard|rutgers|ucbvax}!uwvax!astroatc!nicmad!madnix!aaron