include/nds/arm9/PA_Reco.h File Reference

Touchscreen Shape recognotion system. More...

#include "PA9.h"

Data Structures

struct  PA_StylusPosition
struct  PA_FormType
struct  PA_RecoValues
struct  PA_RecoInfos

Defines

#define PA_RECOTESTS   30

Functions

char PA_CheckLetter (void)
 Analyzes the drawn shape and returns a letter according to it. 0 if nothing. The drawn shape's string is copied into PA_RecoShape on Stylus Release. You can find a copy of the current letters used here : http://www.palib.info/Reco/PAGraffiti.gif.
void PA_RecoAddShape (char letter, char *shape)
 Adds a new shape to the recognition system.
void PA_ResetRecoSys (void)
 Resets the Recognition system.
void PA_UsePAGraffiti (u8 use)
 Set on or off the PA Graffiti letters. You'll want to turn them off if you plan on using your own shapes....

Variables

PA_StylusPosition PA_StylusPos [20000]
PA_FormType PA_Graffiti [PA_RECOTESTS]
PA_RecoValues PA_Reco
PA_RecoInfos PA_RecoInfo
char PA_RecoShape [16]
u8 PA_UseGraffiti
u8 PA_CustomReco
PA_FormType PA_CustomShape [200]


Detailed Description

Touchscreen Shape recognotion system.

This will allow to recognize basic shapes drawn by the user !


Define Documentation

#define PA_RECOTESTS   30


Variable Documentation

PA_FormType PA_Graffiti[PA_RECOTESTS]

char PA_RecoShape[16]


Generated on Sat Jun 13 12:55:13 2009 for PAlib - Programmer's Arsenal by  doxygen 1.5.8