18 Managing Controller States

18 Q3ControllerState_New

You can use the Q3ControllerState_New function to create a new controller state object.

TQ3ControllerStateObject Q3ControllerState_New (
TQ3ControllerRef controllerRef);
controllerRef
A reference to a controller.

DESCRIPTION


The Q3ControllerState_New function returns, as its function result, a reference to a new controller state object for the controller specified by the controllerRef parameter. You need to call Q3ControllerState_SaveAndReset to actually fill in the new controller state object with the current channels. If Q3ControllerState_New cannot create a new controller state object, it returns NULL.

DESCRIPTION

3D Graphics Programming with QuickDraw 3D - 21 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker