Woopsi 1.0
GUI Framework for Nintendo DS Homebrew
Public Attributes

PAD Struct Reference

#include <woopsifuncs.h>

List of all members.

Public Attributes

__pad0__:/Woopsi/libwoopsi/include/woopsifuncs.h" 2"C:/Woopsi/libwoopsi/include/woopsifuncs.h" 2 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

A button

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

Right d-pad

Select button

Start button

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: