[comp.sys.mac.programmer] Mouse Global Variables and Cursor Movement

mkanada@uhunix1.uhcc.Hawaii.Edu (Michael M. Kanada) (09/19/90)

Howzit,
   I want to write a program that will take external input
to drive the cursor.  I the input will be some form of serial
data.

   I think the program has to be in the form of a serial driver
or a patched in INIT.  I'm not sure.  Any suggestions?

   Also, I have seen the source code for an INIT called
"Auto Cruise" and the authors make use of the mouse global
variables MTemp, RawMouse, and Mouse.  Can anyone explain how
these globals are supposed to be used?

   By the way, "Auto Cruise" is an INIT and is written in assembly.
The only information I have that will help me understand these global
variables are the comments included in the source code.

   The types of instructions are as follows:
       move.l     RawMouse,D0  ; Get the unprocessed mouse coordinate
                       .
                       .
                       .
       move.l     D0, Mouse    ; processed mouse
                       .
                       .
                       .
                      etc.

   Mahalo for you kokua!!!
       Mike


Howzit = Hello in Hawaiian (actually just bad English for "How is it")
Mahalo = Thank you in Hawaiian
Kokua = Help in Hawaiian

P.S.  My email address:  mkanada@uhunix.uhcc.Hawaii.Edu