[comp.sys.mac] Mouse Scaling

cb2o+@andrew.cmu.edu (Charles Edward Batey, Jr.) (12/17/87)

I need some help with a procedure I'm trying to write that will
change the mouse scaling on a Mac Plus/SE.  What I want to do is be
able to alter the maximum "speed" that the mouse can move across the
screen -- like the control panel does except I need to override the
previous panel setting.  I need a speed somewhere between the
"Tablet" setting in the control panel and the the slowest of the
other 4 settings.

  I have tried using Parameter RAM, but after changing the mouse
scaling bit to 0 it didn't seem to have an effect.  Why?

  I also know some of the addresses of cursor related variables (i.e.
I know how to disconnect the cursor from the hardware, move the
cursor to any point, restrain the cursor, etc.)  I have an address to
the "cursor threshhold", which seems to have something to do with the
mouse scaling but I can't figure out how it works.

  While I'm here, another problem I'm having deals with resources.
I'm sure there's a really simple answer but I don't know what it is.
I can't seem to get the addresource procedure to work.  I've even
read in a resource with getresource and the used that handle in the
addresource procedure and used a different ID number but it still
didn't make a new resource.

  Any help would be greatly appreciated.
  Note :  I use the Turbo Pascal compiler.

                                  
  Thanks,
  
  Ted Batey
  MUG Vice President
  Carnegie-Mellon University