Article View: comp.sys.amiga.tech
Article #13573Filtering keyboard repeats in IDCMPs
From: Marshall P. Levine
Date: Thu, 08 Feb 1990 21:20
Date: Thu, 08 Feb 1990 21:20
11 lines
1132 bytes
1132 bytes
I am writing a game which needs input from the keyboard through an IDCMP. Well, I guess that I could get around the IDCMP, but I would rather not. The problem is that if a key is held, the keyboard starts sending repeat codes for that key. This tends to waste valuable cycles when processing the IDCMP's queue. Is there some way to shut off the keyboard repeat for only one window or prevent the IDCMP from receiving messages with the REPEAT qualifier? I would like to avoid receiving them in the first place. Thanks. -- Marshall Levine
Technical Details
Message-ID:
<13714@phoenix.Princeton.EDU>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!usc!jarthur!uci-ics!ucla-cs!rutgers!njin!princeton!phoenix!mplevineShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!usc!jarthur!uci-ics!ucla-cs!rutgers!njin!princeton!phoenix!mplevine From: mplevine@phoenix.Princeton.EDU (Marshall P. Levine) Newsgroups: comp.sys.amiga.tech Subject: Filtering keyboard repeats in IDCMPs Summary: I need help preventing a deluge of repeated keycodes in IDCMPs Message-ID: <13714@phoenix.Princeton.EDU> Date: 8 Feb 90 21:20:17 GMT Reply-To: mplevine@phoenix.Princeton.EDU (Marshall P. Levine) Organization: Computer Science Department, Princeton University Lines: 11