MM_JOY2MOVE

This message is sent to the window that has captured joystick 2 when the joystick position changes.

Parameters

WORD wParam

Indicates which joystick buttons are pressed. It can be any combination of the following values:

JOY_BUTTON1

Set if first joystick button is pressed.

JOY_BUTTON2

Set if second joystick button is pressed.

JOY_BUTTON3

Set if third joystick button is pressed.

JOY_BUTTON4

Set if fourth joystick button is pressed.

DWORD lParam

The low-order word contains the current x-position of the joystick. The high-order word contains the current y-position.

Return Value

None

See Also

MM_JOY2ZMOVE