#include <revolution/wpad.h>
#define WPADButtonDown( buttonLast, button ) \
((u16) (((buttonLast) ^ (button)) & (button)))
buttonLast |
The previous button status. |
button |
The most recent button status. |
The logical sum of pad button bits for standard controller buttons being pressed.
This function verifies whether button(s) are being pressed.
2005/08/01 Initial version.
CONFIDENTIAL