6.1 Implementing Custom Actions
typedef struct { short paramc; Ptr *params; short eventRef; short putUpByEvent; short trial; } PSYXActionParams;
short paramc; In - The number of parameters.The PSYX should use this information to execute the action. The parameters in params were previously passed out byPtr *params; In - An array of pointers to parameters, previously passed out by the PSYX in response to
pGetProcParams
.short eventRef; In - The event which the action is "Active Until".
short putUpByEvent; In - The event which the action belongs to.
short trial; In - The current trial.
pGetProcParams
. If for any reason it needs to know the event that put it up, the event that will take it down, or the current trial, that information is provided.
Generated with CERN WebMaker