Woopsi 1.0 GUI Framework for Nintendo DS Homebrew

- Main Page
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

Public Attributes

# STYLUS Struct Reference

`#include <woopsifuncs.h>`

List of all members.

## Public Attributes
u8 | Held:1
u8 | Released:1
u8 | Newpress:1
u8 | unused:5
s16 | X
s16 | Y
s16 | Vx
s16 | Vy
s16 | oldVx
s16 | oldVy
s16 | Downtime
s16 | Uptime
s16 | DblClick

## Detailed Description

Struture holding the status of the stylus.

## Member Data Documentation

s16 STYLUS::DblClick

Indicates a double click

s16 STYLUS::Downtime

Number of vblanks stylus has been held

u8 STYLUS::Held

Stylus is held down

u8 STYLUS::Newpress

Stylus has been newly pressed

s16 STYLUS::oldVx

X co-ord of the stylus at the previous vblank

s16 STYLUS::oldVy

Y co-ord of the stylus at the previous vblank

u8 STYLUS::Released

Inverse of held

u8 STYLUS::unused

Padding bits

s16 STYLUS::Uptime

Number of vblanks stylus has been released

s16 STYLUS::Vx

X distance the stylus has moved in the last vblank

s16 STYLUS::Vy

Y distance the stylus has moved in the last vblank

s16 STYLUS::X

X co-ord of the stylus

s16 STYLUS::Y

Y co-ord of the stylus

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

- woopsifuncs.h