Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!usc!sdsu!ncr-sd!fiddler!martins From: martins@fiddler.SanDiego.NCR.COM (Martin Sandman) Newsgroups: comp.lang.pascal Subject: Re: turbo pascal / mouse polling Keywords: pascal mouse Message-ID: <2481@ncr-sd.SanDiego.NCR.COM> Date: 5 Feb 90 16:54:25 GMT References: <518@opus.NMSU.EDU> Sender: news@ncr-sd.SanDiego.NCR.COM Reply-To: martins@fiddler.SanDiego.NCR.COM (Martin Sandman) Organization: NCR Corporation, Rancho Bernardo Lines: 11 The mouses sends cursor values of up, down, left, right as extended codes; that is, ReadKey sends a zero and then an H, P, K, R for up, down, left, right. The right mouse button is an escape [char(27)]; the middle button is an enter (char[13]); and the left one sends an F1 and opens a pop-up menu that has F1 thru F10, /, and ?. The F1 - F10 are also two-character extented codes like the arrow keys; after the zero you get 59 thru 68. -- Martin ______________________________________________________________________ = UUCP: sdcsvax!ncr-sd!fiddler!martins Martin D. Sandman = = NCR: Martin.Sandman@SanDiego.NCR.COM NCR Corporation = = Phone: (619) 485-3554 16550 West Bernardo Dr.=