delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/07/13:17:11

Message-ID: <35CB33C9.3A7B4C2@mail.bip.net>
From: Conan <Dr DOT Conan AT mail DOT bip DOT net>
Reply-To: Dr DOT Conan AT Technologist DOT com
Organization: Apocalypse Inc.
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: My mouse moves 4 pixels per click!!
References: <35C89877 DOT FA4426BE AT mail DOT bip DOT net> <6qekof$f4b$1 AT wapull DOT telstra DOT net>
Lines: 22
Date: Fri, 07 Aug 1998 17:07:57 GMT
NNTP-Posting-Host: 130.244.172.30
NNTP-Posting-Date: Fri, 07 Aug 1998 19:07:57 MET DST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Jason Crannage wrote:

> btw can you send me the mouse code so i can have a look
> manorak AT hotmail DOT com
> Conan wrote in message <35C89877 DOT FA4426BE AT mail DOT bip DOT net>...
> >My mouse moves 4 pixels per click!!
> >Whitch function of  interupt 33h fixxes this and with what options?!?
>
> >(I use VESA video mode 101h  640*480)
> >
> >
> >

 I solved the problem by multiplying the "movement area" by 4 and then
divide the mouse coordinates by 4 before using them!

(This caused another problem, the mouse was too slow. Even with the
highest sensitivity. But like magic this problem solved itself! I didn't
even recompile the code, one day the .exe just worked!)

Thanx for your time!/Conan

- Raw text -


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