Microsoft SDK for Java

getPos

This method of the DirectInput Class queries a joystick for its position and button status.

Syntax

public void getPos(int joyid, JoyInfo info);

Parameters

joyid The joystick identifier.
info The JoyInfo object that contains extended position information and button status of the joystick.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.