WPADButtonUp

C Specification

#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

WPAD Functions

Revision History

08/04/2005 Modified C Specification.
08/01/2005 Initial version.


CONFIDENTIAL