Previous Book Contents Book Index Next

Inside Macintosh: Apple Game Sprockets Guide /
Chapter 3 - InputSprocket / InputSprocket Reference
InputSprocket Functions / Configuring the Application


ISpConfigure

You can use the ISpConfigure function to generate a modal window where the user can match device elements with the game's input requirements.

OSStatus ISpConfigure  (ISpEventProcPtr inEventProcPtr);
inEventProcPtr
A pointer to an application-supplied function for handling update events.
function result
A result code.
DESCRIPTION
When you call ISpConfigure, InputSprocket generates a modal window where the user can choose device elements to meet game input requirements. This allows the user to modify the autoconfiguration. You pass the function a pointer to an application-supplied procedure for handling events. If an event happens that the game needs to deal with, it can handle the event and return true. If it does not handle the event, it returns false. When the ISpConfigure call returns, the reconfiguring process is completed and any changes are saved to disk.

CALLING RESTRICTIONS
Do not call during interrupt time.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996