From: MagerValp (MagerValp_at_cling.gu.se)
Date: 2002-12-12 18:51:08
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. The C64 and VIC-20 don't have escape keys, but in this case I'll also check for stop (^C, ascii 3). Any thoughts? PS: in the unlikely event that anyone's using simplemenu for a project, in 1.1 SelectMenu() will return 0 if you press escape, so don't use this id for your entries. -- ___ . . . . . + . . o _|___|_ + . + . + . Per Olofsson, arkadspelare o-o . . . o + MagerValp_at_cling.gu.se - + + . http://www.cling.gu.se/~cl3polof/ ---------------------------------------------------------------------- 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 18:52:58 CET