A method, system, and article to support a motion based input system. Movement data is acquired from a motion sensor. An orientation detector detects orientation towards gravity from a rest position, and a motion detector detects motion, including movement and rest. In addition, an inference state machine in communication with the orientation and motion detectors maintains a sequence of the detected motion conditions, and produces a profile description for the sequence of the detected motion conditions. An output event corresponding to the profile description is generated based upon the profile.
Spatially aware inference logic