MM_JOY2ZMOVE message

The MM_JOY2ZMOVE message notifies the window that has captured joystick JOYSTICKID2 that the joystick position on the z-axis has changed.

MM_JOY2ZMOVE 
fwButtons = wParam; 
zPos = LOWORD(lParam); 

Parameters

fwButtons

Identifies the buttons that are pressed. It can be one or more of the following values.

Requirement Value
JOY_BUTTON1 First joystick button is pressed.
JOY_BUTTON2 Second joystick button is pressed.
JOY_BUTTON3 Third joystick button is pressed.
JOY_BUTTON4 Fourth joystick button is pressed.

zPos

The z-coordinate of the joystick.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Mmsystem.h (include Windows.h)

See also

Joysticks

Multimedia Joystick Messages