#include <revolution/wpad.h> #define WPADButtonUp( buttonLast, button ) \ ( (u16) (((buttonLast) ^ (button)) & (buttonLast)) )
| buttonLast | The previous button status. |
|---|---|
| button | The most recent button status. |
The logical sum of pad button bits for standard controller buttons just released.
This function verifies whether button(s) have been released.
None.
2005/08/04 Revised the Syntax.
2005/08/01 Initial version.
CONFIDENTIAL