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 callISpConfigure
, 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 returntrue
. If it does not handle the event, it returnsfalse
. When theISpConfigure
call returns, the reconfiguring process is completed and any changes are saved to disk.CALLING RESTRICTIONS
Do not call during interrupt time.