Mail Archives: djgpp/1999/06/14/12:05:25
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 -