#include <woopsifuncs.h>
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 |
Struture holding the status of the stylus.
s16 STYLUS::DblClick |
Indicates a double click
s16 STYLUS::Downtime |
Number of vblanks stylus has been held
u8 STYLUS::Held |
Stylus is held down
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
Inverse of held
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