摘要 |
A method and apparatus for efficiently distinguishing between different types of input signals simulated by a pointing device coupled to a multi-tasking computer system. The pointing device may be a stylus, finger or other device that moves across the surface of a touch screen or the like to generate positional information. Depending on the response of a delay timer, the motion of the pointing device is recognized by software application programs as input information either from a mouse or from a gesture or a handwriting input mode. If motion cessation across the screen is detected with a predetermined time-delay period, the system accepts the input information in a mouse-emulating mode. If motion is detected within the predetermined time-delay period, the timer is reset. Thus, the system overhead associated with managing the timer can be reduced because the timer is periodically reset and need not be reset after each movement of the pointing device as in the prior art. The periodic resetting can be based on intervals of n points generated by a moving pointing device, or n real-time units relative to a given point generated by the pointing device.
|