From: "R. Glashan" Newsgroups: comp.os.msdos.djgpp Subject: Re: Scroll Wheels in Dos. Date: Mon, 26 Feb 2001 16:21:17 +0100 Organization: XS4ALL Internet BV Lines: 26 Message-ID: <97ds5q$hfo$1@news1.xs4all.nl> References: NNTP-Posting-Host: a194-109-254-68.adsl.xs4all.nl X-Trace: news1.xs4all.nl 983200762 17912 194.109.254.68 (26 Feb 2001 15:19:22 GMT) X-Complaints-To: abuse AT xs4all DOT nl NNTP-Posting-Date: 26 Feb 2001 15:19:22 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Now I am really confused. I have found that my mouse wheel when rotated up, getch() returns145, and when rotated down, getch() returns 141. What are these characters, and why? Ross Eli Zaretskii wrote in message news:Pine DOT SUN DOT 3 DOT 91 DOT 1010226084339 DOT 21073E-100000 AT is... > > On Sun, 25 Feb 2001, florianx wrote: > > > FreeDOS mouse driver CTMOUSE at http://www.vein.hu/~nagyd/ > > > > "Added support for serial Microsoft Whell/Intellimouse protocol, wheel > > interpreted as third button " > > Does it also report the wheel events as such? The wheel serves both > as the third button, when you click it, and as a wheel, when you > rotate it. These two must be reported differently, or else programs > which use them will not be able to support the scrolling when you > rotate the wheel.