PADButtonUp

Syntax

#include <revolution/pad.h>

#define PADButtonUp(buttonLast, button)     \
    (((buttonLast) ^ (button)) & (buttonLast))

Arguments

buttonLast Previous button status returned in PADStatus by using PADRead.
button Current button status returned in PADStatus by using PADRead.

Return Values

OR logic value for pad button bits of buttons just released.

Description

This function verifies whether button(s) have been released.

See Also

PADButtonDown, PADInit, PADRead, PADStatus

Revision History

2006/03/01 Initial version.


CONFIDENTIAL