In article <fo3p525s1gfpheg99qnh4ppfpqp64ua7sb@[EMAIL PROTECTED]
>, friol
<no@[EMAIL PROTECTED]
> wrote:
> Hello.
>
> Is there an OS API to set mouse cursor acceleration (as from the
> control panel) on an old System 7 macintosh (mac SE/30)?
> I am using Apple's MPW and c++.
>
> Thanks.
>
>
From "Universal Headers".... filename = "CursorDevices.h"...
would one of these work, maybe?
/*
* CursorDeviceSetAcceleration()
*
* Availability:
* Non-Carbon CFM: not available
* CarbonLib: not available
* Mac OS X: not available
*/
EXTERN_API( OSErr )
CursorDeviceSetAcceleration(
CursorDevicePtr ourDevice,
Fixed acceleration)
TWOWORDINLINE(0x7008, 0xAADB);
/*
* CursorDeviceDoubleTime()
*
* Availability:
* Non-Carbon CFM: not available
* CarbonLib: not available
* Mac OS X: not available
*/
EXTERN_API( OSErr )
CursorDeviceDoubleTime(
CursorDevicePtr ourDevice,
long durationTicks)
TWOWORDINLINE(0x7009, 0xAADB);
/*
* CursorDeviceUnitsPerInch()
*
* Availability:
* Non-Carbon CFM: not available
* CarbonLib: not available
* Mac OS X: not available
*/
EXTERN_API( OSErr )
CursorDeviceUnitsPerInch(
CursorDevicePtr ourDevice,
Fixed resolution)
TWOWORDINLINE(0x700A, 0xAADB);
Dez


|