Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 18 - QuickDraw 3D Pointing Device Manager / QuickDraw 3D Pointing Device Manager Reference
QuickDraw 3D Pointing Device Manager Routines / Creating and Managing Controllers


Q3Controller_SetValues

You can use the Q3Controller_SetValues function to set the list of values of a controller.

TQ3Status Q3Controller_SetValues (
TQ3ControllerRef controllerRef, 
const float *values, 
unsigned long valueCount);
controllerRef
A reference to a controller.
values
A pointer to an array of controller values. The size of the array is determined by the number of elements in the array (as specified by the valueCount parameter) and the size of a controller value (which is controller-dependent).
valueCount
The number of elements in the array pointed to by the values parameter.
DESCRIPTION
The Q3Controller_SetValues function copies the data specified in the values parameter into the value list of the controller specified by the controllerRef parameter. Q3Controller_SetValues copies the number of elements specified by the valueCount parameter.

SPECIAL CONSIDERATIONS
In general, you need to use this function only if you are writing a device driver for a controller.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help