delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/14/09:16:46

Date: Thu, 14 Oct 1999 10:56:06 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: hank_heng AT hotmail DOT com
cc: djgpp AT delorie DOT com
Subject: Re: How to change mouse Speed
In-Reply-To: <7u3ant$lk6$1@nnrp1.deja.com>
Message-ID: <Pine.SUN.3.91.991014105542.26124P-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 14 Oct 1999 hank_heng AT hotmail DOT com wrote:

>   Is there anyway to change the mouse speed in DJGPP ? I saw some
> program does this but I don't really know how to write the code to do
> it.

I'm not sure I understand what do you mean by ``change the mouse
speed''.  There's function 13h of Interrupt 33h that defines the
double-speed threshold: if that speed is exceeded, the mouse pointer
on screen doubles its speed.  Then, there's function 0Fh that sets the
speed as mickey-to-pixel ratio.  There's also function 1Ah that can
set both.  Finally, there's function 2Ch that sets the so-called
``mouse acceleration profile'' and function 2Dh that selects a profile.

>   And, is there posible to change the look of the mouse pointer instead
> using the normal BLOCK type into some other ASCII character ?

Yes, you can, but then the mouse pointer will conceal the character
that's under it.  Use function 0Ah of Interrupt 33h to do this.

- Raw text -


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