Angband
Macros | Functions | Variables
arm7_main.c File Reference
#include <nds.h>
#include <nds/bios.h>
#include <nds/arm7/touch.h>
#include <nds/arm7/clock.h>

Macros

#define abs(n)   (n<0?-n:n)
 
#define REPEATS   9
 

Functions

s32 myReadTouchValue (int measure, int retry, int range)
 
void VblankHandler (void)
 
int main (int argc, char **argv)
 

Variables

s32 xscale
 
s32 yscale
 
s32 xoffset
 
s32 yoffset
 

Macro Definition Documentation

◆ abs

#define abs (   n)    (n<0?-n:n)

◆ REPEATS

#define REPEATS   9

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ myReadTouchValue()

s32 myReadTouchValue ( int  measure,
int  retry,
int  range 
)

References abs, and i.

◆ VblankHandler()

void VblankHandler ( void  )

References i, xoffset, xscale, yoffset, yscale, z1, and z2.

Referenced by main().

Variable Documentation

◆ xoffset

s32 xoffset

Referenced by main(), and VblankHandler().

◆ xscale

s32 xscale

Referenced by main(), and VblankHandler().

◆ yoffset

s32 yoffset

Referenced by main(), and VblankHandler().

◆ yscale

s32 yscale

Referenced by main(), and VblankHandler().