touchPosition Struct Reference

holds data related to the touch screen. More...

#include <touch.h>

Data Fields

u16 px
 Processes pixel X value.
u16 py
 Processes pixel Y value.
u16 rawx
 Raw x value from the A2D.
u16 rawy
 Raw x value from the A2D.
u16 z1
 Raw cross panel resistance.
u16 z2
 Raw cross panel resistance.

Detailed Description

holds data related to the touch screen.

Examples:

Graphics/3D/BoxTest/source/main.cpp, Graphics/3D/Env_Mapping/source/main.cpp, Graphics/3D/Picking/source/main.cpp, Graphics/3D/Toon_Shading/source/main.cpp, Graphics/Printing/console_windows/source/main.c, Graphics/Printing/print_both_screens/source/template.c, Graphics/Sprites/simple/source/template.c, Graphics/Sprites/sprite_extended_palettes/source/template.c, hello_world/source/main.cpp, input/Touch_Pad/touch_area/source/template.c, input/Touch_Pad/touch_look/source/main.cpp, and input/Touch_Pad/touch_test/source/main.c.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines
Generated on Sat Oct 2 12:55:14 2010 for libnds by  doxygen 1.6.3