Re: [cc65] conio - keyboard repeat

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2002-12-10 12:17:15


On Tue, Dec 10, 2002 at 12:57:18PM +0100, Groepaz wrote:
> i think something like crepeat() and cnorepeat() - or a function that takes a
> flag as in crepeat(0) vs crepeat(1) would be kinda useful, 

I would favour the crepeat(onoff) function but name it kbdrepeat. As with
textcolor and friends, it should return the old setting, so a program is able
to restore the original state (if it chooses to). So it would be something like

        unsigned char __fastcall__ kbdrepeat (unsigned char onoff);
        /* Switch keyboard repeat mode on or off, return the old value */

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-10 12:17:19 CET