delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/14/12:05:25

From: DavMac AT iname DOT com (Davin McCall)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Mice problems..
Date: Mon, 14 Jun 1999 05:36:56 GMT
Organization: Monash Uni
Lines: 50
Distribution: world
Message-ID: <376494b7.9299516@newsserver.cc.monash.edu.au>
References: <3761912B DOT 933595F8 AT geocities DOT com> <376257F4 DOT CDC9A4AA AT hitech DOT net DOT au>
NNTP-Posting-Host: damcc5.halls.monash.edu.au
X-Trace: towncrier.cc.monash.edu.au 929338581 28990 130.194.198.138 (14 Jun 1999 05:36:21 GMT)
X-Complaints-To: abuse AT monash DOT edu DOT au
NNTP-Posting-Date: 14 Jun 1999 05:36:21 GMT
X-Newsreader: Forte Free Agent 1.1/32.230
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Actually, the "mickey" is a unit which is the smallest measurable
movement distance of the mouse. The exact distance may depend on the
mouse.

The term "mickey" comes from the Walt Disney character "Mickey Mouse".

Davin.

On Sat, 12 Jun 1999 22:52:05 +1000, leroy <leroy AT hitech DOT net DOT au> wrote:

>The x and y mickeys are the distance the mouse has gone since the last call
>of that function.  This is used for stuff like First Person games where a
>mouse is used, to stuff like racing games and steering.
>
>Cheers,
>
>leroy.
>
>
>Sahab Yazdani wrote:
>
>> Wow.. I've come a long way since December, my programming skills have
>> increased ten-fold.  Yet still the pesky mouse avoids my trapping
>> abilities....
>>
>> I have written a mouse event handler library (in C++) to control the
>> mouse.  The weird thing is that the code seems to work (no GPFs) but it
>> just doesn't do the write thing.   It grabs some registers (AX, BX, CX,
>> DX, SI, DI )
>>
>> AX = Event Bit
>> BX = Button (left, right, centre)
>> CX = X coord;
>> DX = Y coord;
>> SI = x mickeys (even though I have no clue WTF this is)
>> DI = y mickeys (same goes for this one)
>>
>> anyways it grabs em puts em in a structure and when I reference any of
>> them they give the (I'm supposing) right values.  Yet the X coord value
>> is always a constant of 640!!! This makes it very wierd because the
>> cursor goes up and down but it doesn't go left and right!!
>>
>> Anyways its screwed and any help would be greatly appreaciated...
>> If you want the code please post back to the message, as I don't check
>> my mail very often...
>

__________________________________________________________
       *** davmac - sharkin'!! davmac AT iname DOT com ***
my programming page: http://yoyo.cc.monash.edu.au/~davmac/

- Raw text -


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