Mail Archives: djgpp/1999/10/14/09:16:46
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 -