Topic : The ATARI Compendium
Author : Scott Sanders / JAY Software
Version : 1.25 (20/6/2003)
Subject : Documentation
Nodes : 1117
Index Size : 32614
HCP-Version : 6
Compiled on : Atari
@charset : UTF-8
@lang : en
@default :
@help : %About
@options : +g -i -t4 +y +z
@width : 100
View Ref-FileXCONTROL Callback Functionscpx_key() XCONTROLSyntaxVOID (*cpx_key)( kstate, key, event )
WORD kstate;
WORD key;
WORD *event;
Function cpx_key() is called in an Event CPX when a MU_KEYBD event
has occurred.
Parameters kstate specifies the state of the keyboard shift keys as in
evnt_keybd(). key specifies the keyboard scan code of the
key struck. The WORD pointed to by event should be filled in
with a 1 if this event should terminate the CPX.
Binding cpxinfo.cpx_key = cpx_key;
return ( &cpxinfo );
Comments This function will only be called if Set_Evnt_Mask() is
called with MU_KEYBD specified as an event to wait for.
Group XCONTROL Callback Functions