[comp.sys.amiga.tech] Filtering keyboard repeats in IDCMPs

mplevine@phoenix.Princeton.EDU (Marshall P. Levine) (02/09/90)

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