Strokes are motions of the mouse that can be interpreted by a program as a
command.
The basic idea:
Your program forwards mouse position to a pyStroke function called
StrokeRecord(x,y). Then, when your program stops tracking mouse position
(ie on a mouseup event), pyStroke function StrokeTrans() returns a string
of numbers representing the path that the stroke followed on a 3x3 grid.
This grid looks like this:
1 2 3
4 5 6
7 8 9
Download
pyStroke 0.1
Nessun commento:
Posta un commento