Installing a Keyloop Function

To install your keyloop function, use the set environment keyloop function, se_keyloop():

void se_keyloop(funcp)

int funcp;            /* Keyloop function to install            */

The function specified in the call becomes the keyloop function that is called whenever ki() has to wait for keyboard input.

To remove the keyboard loop function, call se_keyloop() passing a NULLFP as the argument. For example:

se_keyloop(NULLFP);


Home Contents Previous Next