[comp.sys.mac.programmer] PARAM question

mikeoro@hubcap.clemson.edu (Michael K O'Rourke) (07/12/89)

I know that in the old systems, back when IM 1&2 were new, the information for
mouse scaling, key repeat rate, etc. was stored in the system parameter ram. I
also know that you could get the values using GetSysPtr.  However, with the 
newer control panel devies, is all such info still in the parameter ram?

Actually, what i really need is the format of the information in parameter 
ram. i am assuming, i hope correctly, that the info regarding the SysParmType
record is outdated due to the new mouse CDEV, etc.  For instance, before
you could only set the mouse scaling on/off.  Now we have 4 levels, or
zillions of levels with the Pointing Device CDEV.  Where and in what format
is this new data stored?  I can't seem to find reference to it in IM 4/5.
Is it in some technote?

Thanx,
Michael O'Rourke

yahnke@vms.macc.wisc.edu (Ross Yahnke, MACC) (07/12/89)

In article <5975@hubcap.clemson.edu>, mikeoro@hubcap.clemson.edu (Michael K O'Rourke) writes...
>Actually, what i really need is the format of the information in parameter 
>ram. i am assuming, i hope correctly, that the info regarding the SysParmType
>record is outdated due to the new mouse CDEV, etc.  For instance, before
>you could only set the mouse scaling on/off.  Now we have 4 levels, or
>zillions of levels with the Pointing Device CDEV.  Where and in what format
>is this new data stored?  I can't seem to find reference to it in IM 4/5.
>Is it in some technote?

The Q & A Stack that Apple distributed to developers at the last
developer conference made mention of the parameter ram. For you, the
news is bleak, their attitude is that the p-ram is off-limits and
not to be touched. The philosophy behind this is that it is supposed
to be under user control, via the Control Panel, and not under
program control. If your strictly interested in "Mouse Management"
however, another note in the same stack does reveal how the mouse
is tracked and scaled, though I gather Apple doesn't like anybody
to actually make use of this hidden info, as their note discourages
it. 
////////////////////////////////////////////////////////////
 Internet: yahnke@macc.wisc.edu
 Phonenet: 608.262.8626
  Mailnet: 1210 W. Dayton St., Madison WI, 53706
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

mikeoro@hubcap.clemson.edu (Michael K O'Rourke) (07/12/89)

Someone sent me a response to my first question saying that apple discourages
people from letting there applications change control panel settings. This
is not really what i want to do, however, so please let me clarify why i want
this information so someone at Apple might be more willing to release it to 
me.

I am writing an init for computer labs.  This init is bundled with a program
which sends ATP packets to the machines booted with the init.  This system
will allow you to shutdown an entire lab in one swoop, reset all the dates 
and times, etc.  I also want it to be able to reset control panel settings so
that they are the same as the master machine from which the packets are sent. 
This will prevent people from having to go around and reset the mouse rate
or key repeat rate on every machine in a lab that has 40 or more machines.
As you can see, this is quite worthwile.

I agree wil the apple not wanting applications to reset such things, but i
think this is a totally different situation. 

Will that out of the way, here, once again, is my problem:

I know that in the old systems, back when IM 1&2 were new, the information for
mouse scaling, key repeat rate, etc. was stored in the system parameter ram. I
also know that you could get the values using GetSysPtr.  However, with the 
newer control panel devies, is all such info still in the parameter ram?

Actually, what i really need is the format of the information in parameter 
ram. i am assuming, i hope correctly, that the info regarding the SysParmType
record is outdated due to the new mouse CDEV, etc.  For instance, before
you could only set the mouse scaling on/off.  Now we have 4 levels, or
zillions of levels with the Pointing Device CDEV.  Where and in what format
is this new data stored?  I can't seem to find reference to it in IM 4/5.
Is it in some technote?

Thanx,
Michael O'Rourke