Rockwell Automation 2727-MRSDK MobileView Terminals Software Development Kit User Manual User Manual
Page 45
![background image](/manuals/580134/45/background.png)
Publication 2727-UM004B-EN-P - February 2004
SDK (Software Development Kit) for MobileView Terminals 4-21
KtpInstallJoyEventCallback
KtpRemoveJoyEventCallback
Table 4.49
Declaration:
Visual C:
UINT8 KtpInstallJoyEventCallback (/*in*/ TktpJoyEventCallback
pJoyProc, /*out*/ int *cookie);
Visual Basic:
function not implemented
Description:
Subscribes a callback function for the JoystickEvent and returns
an index (cookie) for the callback function.
Arguments:
TktpJoyEventCallback pJoyProc: callback function to be called
when the event occurs.
int cookie The index for the callback function is required for
removing the callback function.
Table 4.50
Declaration:
Visual C:
UINT8 KtpRemoveJoyEventCallback (int cookie);
Visual Basic:
function not implemented
Description:
Removes the JoyEventCallback function.
Arguments:
int cookie: index for the callback function.