The MM_JOY1BUTTONUP message notifies the window that has captured joystick JOYSTICKID1 that a button has been released.
MM_JOY1BUTTONUP
fwButton = wParam;
xPos = LOWORD(lParam);
yPos = HIWORD(lParam);
JOY_BUTTON1CHG | First joystick button has changed state. |
JOY_BUTTON2CHG | Second joystick button has changed state. |
JOY_BUTTON3CHG | Third joystick button has changed state. |
JOY_BUTTON4CHG | Fourth joystick button has changed state. |
and one or more of the following:
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. |
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in mmsystem.h.
Joysticks Overview, Multimedia Joystick Messages