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