Function:cs2srcb
From S2PLOT
cs2srcb
Register when remote control data is received.
Prototype
void cs2srcb(void *remcb);
Description
Register function that is called when remote control data comes in eg. from is2remote running on a wireless iPod touch. This function can consume the event (by returning 1) to prevent further (built-in) handling by S2PLOT.
See Also
s2disp | Draw the scene, but return control when a timeout occurs or when shift-ENTER is pressed. |
s2show | Draw the scene and enter interactive mode if interactive is non-zero. |
Sample Code
Back to S2PLOT function list.
Back to template page.