PAlib: PA_Reco.h File Reference

Main Page | Modules | File List | Globals | Search for

# PA_Reco.h File Reference

Touchscreen Shape recognotion system. More...

Go to the source code of this file.

## 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 !