From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2002-12-12 19:39:35
On Thu, Dec 12, 2002 at 06:51:08PM +0100, MagerValp wrote: > I'm adding support for escape keys in simplemenu, but the CH_ESC > definitions are a bit weird. > > On the Atari and Apple II it's 0x1b (27), which I assume is correct. > In cbm.h it's defined to 95..? The PET, Plus/4, and C128 escape keys > return ascii 27. 95 is the code for the left arrow character - the standard symbol for the escape code (which is also printed on the escape key of some machines). So I'm pretty sure I got this wrong when putting together the key list in cbm.h. > The C64 and VIC-20 don't have escape keys, but in > this case I'll also check for stop (^C, ascii 3). The left arrow symbol is the standard symbol for escape, so I would say this key *is* the escape key for the C64 and VIC20. The best solution would probably be to move the definition for CH_ESC in the system specific files and make it 0x03 or 0x1B respectively. Or do we need to distinguish between these keys somehow? 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.
This archive was generated by hypermail 2.1.3 : 2002-12-12 19:39:47 CET