delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/02/26/10:25:16

From: "R. Glashan" <ross AT botwars DOT net>
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: <Pine DOT SUN DOT 3 DOT 91 DOT 1010226084339 DOT 21073E-100000 AT is>
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 <eliz AT is DOT elta DOT co DOT il> 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.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019