Ktpgetjoystickpos – Rockwell Automation 2727-MRSDK MobileView Terminals Software Development Kit User Manual User Manual

Page 33

Advertising
background image

Publication 2727-UM004B-EN-P - February 2004

SDK (Software Development Kit) for MobileView Terminals 4-9

KtpGetJoystickPos

Table 4.20

Declaration:

Visual C:

UINT8 KtpGetJoystickPos (/*[out]*/TKtpJoystickPos *p_jPos);

Description:

Gets the current joystick position.

Arguments

TKtpJoystickPos structure. Each component in the structure may
only range between -15 and 15.

Remarks

Calling this function is only allowed if a joystick is installed on
the device. If no joystick is installed the values of the components
are undefined.

Advertising