MM_JOY1MOVE
The
MM_JOY1MOVE message notifies the window that has captured joystick JOYSTICKID1
that the joystick position has changed.
MM_JOY1MOVE
fwButtons = wParam;
xPos = LOWORD(lParam);
yPos = HIWORD(lParam);
Parameters
fwButtons
Identifies
the buttons that are pressed. It can be one or more of the following values:
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. |
xPos
The
x-coordinates of the joystick relative to the upper left corner of the client
area.
yPos
The
y-coordinate of the joystick relative to the upper left corner of the client
area.