Wizt::VShakeDetector Class Reference
#include <VShakeDetector.hpp>
List of all members.
Detailed Description
Detects "shake" events.
Setup with start() on button down, record movements(), stop() with button release. Parameters Min number of direction changes in x direction (MinSignChanges), time delay after detection restarts (ForgetTime), maximum time between the direction changes that is allowed.
Public Types
-
Nix
-
Shake1
-
Shake2
- enum ShakeType { Nix,
Shake1,
Shake2
}
Public Member Functions
-
ShakeType recordMoves (int dX, int dY=0)
-
void start ()
-
void stop ()
-
VShakeDetector (unsigned int MinSignChanges, unsigned int ForgetTime=200, unsigned int ruleMaxTimeBetweenSignChanges=120)
The documentation for this class was generated from the following files:
- VShakeDetector.hpp
- VShakeDetector.cpp
Generated on Thu Oct 9 22:29:07 2008 for QVISH by
1.4.7