Returns the position where the trigger of Gun Peripheral is pressed.

Prototype declaration:


KMSTATUS KMAPI
kmGetGunTriggerPos(
		OUT PKMDWORD     pHPos,
		OUT PKMDWORD     pVPos
);

Description:

This function returns the position where the trigger of Gun Peripheral is pressed.
Parameters:
pHPos(output)
        Horizontal position from H-blank OUT

pVPos(output)
        Vertical position from V-blank OUT
Return values:
Value Explanation
KMSTATUS_SUCCESS Success