🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #22161

Mouse Scaling

#22161
From: Charles Edward Batey, Jr.
Date: Wed, 16 Dec 1987 18:28
35 lines
1793 bytes

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
Technical Details
Message-ID: <YVlh2ry00Ugyo5g0-e@andrew.cmu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!rochester!PT.CS.CMU.EDU!andrew.cmu.edu!cb2o+

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!rochester!PT.CS.CMU.EDU!andrew.cmu.edu!cb2o+
From: cb2o+@andrew.cmu.edu (Charles Edward Batey, Jr.)
Newsgroups: comp.sys.mac
Subject: Mouse Scaling
Message-ID: <YVlh2ry00Ugyo5g0-e@andrew.cmu.edu>
Date: 16 Dec 87 18:28:07 GMT
Organization: Carnegie Mellon University
Lines: 35