# PAD Struct Reference

`#include <woopsifuncs.h>`

List of all members.

## Public Attributes
union {
struct {
u16 A:1
u16 B:1
u16 Select:1
u16 Start:1
u16 Right:1
u16 Left:1
u16 Up:1
u16 Down:1
u16 R:1
u16 L:1
u16 X:1
u16 Y:1
u16 Touch:1
u16 Lid:1
} |
u16 AllKeys
}; |

## Detailed Description

Structure to hold the status of the DS' control buttons.

## Member Data Documentation

u16 PAD::A

A button

u16 PAD::AllKeys

Bitmask representing entire control

u16 PAD::B

B button

u16 PAD::Down

Down d-pad

u16 PAD::L

L button

u16 PAD::Left

Left d-pad

u16 PAD::Lid

Lid state

u16 PAD::R

R button

u16 PAD::Right

Right d-pad

u16 PAD::Select

Select button

u16 PAD::Start

Start button

u16 PAD::Touch

Stylus touch

u16 PAD::Up

Up d-pad

u16 PAD::X

X button

u16 PAD::Y

Y button

The documentation for this struct was generated from the following file:

- C:/Documents and Settings/Administrator/Desktop/woopsi-src-0.40/Woopsi/libwoopsi/include/woopsifuncs.h