An older document [1985 Bios] refers to mouse buttons, which is an alternate idea.. (11) kbshift LONG kbshift(mode) WORD mode; If 'mode' is non-negative, sets the keyboard shift bits accordingly and returns the old shift bits. If 'mode' is less than zero, returns the IBM-PC compatible state of the shift keys on the keyboard, as a bit-vector in the low byte of D0. Bit assignments are: 0 Right shift key 1 Left shift key 2 Control key 3 ALT key 4 Caps-lock 5 Right mouse button (CLR/HOME) 6 Left mouse button (INSERT) 7 (reserved, currently zero) From: mw333@hotmail.com To: miro.kropacek@gmail.com; joska@online.no CC: mint@lists.fishpool.fi Subject: Re: [MiNT] patch:MiNT:keyboard Date: Tue, 22 Jun 2010 16:30:54 +0100 > Date: Tue, 22 Jun 2010 16:05:53 +0200 > Subject: Re: [MiNT] patch:MiNT:keyboard > From: miro.kropacek@gmail.com > To: joska@online.no > CC: mint@lists.fishpool.fi > > > I can't recall ever reading that Kbshift returns the status of Home and > > Insert > Compendium says so. > A google search came up with: http://cd.textfiles.com/ataricompendium/BOOK/HTML/BIOS.HTM#kbshift2 K_CLRHOME 0x20 Clr/Home key depressed K_INSERT 0x40 Insert key depressed Still not as definitive as having a machine in front of you.. Matt. > -- > MiKRO / Mystic Bytes > http://mikro.atari.org > > Get a free e-mail account with Hotmail. Sign-up now. Get a new e-mail account with Hotmail - Free. Sign-up now. |