#include <revolution/pad.h>
#define PADButtonUp(buttonLast, button) \
(((buttonLast) ^ (button)) & (buttonLast))
buttonLast |
Previous button status returned in PADStatus using PADRead. |
button |
Current button status returned in PADStatus using PADRead. |
OR logic value for pad button bits of buttons just released.
This function verifies whether a button or buttons have been released.
Controller Functions, PADButtonDown, PADInit, PADRead, PADStatus
03/01/2006 Initial version.