Re: [cc65] conio - keyboard repeat

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2002-12-11 17:42:06


On Wed, Dec 11, 2002 at 03:01:13AM +0100, Groepaz wrote:
> but then its kinda hard to restore the original state...mmmmhh, so then that
> MUST be done in module destructor.

Using a module descructor is not only the easiest and safest way to do it, it
is also the shortest, since the only overhead (besides the routine itself) is
a two byte pointer in a linker generated table.

> i still like the "some keys" thing better though, since ppl would get the
> standard behaviour they are used to in any editor-type of routine. (and imho
> thats a much more regular use than one were a "no repeat" behavior would be
> better).

I don't think this is a problem, since in an input field (or similar) keyboard
repeat mode can be switched on for all keys.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-12-11 17:43:05 CET