Skip to content

ODStatAddKey()

Adds a custom local sysop key for the current personality.

Synopsis

void ODStatAddKey(WORD wKeyCode);

wKeyCode is an IBM scan-code/ASCII-code key value. OpenDoors can hold up to 16 custom keys; this legacy procedure does not report overflow. Handle the key under PEROP_CUSTOMKEY and remove it with ODStatRemoveKey() during deinitialization.