Gesture learning and samples
Simple strokes use directional recognition. More complex shapes use named samples. The recognized name and the command assigned to it are configured separately.
Add a sample
Draw a complex gesture in an allowed window. If the action is unrecognized, learning is enabled and gs_learn is available, the trajectory is passed to the companion learning interface.
Follow that tool's controls to add a sample to an existing name or create a new name. Verify repeatability before adding more samples. A correct recognized name with the wrong action calls for a scope or command correction.
Back up the data
| Location | Contents |
|---|---|
| conf/default/data/*.toml | Trajectory samples loaded at startup |
| conf/default/gs.ini | Names and companion-tool metadata |
| conf/default/view | Preview resources |
Keep these together. Runtime learning updates can affect memory while the companion tool remains responsible for writing persistent files.
Rename and tune
Update commands and aliases when renaming a gesture. Back up before deleting samples, then restart and verify the result. Test the trigger button, sampling and sample quality before changing diff or node thresholds. Change one parameter at a time and retain a working value.