#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.
08/04/2005 Modified C Specification.
08/01/2005 Initial version.
CONFIDENTIAL