WPADButtonUp

Syntax

#include <revolution/wpad.h>

#define WPADButtonUp( buttonLast, button )     \
( (u16) (((buttonLast) ^ (button)) & (buttonLast)) )

Arguments

buttonLast The previous button status.
button The most recent button status.

Return Values

The logical sum of pad button bits for standard controller buttons just released.

Description

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

See Also

None.

Revision History

2005/08/04 Revised the Syntax.
2005/08/01 Initial version.


CONFIDENTIAL